tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r949807 - in /tomcat/trunk/java/org/apache/catalina: ha/session/BackupManager.java ha/session/DeltaManager.java session/PersistentManagerBase.java
Date Mon, 31 May 2010 16:57:45 GMT
Author: markt
Date: Mon May 31 16:57:45 2010
New Revision: 949807

URL: http://svn.apache.org/viewvc?rev=949807&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49360
Managers will be restarted on Context reload

Modified:
    tomcat/trunk/java/org/apache/catalina/ha/session/BackupManager.java
    tomcat/trunk/java/org/apache/catalina/ha/session/DeltaManager.java
    tomcat/trunk/java/org/apache/catalina/session/PersistentManagerBase.java

Modified: tomcat/trunk/java/org/apache/catalina/ha/session/BackupManager.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ha/session/BackupManager.java?rev=949807&r1=949806&r2=949807&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/ha/session/BackupManager.java (original)
+++ tomcat/trunk/java/org/apache/catalina/ha/session/BackupManager.java Mon May 31 16:57:45
2010
@@ -253,8 +253,6 @@ public class BackupManager extends Stand
 
         cluster.removeManager(this);
         this.random = null;
-
-        setState(LifecycleState.MUST_DESTROY);
     }
 
     @Override

Modified: tomcat/trunk/java/org/apache/catalina/ha/session/DeltaManager.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ha/session/DeltaManager.java?rev=949807&r1=949806&r2=949807&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/ha/session/DeltaManager.java (original)
+++ tomcat/trunk/java/org/apache/catalina/ha/session/DeltaManager.java Mon May 31 16:57:45
2010
@@ -987,8 +987,6 @@ public class DeltaManager extends Cluste
         this.random = null;
         getCluster().removeManager(this);
         replicationValve = null;
-        
-        setState(LifecycleState.MUST_DESTROY);
     }
 
     // ----------------------------------------- PropertyChangeListener Methods

Modified: tomcat/trunk/java/org/apache/catalina/session/PersistentManagerBase.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/session/PersistentManagerBase.java?rev=949807&r1=949806&r2=949807&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/session/PersistentManagerBase.java (original)
+++ tomcat/trunk/java/org/apache/catalina/session/PersistentManagerBase.java Mon May 31 16:57:45
2010
@@ -958,9 +958,6 @@ public abstract class PersistentManagerB
 
         // Require a new random number generator if we are restarted
         this.random = null;
-
-        setState(LifecycleState.MUST_DESTROY);
-
     }
 
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message