int-checks-pgsql - Build # 1697 - Still Unstable:

Check console output at https://ci.openbravo.com/job/int-checks-pgsql/1697/ to 
view the results.


Committers since last success:

Changes for Build #1696

    Gorka Ion Damián <[email protected]> null
    Merge heads for Extended Navigation Model project.
      
    Gorka Ion Damián <[email protected]> null
    [navmodel]Fix merge issue.
        src-db/database/model/tables/AD_FIELD.xml
        src-db/database/sourcedata/AD_FIELD.xml

    Gorka Ion Damián <[email protected]> null
    Fixed issue 15379. Merge extend navigation model project.

Added ability to define navigation rules to tables. Hardcoded navigations to
some core tables are removed and reimplemented with navigation rules. Forced
link preference continue working as 1st priority to define the windowd that
needs to be opened.

More information of the project in the wiki:
http://wiki.openbravo.com/wiki/Projects:Extend_Navigation_Model
      
    Asier Lostalé <[email protected]> null
    [navmodel] javadoc
        
src-test/src/org/openbravo/test/datasource/ExtendedNavigationModelTest.java

    Asier Lostalé <[email protected]> null
    [navmodel] Simple Tab Selector filters the tabs matching current table
        src/org/openbravo/erpCommon/info/SimpleTabSelectorFilterExpression.java
        src-db/database/sourcedata/OBUISEL_SELECTOR.xml

    Ander Iraceburu [email protected]_ null
    [navmodel] Platform code review v3
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml
        
src-test/src/org/openbravo/test/datasource/ExtendedNavigationModelTest.java
        src/org/openbravo/erpCommon/utility/ReferencedLink.java

    Ander Iraceburu [email protected]_ null
    [navmodel] Duplicated id in views bugfix
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-field.js.ftl

    Ander Iraceburu [email protected]_ null
    [navmodel] Platform code review v2 3 after export.database
      
    Ander Iraceburu [email protected]_ null
    [navmodel] Changed field visibility in tables and columns window
        src-db/database/sourcedata/AD_FIELD.xml

    Ander Iraceburu [email protected]_ null
    [navmodel] Platform code review v2 3
      
    Ander Iraceburu [email protected]_ null
    [navmodel] Platform code review v2 2
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_ELEMENT.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src/org/openbravo/erpCommon/utility/ReferencedLink.java

    Ander Iraceburu [email protected]_ null
    [navmodel] Platform code review v2 after export database
      
    Ander Iraceburu [email protected]_ null
    [navmodel] Platform code review v2
        src-db/database/model/tables/AD_TABLE_NAVIGATION.xml
        src-db/database/sourcedata/AD_AUXILIARINPUT.xml
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_ELEMENT.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/AD_MESSAGE.xml
        src-db/database/sourcedata/AD_TAB.xml
        src-db/database/sourcedata/AD_TABLE.xml
        src-db/database/sourcedata/AD_TABLE_NAVIGATION.xml
        src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml
        src/org/openbravo/erpCommon/utility/ReferencedLink.java

    Ander Iraceburu [email protected]_ null
    Changed JUnit Test acording to the code review v2
        
