int-api - Build # 2983 - Failure:
Check console output at https://ci.openbravo.com/job/int-api/2983/ to view the
results.
Committers since last success:
Changes for Build #2983
Carlos Aristu <[email protected]> null
fixes issue 35164: AuthenticationManager.username thread unsafe
Two threads accessing to the same servlet could change the value of the user
name variable, which could lead to store wrong information into the AD_Session
table. This problem has been fixed by using a ThreadLocal variable to ensure
that each thread has each own value for the user name.
Besides some methods have been refactored in order to centralize and improve
code readability. We are now setting the user name just in one place in the
AuthenticationManager.
Finally the DefaultAuthenticationManager has been updated accordingly in
order to set the user name using the inherited ThreadLocal variable.
src/org/openbravo/authentication/AuthenticationManager.java
src/org/openbravo/authentication/basic/DefaultAuthenticationManager.java
Last 20 lines of the console output:
[...truncated 493 lines...]
org.openbravo.authentication:
Bad
field org.openbravo.authentication.AuthenticationManager.loginName: instance in
SANDBOX/api-checks/java/reference/java, but static in
/srv/ci/workspace/int-full-pgsql/SANDBOX/api-checks/output/java
+ failure=1
+ exit 1
Build step 'Execute shell' marked build as failure
Performing Post build task...
Match found for : : True
Logical operation result is TRUE
Running script : cp
/srv/ci/workspace/int-full-pgsql/SANDBOX/api-checks/output/java.japi.gz .
[int-api] $ /bin/bash -xe /tmp/hudson5418777663754370301.sh
+ cp /srv/ci/workspace/int-full-pgsql/SANDBOX/api-checks/output/java.japi.gz .
POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 0
Archiving artifacts
Checking console output
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
------------------------------------------------------------------------------
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