fhanik      2004/10/20 10:07:20

  Modified:    modules/cluster/src/share/org/apache/catalina/cluster/session
                        SimpleTcpReplicationManager.java
  Log:
  Make sure context reload works properly
  
  Revision  Changes    Path
  1.33      +2 -0      
jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session/SimpleTcpReplicationManager.java
  
  Index: SimpleTcpReplicationManager.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/session/SimpleTcpReplicationManager.java,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- SimpleTcpReplicationManager.java  29 Sep 2004 16:43:44 -0000      1.32
  +++ SimpleTcpReplicationManager.java  20 Oct 2004 17:07:20 -0000      1.33
  @@ -423,6 +423,7 @@
                   log.error("Starting... no cluster associated with this 
context:"+getName());
                   return;
               }
  +            cluster.addManager(getName(),this);
   
               if (cluster.getMembers().length > 0) {
                   Member mbr = cluster.getMembers()[0];
  @@ -477,6 +478,7 @@
           //stop the javagroup channel
           try
           {
  +            this.sessions.clear();
               cluster.removeManager(getName());
   //            mReplicationListener.stopListening();
   //            mReplicationTransmitter.stop();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to