src-test/src/org/openbravo/test/datasource/ExtendedNavigationModelTest.java

    Ander Iraceburu [email protected]_ null
    [navmodel] Merge code review export.database sort
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/AD_TAB.xml
        src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml

    Gorka Ion Damián <[email protected]> null
    [navmodel]Fix wrongly resolved file in merge conflict.
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFieldHandler.java

    Gorka Ion Damián <[email protected]> null
    Merge code review.
      
    Ander Iraceburu [email protected]_ null
    [navmodel] Field level rules
        src/org/openbravo/event/ADTableNavigationEventHandler.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-field.js.ftl
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFieldHandler.java
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-linktitle.js
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-utilities.js
        src-db/database/model/tables/AD_FIELD.xml
        src-db/database/model/tables/AD_TABLE_NAVIGATION.xml
        src-db/database/sourcedata/AD_AUXILIARINPUT.xml
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_ELEMENT.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/AD_REFERENCE.xml
        src-db/database/sourcedata/AD_TAB.xml
        src-db/database/sourcedata/AD_TABLE.xml
        src-db/database/sourcedata/AD_TABLE_NAVIGATION.xml
        src-db/database/sourcedata/OBUISEL_SELECTOR.xml
        src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml
        src/org/openbravo/erpCommon/utility/ReferencedLink.java

    Ander Iraceburu [email protected]_ null
    Development branch platform code review 2
        src/org/openbravo/erpCommon/utility/ReferencedLink.java

    Ander Iraceburu [email protected]_ null
    [navmodel] Merge branch platform code review 2
        src-db/database/model/tables/AD_TABLE_NAVIGATION.xml
        src-db/database/sourcedata/AD_REFERENCE.xml
        src-db/database/sourcedata/OBUISEL_SELECTOR.xml
        src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml

    Ander Iraceburu [email protected]_ null
    [navmodel] Development branch platform code review 2
        src/org/openbravo/erpCommon/utility/ReferencedLink.java

    Ander Iraceburu [email protected]_ null
    [navmodel] Merge branch platform code review
        
src-test/src/org/openbravo/test/datasource/ExtendedNavigationModelTest.java

    Ander Iraceburu [email protected]_ null
    Development branch platform code review merge
      
    Ander Iraceburu [email protected]_ null
    Development branch platform code review
        src/org/openbravo/erpCommon/utility/ReferencedLink.java

    Ander Iraceburu [email protected]_ null
    [navmodel] New Elements Description/Help
        src-db/database/sourcedata/AD_ELEMENT.xml
        src-db/database/sourcedata/AD_FIELD.xml

    Ander Iraceburu [email protected]_ null
    [navmodel] Extended Navigation Model JUnit test
        
src-test/src/org/openbravo/test/datasource/ExtendedNavigationModelTest.java
        src-test/src/org/openbravo/test/AllWebserviceTests.java

    Ander Iraceburu [email protected]_ null
    [navmodel] New Elements Description/Help
        src-db/database/sourcedata/AD_ELEMENT.xml
        src-db/database/sourcedata/AD_FIELD.xml

    Ander Iraceburu [email protected]_ null
    [navmodel] Export sample.data sort
        referencedata/sampledata/QA_Testing/C_ORDERLINE.xml
        referencedata/sampledata/QA_Testing/FIN_PAYMENT_SCHEDULEDETAIL.xml

    Ander Iraceburu [email protected]_ null
    [navmodel] Export database sort
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/AD_TAB.xml
        src-db/database/sourcedata/OBUISEL_SELECTOR.xml

    Ander Iraceburu [email protected]_ null
    [navmodel] Extended Navigation pi Merge
      
    Ander Iraceburu [email protected]_ null
    [navmodel] Code Review 3
        src/org/openbravo/erpCommon/utility/ReferencedLink.java

    Ander Iraceburu [email protected]_ null
    [navmodel] Code Review 2
        src/org/openbravo/erpCommon/utility/ReferencedLink.java

    Ander Iraceburu [email protected]_ null
    [navmodel] Code Review
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-field.js.ftl
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFieldHandler.java
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-linktitle.js
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-utilities.js
        src-db/database/model/tables/AD_TABLE_NAVIGATION.xml
        src-db/database/model/triggers/AD_TABLE_NAVIGATION_MOD_TRG.xml
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/AD_PREFERENCE.xml
        src-db/database/sourcedata/AD_REFERENCE.xml
        src-db/database/sourcedata/AD_TABLE_NAVIGATION.xml
        src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml
        src/org/openbravo/erpCommon/utility/ReferencedLink.java

    Ander Iraceburu [email protected]_ null
    [navmodel] Added a Return from customer row to QATesting Sampledata
        referencedata/sampledata/QA_Testing/AD_SEQUENCE.xml
        referencedata/sampledata/QA_Testing/C_INVOICE.xml
        referencedata/sampledata/QA_Testing/C_INVOICELINE.xml
        referencedata/sampledata/QA_Testing/C_INVOICELINETAX.xml
        referencedata/sampledata/QA_Testing/C_INVOICETAX.xml
        referencedata/sampledata/QA_Testing/C_ORDER.xml
        referencedata/sampledata/QA_Testing/C_ORDERLINE.xml
        referencedata/sampledata/QA_Testing/C_ORDERLINETAX.xml
        referencedata/sampledata/QA_Testing/C_ORDERTAX.xml
        referencedata/sampledata/QA_Testing/FACT_ACCT.xml
        referencedata/sampledata/QA_Testing/FIN_PAYMENT_SCHEDULE.xml
        referencedata/sampledata/QA_Testing/FIN_PAYMENT_SCHEDULEDETAIL.xml
        referencedata/sampledata/QA_Testing/M_INOUT.xml
        referencedata/sampledata/QA_Testing/M_INOUTLINE.xml
        referencedata/sampledata/QA_Testing/M_STORAGE_DETAIL.xml
        referencedata/sampledata/QA_Testing/M_STORAGE_PENDING.xml
        referencedata/sampledata/QA_Testing/M_TRANSACTION.xml

    Ander Iraceburu [email protected]_ null
    [navmodel] Added Navigation Rules for some core entities
        src-db/database/sourcedata/AD_TABLE_NAVIGATION.xml
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-utilities.js
        src/org/openbravo/erpCommon/utility/ReferencedLink.java

    Ander Iraceburu [email protected]_ null
    [navmodel] Field Navigation, Selectors, Modification Trigger & Table added 
