tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kfuj...@apache.org
Subject svn commit: r1498835 - /tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
Date Tue, 02 Jul 2013 08:39:03 GMT
Author: kfujino
Date: Tue Jul  2 08:39:02 2013
New Revision: 1498835

URL: http://svn.apache.org/r1498835
Log:
Make sure that terminate replication map.

Modified:
    tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java

Modified: tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java?rev=1498835&r1=1498834&r2=1498835&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java (original)
+++ tomcat/trunk/java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java Tue Jul
 2 08:39:02 2013
@@ -231,10 +231,7 @@ public abstract class AbstractReplicated
         } catch (ChannelException x) {
             log.warn("Unable to send map start message.");
             if (terminate) {
-                // remove listener from channel
-                this.rpcChannel.breakdown();
-                this.channel.removeChannelListener(this);
-                this.channel.removeMembershipListener(this);
+                breakdown();
                 throw new RuntimeException("Unable to start replicated map.",x);
             }
         }



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


Mime
View raw message