int-basic-pgsql - Build # 2121 - Fixed:

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


Committers since last success:

Changes for Build #2120

    Carlos Aristu <[email protected]> null
    related to issue 37055: initial code clean up
  - Use diamond operator
  - In ImportEntryProcessRunnable class declaration, reorder the modifiers to 
comply with the Java Language Specification
  - Use && instead of &
        src/org/openbravo/service/importprocess/ImportEntryProcessor.java

Changes for Build #2121

    Carlos Aristu <[email protected]> null
    fixes bug 37055: RO pool not closed when used in thread out of 
DalThreadHandler

 Regular threads used in HTTP requests are encanpsulated inside 
DalThreadHandler which eventually takes care of closing the opened database 
sessions before the thread ends. But threads not encapsulated inside 
DalThreadHandler are not taking into account the scenario of having multiple 
sessions (pools) opened. They are just closing the default pool. Thus, this 
issue affects:
  a) ImportEntryProcessRunnable, which delegates into its subclasses the 
ability of handling the transaction commit/rollback. But just in case the 
subclasses does not handle it, the ImportEntryProcessRunnable should take care 
of closing all the opened sessions before ending (if any). This way its 
behavior will be the same as those threads running inside DalThreadHandler.
  b) DalBaseProcess, this class was neither taking into account the possibility 
of opening multiple pools during its execution. Now, all the opened database 
sessions are closed if the process has been marked to close the default 
database connection before ending.
        src/org/openbravo/dal/core/SessionHandler.java
        src/org/openbravo/service/db/DalBaseProcess.java
        src/org/openbravo/service/importprocess/ImportEntryProcessor.java




Last 20 lines of the console output:

[...truncated 1861 lines...]
  [ "$(jps | grep Bootstrap || true)" = "" ] && break
  sleep 5
done
[ "$(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-basic-pgsql] $ /bin/bash -xe /tmp/hudson6484416854444668116.sh
++ jps
++ grep Bootstrap
++ true
+ '[' '' '!=' '' ']'
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 0
Email was triggered for: Fixed
Trigger Success was overridden by another trigger and will not send an email.
Sending email for trigger: Fixed
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openbravo-builds mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds

Reply via email to