to AD Dataset
The navigation configured from each field has been implemented. It overrides 
other kids of navigation.
Now the tabs dropdowns are selectors with the window name and the tab name.
A trigger to control the modification of the new table has been included.
The new table has been added to the application dictionary in order to be 
exported with each export.database.
        src-db/database/model/triggers/AD_TABLE_NAVIGATION_MOD_TRG.xml
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-view-field.js.ftl
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewFieldHandler.java
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-linktitle.js
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/utilities/ob-utilities.js
        src-db/database/model/tables/AD_FIELD.xml
        src-db/database/model/tables/AD_TABLE_NAVIGATION.xml
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_DATASET_TABLE.xml
        src-db/database/sourcedata/AD_ELEMENT.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/AD_REFERENCE.xml
        src-db/database/sourcedata/AD_TAB.xml
        src-db/database/sourcedata/OBUISEL_SELECTOR.xml
        src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml
        src/org/openbravo/erpCommon/utility/ReferencedLink.java

    Ander Iraceburu [email protected]_ null
    [navmodel] Code clean
        src/org/openbravo/erpCommon/utility/ReferencedLink.java

    Ander Iraceburu [email protected]_ null
    [navmodel] Where clause modification
        src/org/openbravo/erpCommon/utility/ReferencedLink.java

    Ander Iraceburu [email protected]_ null
    [navmodel] ReferencedLink Modification Part 2
        src/org/openbravo/erpCommon/utility/ReferencedLink.java

    Ander Iraceburu [email protected]_ null
    [navmodel] ReferencedLink Modification Part 1
        src-db/database/model/tables/AD_TABLE_NAVIGATION.xml
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src/org/openbravo/erpCommon/utility/ReferencedLink.java

    Ander Iraceburu [email protected]_ null
    [navmodel] Navigation Rules Window Creation
        src-db/database/model/tables/AD_TABLE_NAVIGATION.xml
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_ELEMENT.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/AD_TAB.xml
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/erpCommon/utility/ReferencedLink.java

    Carlos Aristu <[email protected]> null
    Related to issue 30204: new fix for test case

The test case was not working properly when there were not modules in in 
development status
        
src-test/src/org/openbravo/test/datasource/TestAllowUnpagedDatasourcePreference.java
        
modules/org.openbravo.service.json/src-db/database/sourcedata/AD_PREFERENCE.xml

    Alvaro Ferraz <[email protected]> null
    Fixes issue 30287: No "Fix Backdated Transactions" in Standard Costing Rule

