Author: jacopoc
Date: Tue Jun 19 17:14:14 2012
New Revision: 1351778
URL:
http://svn.apache.org/viewvc?rev=1351778&view=revLog:
Setting a default value of DeltaManager was causing a side effect: the method setWebContextObjects was always invoked with the persistSerialized argument set to false; this was causing a series of issues (including one reported recently happening when two users login/logout to the same application from the same browser and visit another application).
The commit when this bug was introduced is:
Author: jleroux
Date: Mon Jun 6 20:26:35 2011
New Revision: 1132749
and unfortunately the revision was backported to the release branches; the commit may have introduced other issues but I can't review it now.
Modified:
ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/LoginWorker.java
Modified: ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/LoginWorker.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/LoginWorker.java?rev=1351778&r1=1351777&r2=1351778&view=diff==============================================================================
--- ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/LoginWorker.java (original)
+++ ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/LoginWorker.java Tue Jun 19 17:14:14 2012
@@ -659,7 +659,7 @@ public class LoginWorker {
String mgrClassName = null;
try {
cc = ContainerConfig.getContainer("catalina-container", configFile);
- mgrClassName = ContainerConfig.getPropertyValue(cc, "manager-class", "org.apache.catalina.ha.session.DeltaManager");
+ mgrClassName = ContainerConfig.getPropertyValue(cc, "manager-class", "");
} catch (ContainerException e) {
Debug.logError(e, "No catalina-container configuration found in container config!");
}