"Backdated Transactions Fixed" flag and "Fix Backdated Transactions" button 
should not be shown in Costing Rules with Standard Costing Algorithm
        src-db/database/sourcedata/AD_FIELD.xml

    Alvaro Ferraz <[email protected]> null
    Related to issue 29729: Change the check in CostingServer

The check of Standard Algorithm in CostingServer should be done after check if 
landed cost need to be processed
        src/org/openbravo/costing/CostingServer.java

    Alvaro Ferraz <[email protected]> null
    Fixes issue 25930: Not allow to change stocked flag in Product window

Do not allow to update the product from No stocked to Stocked if it appears in 
completed documents which generate inventory transactions (Goods Receipt, Goods 
Shipment, Goods Movement, Physical Inventory or Bill of Materials Production).
        src-db/database/model/triggers/M_PRODUCT_TRG.xml
        src-db/database/sourcedata/AD_MESSAGE.xml

    Carlos Aristu <[email protected]> null
    Related to issue 30204: fix for test case

The problem was that default client and organization are null by default, now a 
check is done to avoid this problem.
        
src-test/src/org/openbravo/test/datasource/TestAllowUnpagedDatasourcePreference.java

    Atul Gaware <[email protected]> null
    Fixes Issue 30471: Return from Customer Pick&Edit Lines allows to enter more
quantity to return than the pending to be returned

Return document has negative movementqty so ReturnQtyOtherRM was negative.
It should be postive so unlike ReturnQty it is multiplied with -1 as in prev
Datasource prior to transforming it to HQL PE. Where clause which checks
MovementQty of shipment line with the ReturnQtyOtherRM was missing. Sum of
Shipmentline MovementQty and ReturnQtyOtherRM should not be zero. It is added
to fix the problem.
        src-db/database/sourcedata/AD_TABLE.xml

    Carlos Aristu <[email protected]> null
    Related to issue 30204: fix for test case
        
src-test/src/org/openbravo/test/datasource/TestAllowUnpagedDatasourcePreference.java

    Carlos Aristu <[email protected]> null
    Related to issue 30204: code review improvements
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/event/PreferenceEventHandler.java
        
modules/org.openbravo.service.json/src/org/openbravo/service/json/UnpagedRequestCachedPreference.java
        
src-test/src/org/openbravo/test/datasource/TestAllowUnpagedDatasourcePreference.java

Changes for Build #1697

    Inigo Sanchez <[email protected]> null
    Fixed issue 29564: Merge Apache JDBC Connection Pool
      
    Inigo Sanchez <[email protected]> null
    [pool]Update buildvalidation to take into account last module version
        
src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.class
        
src-util/buildvalidation/src/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.java

    Inigo Sanchez <[email protected]> null
    [pool] Taking into account all properties of the pool
        
modules/org.openbravo.apachejdbcconnectionpool/src/org/openbravo/apachejdbcconnectionpool/JdbcExternalConnectionPool.java

    Inigo Sanchez <[email protected]> null
    [pool] Added some javadoc and comments
        
modules/org.openbravo.apachejdbcconnectionpool/src/org/openbravo/apachejdbcconnectionpool/ConnectionInitializerInterceptor.java
        
modules/org.openbravo.apachejdbcconnectionpool/src/org/openbravo/apachejdbcconnectionpool/JdbcExternalConnectionPool.java
        src/org/openbravo/dal/core/SessionHandler.java

    Inigo Sanchez <[email protected]> null
    [pool] Update to last version dbsourcemanager
        src-db/database/lib/dbsourcemanager.jar

    Asier Lostalé <[email protected]> null
    [pool] when trying to create a session on shutdown fail in advance

  When trying to create a session while shutting down web app (in some cases
  while trying to remove the leaks) fail in advance with a NPE, in the same
  way it does with dbcp commons pool.
        src/org/openbravo/dal/core/SessionHandler.java

    Inigo Sanchez <[email protected]> null
    [pool] Merge with pi
      
    Inigo Sanchez <[email protected]> null
    [pool] Update several copyrights
        src-core/src/org/openbravo/base/ConnectionProviderContextListener.java
        src-core/src/org/openbravo/database/ExternalConnectionPool.java
        src/org/openbravo/base/model/ModelProvider.java
        src/org/openbravo/erpCommon/modules/ImportModule.java

    Inigo Sanchez <[email protected]> null
    [pool] updated new libraries in licensing file
        legal/Licensing.txt

    Inigo Sanchez <[email protected]> null
    [pool] Delete blank spaces while getting int properties
        
modules/org.openbravo.apachejdbcconnectionpool/src/org/openbravo/apachejdbcconnectionpool/JdbcExternalConnectionPool.java

    Inigo Sanchez <[email protected]> null
    [pool] Updated and deleted unnecessary default properties settings
        
modules/org.openbravo.apachejdbcconnectionpool/src/org/openbravo/apachejdbcconnectionpool/JdbcExternalConnectionPool.java

    Inigo Sanchez <[email protected]> null
    [pool] Removed an interceptor test
        
modules/org.openbravo.apachejdbcconnectionpool/src/org/openbravo/apachejdbcconnectionpool/TestInterceptor.java

    Inigo Sanchez <[email protected]> null
    [pool] Update default values of the pool properties
        config/Openbravo.properties.template

    Inigo Sanchez <[email protected]> null
    [pool] Added a condition for check externalPoolClassName properly
        src-core/src/org/openbravo/database/ConnectionProviderImpl.java

    Inigo Sanchez <[email protected]> null
    [pool] Merge with pi
      
    Inigo Sanchez <[email protected]> null
    [pool] Update .classpath.template
        .classpath.template

    Inigo Sanchez <[email protected]> null
    [pool] Merge with pi
      
    Inigo Sanchez <[email protected]> null
    [pool] Improved references to close the pool and open it
        src-core/src/org/openbravo/database/ConnectionProviderImpl.java
        src/org/openbravo/base/model/ModelProvider.java

    Inigo Sanchez <[email protected]> null
    [pool] Fixes problems when re-start tomcat with new external connection pool

The problem was found when a configuration change tomcat to make some tests. In 
config/server.xml
disabled the following line: <Listener 
className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />.
The problem that appeared was that somehow the pool was not being closed 
properly. This caused problems when
shutting down and restarting tomcat because "openbravo" has tried to get 
connections of the not properly closed pool.

It has been implemented and has been forced to make a close of the pool when 
the shutdown process of tomcat
starts. When tomcat shuts down, the pool has been closed properly even all 
active connections. Now, It has
fixed the problem.
        
modules/org.openbravo.apachejdbcconnectionpool/src/org/openbravo/apachejdbcconnectionpool/JdbcExternalConnectionPool.java
        src-core/src/org/openbravo/database/ConnectionProviderImpl.java
        src-core/src/org/openbravo/database/ExternalConnectionPool.java

    Inigo Sanchez <[email protected]> null
    [pool] Tried to use an existing external pool instead of create another one
        src-core/src/org/openbravo/base/ConnectionProviderContextListener.java
        src/org/openbravo/base/model/ModelProvider.java

    Inigo Sanchez <[email protected]> null
    [pool] Avoid to create jdbc pool when an external pool exists
        src-core/src/org/openbravo/database/ConnectionProviderImpl.java

    Inigo Sanchez <[email protected]> null
    [pool] Refactor and adds getNewConnection method
        src-core/src/org/openbravo/database/ConnectionProviderImpl.java

    Inigo Sanchez <[email protected]> null
    [pool] setAutoCommit to false in createSession()
        src/org/openbravo/dal/core/SessionHandler.java

    Inigo Sanchez <[email protected]> null
    [pool] Refactor: removed a a function that is not used
        src-core/src/org/openbravo/database/ConnectionProviderImpl.java

    Inigo Sanchez <[email protected]> null
    [pool] Update auto commit value to true
        
modules/org.openbravo.apachejdbcconnectionpool/src/org/openbravo/apachejdbcconnectionpool/JdbcExternalConnectionPool.java

    Inigo Sanchez <[email protected]> null
    [pool] Merge with pi
      
    Inigo Sanchez <[email protected]> null
    [pool] Updated buildvalidation for new prefix of pool property name
        
src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.class
        
src-util/buildvalidation/src/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.java

    Inigo Sanchez <[email protected]> null
    [pool] New pool name properties are read
        
modules/org.openbravo.apachejdbcconnectionpool/src/org/openbravo/apachejdbcconnectionpool/JdbcExternalConnectionPool.java

    Inigo Sanchez <[email protected]> null
    [pool] Update prefix name property in some files
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelInitializer.java
        src-core/src/org/openbravo/database/ConnectionProviderImpl.java
        src/org/openbravo/dal/core/SessionHandler.java

    Inigo Sanchez <[email protected]> null
    [pool] update prefix name property in template
        config/Openbravo.properties.template

    Inigo Sanchez <[email protected]> null
    [pool] Update buildvalidation to take into account new prefix of properties
        
src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.class
        
src-util/buildvalidation/src/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.java

    Inigo Sanchez <[email protected]> null
    [pool] Update name of prefix properties for the new pool
        config/Openbravo.properties.template
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelInitializer.java
        src-core/src/org/openbravo/database/ConnectionProviderImpl.java
        src/org/openbravo/dal/core/SessionHandler.java

    Inigo Sanchez <[email protected]> null
    [pool] Backed out dummy changeset 07ba2af69c58
        README

    Inigo Sanchez <[email protected]> null
    [pool] nerge with pi
      
    Inigo Sanchez <[email protected]> null
    [pool] dummy
        README

    Asier Lostalé <[email protected]> null
    [pool] updated tomcat jdbc to 7.0.62
        
modules/org.openbravo.apachejdbcconnectionpool/lib/runtime/tomcat-jdbc.jar

    Inigo Sanchez <[email protected]> null
    [pool] Merge with pi
      
    Inigo Sanchez <[email protected]> null
    [pool] Added extra condition to check poolClassName properlyche
        
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/KernelInitializer.java
        src-core/src/org/openbravo/database/ConnectionProviderImpl.java

    Asier Lostalé <[email protected]> null
    [pool] pi merge
      
    Inigo Sanchez <[email protected]> null
    [pool] code review of build validation

* The method's visibility have been modified from public to private because the 
methods
were only used in the current build validation.
* Applied OB code format.
* Added log when changing any file: merged or removed

* Added a method that checks the version of the module
* Refactor code to avoid execute code if conditions are not satisfied.
        
src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.class
        
src-util/buildvalidation/src/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.java

    Asier Lostalé <[email protected]> null
    [pool] added dependency from v3 to pool module
        
modules/org.openbravo.v3/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml

    Asier Lostalé <[email protected]> null
    [pool] changed defaults for pool configuration

  -pool starts with 10 connections
  -it can request up to 100 conns
  -min pool size (idle connections) is 10
  -when trying to get a new connection wait up to 30s in case all are already 
in use
  -do not try to remove abandonned connections as this can cause processes 
running
   for a long time to be aborted
        config/Openbravo.properties.template

    Inigo Sanchez <[email protected]> null
    [pool] Fixed format style in "addNewProperty" method
        
src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.class
        
src-util/buildvalidation/src/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.java

    Inigo Sanchez <[email protected]> null
    [pool] update tomcat libraries in Licensing.txt
        legal/Licensing.txt

    Inigo Sanchez <[email protected]> null
    [pool] Added extra condition to get poolClassName properly

Added an extra condition for taking into account "db.externalPoolClassName"
property without value
        src/org/openbravo/dal/core/SessionHandler.java

    Inigo Sanchez <[email protected]> null
    [pool] postgresql jdbc reference update to 9.4-1201
        build.xml

    Inigo Sanchez <[email protected]> null
    [pool] fixed pool class name property in build validation.
        
src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.class
        
src-util/buildvalidation/src/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.java

    Asier Lostalé <[email protected]> null
    [pool] fixed pool class name property name in Openbravo.properties.template
        config/Openbravo.properties.template

    Asier Lostalé <[email protected]> null
    [pool] Throw exception when connection cannot be acquired

  Before it was logged but silently returned null, this situation can happen ie.
  when the pool is exhausted.
        
modules/org.openbravo.apachejdbcconnectionpool/src/org/openbravo/apachejdbcconnectionpool/JdbcExternalConnectionPool.java

    Inigo Sanchez <[email protected]> null
    [pool] Updates Licensing.txt
        legal/Licensing.txt

    Inigo Sanchez <[email protected]> null
    [pool] Added build validation to update

This build validation prevents a bad behaviour updating to PR15Q3 by taking into
account the following scenarios:
* Upgrade from (3.0PR15Q1) to current pi (3.0PR15Q3) using defaults connection 
pools.
* Upgrade from (3.0PR15Q1) using Apache JDBC Connection Pool module (or another
external connection pool) to current pi (3.0PR15Q3).
        
src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.class
        
src-util/buildvalidation/build/classes/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMergeData.class
        
src-util/buildvalidation/src/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge.java
        
src-util/buildvalidation/src/org/openbravo/buildvalidation/CheckUpdateConnectionPoolMerge_data.xsql

    Asier Lostalé <[email protected]> null
    [pool] fixed error message when there is a query timeout in PG

  PG does not throw *TimeoutException, it throws PSQLException with query 
canceled
  SQL state.
        
modules/org.openbravo.service.json/src/org/openbravo/service/json/JsonUtils.java

    Inigo Sanchez <[email protected]> null
    [pool] Backed out changeset eb3b26f50e5f
        src/org/openbravo/configuration/ConfigurationApp.java

    Inigo Sanchez <[email protected]> null
    [pool] Backed out changeset 1c356a28e3be
        src/org/openbravo/erpCommon/modules/ImportModule.java
        src/org/openbravo/erpCommon/utility/Utility.java

    Inigo Sanchez <[email protected]> null
    [pool]Backed out changeset eab376cb9d05
        src/org/openbravo/erpCommon/utility/Utility.java

    Inigo Sanchez <[email protected]> null
    [pool] updated to Openbravo public license
        
modules/org.openbravo.apachejdbcconnectionpool/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.apachejdbcconnectionpool/src/org/openbravo/apachejdbcconnectionpool/ConnectionInitializerInterceptor.java
        
modules/org.openbravo.apachejdbcconnectionpool/src/org/openbravo/apachejdbcconnectionpool/JdbcExternalConnectionPool.java

    Inigo Sanchez <[email protected]> null
    [pool] not consider "externalPoolClassName" property in merge of 
OBproperties

Not consider "externalPoolClassName" property to avoid include in old instances
that not uses a external pool
        src/org/openbravo/erpCommon/utility/Utility.java

    Inigo Sanchez <[email protected]> null
    [pool] get properties of the "Apache JDBC module" if exists in the instance.

Try to get properties of the "Apache JDBC module" in 
connectionPool.propertiesChange file.
This search is executed after merge of openbravo properties in any update of 
core.
        src/org/openbravo/erpCommon/modules/ImportModule.java
        src/org/openbravo/erpCommon/utility/Utility.java

    Inigo Sanchez <[email protected]> null
    [pool] refactor of "search and replace" methods to public visibility.

Change visibility of methods to be able to use out of ConfigurationApp class.
        src/org/openbravo/configuration/ConfigurationApp.java

    Inigo Sanchez <[email protected]> null
    Related to issue 14631: merge of Openbravo.properties in a legible way

The problem was when an update of core include a new property in
Openbravo.properties.template.  "mergeOpenbravoProperties()" method
merges Openbravo.properties with Openbravo.properties.template.

As a result of this merge, Openbravo.properties was working properly but in
a not very legible way.

It has been fixed this problem adding a new method that added new properties
in a legible way.
        src/org/openbravo/erpCommon/utility/Utility.java

    Asier Lostalé <[email protected]> null
    [pg-jdbc] fixed check local DB modifications in AD

  Model was partially read (not including columns added by external modules) 
this
  caused errors when trying to set DynaBeans for them because of a change in the
  new jdbc: before ResultSetMetaData.getTableName returned always "" whereas now
  it is correctly implemented.
        src/org/openbravo/erpCommon/ad_forms/ModuleManagement.java

    Asier Lostalé <[email protected]> null
    fixed bug 28849: export.database fails with new postgresql jdbc versions

  NPE was trhown when trying to do a preparedStatemet.getString(pos) because
  toString is not implemented for binary types.
        src-db/database/lib/dbsourcemanager.jar

    Asier Lostalé <[email protected]> null
    [pg-jdbc] removed unneeded references in eclipse projects to jdbc libraries
        src-trl/.classpath
        src-wad/.classpath

    Asier Lostalé <[email protected]> null
    [pg-jdbc] postgresql jdbc update: 9.0-801 -> 9.4-1201
        lib/runtime/postgresql-9.4-1201.jdbc4.jar
        lib/runtime/postgresql-9.0-801.jdbc4.jar

    Asier Lostalé <[email protected]> null
    [pool] added missing libraries
        
modules/org.openbravo.apachejdbcconnectionpool/lib/runtime/tomcat-jdbc.jar
        
modules/org.openbravo.apachejdbcconnectionpool/lib/runtime/tomcat-juli.jar

    Inigo Sanchez <[email protected]> null
    [pool] added module entry to eclipse .classpath.template
        .classpath.template

    Inigo Sanchez <[email protected]> null
    [pool] moved pool default settings to Openbravo.properties

Apache jdbc connection pool is now used by default
        config/Openbravo.properties.template
        
modules/org.openbravo.apachejdbcconnectionpool/config/connectionPool.properties.template

    Asier Lostalé <[email protected]> null
    [pool] pool properties are read from standard Openbravo.properties
        
modules/org.openbravo.apachejdbcconnectionpool/src/org/openbravo/apachejdbcconnectionpool/JdbcExternalConnectionPool.java

    Asier Lostalé <[email protected]> null
    [pool] added org.openbravo.apachejdbcconnectionpool to the distribution
        
modules/org.openbravo.apachejdbcconnectionpool/config/connectionPool.properties.template
        
modules/org.openbravo.apachejdbcconnectionpool/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.apachejdbcconnectionpool/src-db/database/sourcedata/AD_MODULE_DBPREFIX.xml
        
modules/org.openbravo.apachejdbcconnectionpool/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.apachejdbcconnectionpool/src/org/openbravo/apachejdbcconnectionpool/ConnectionInitializerInterceptor.java
        
modules/org.openbravo.apachejdbcconnectionpool/src/org/openbravo/apachejdbcconnectionpool/JdbcExternalConnectionPool.java
        
modules/org.openbravo.apachejdbcconnectionpool/src/org/openbravo/apachejdbcconnectionpool/TestInterceptor.java




Last 20 lines of the console output:

[...truncated 14425 lines...]
[ "$(jps | grep Bootstrap || true)" != "" ] && echo "Tomcat has fail to stop" 
&& exit 1 || true
[ "$i" != "0" ] && secs=$(echo "$i * 5" | bc) && echo "Waiting for $secs secs 
for tomcat to stop"

echo
fi

[int-checks-pgsql] $ /bin/bash -xe /tmp/hudson8532115976643356339.sh
++ jps
++ grep Bootstrap
++ true
+ '[' '' '!=' '' ']'
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 1
Archiving artifacts
Checking ERROR|syntax error at or near|SQL error in query
Recording test results
Build step 'Publish JUnit test result report' changed build result to UNSTABLE
Email was triggered for: Unstable (Test Failures)
Sending email for trigger: Unstable (Test Failures)
------------------------------------------------------------------------------
_______________________________________________
Openbravo-builds mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds

Reply via email to