"this.channel.removeChannelListener(this.rpcChannel);" call is replaced with "this...
authorkfujino <kfujino@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 3 Jun 2010 09:37:36 +0000 (09:37 +0000)
committerkfujino <kfujino@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 3 Jun 2010 09:37:36 +0000 (09:37 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@950922 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/catalina/tribes/tipis/AbstractReplicatedMap.java

index 05e2e71..b089dc7 100644 (file)
@@ -228,7 +228,7 @@ public abstract class AbstractReplicatedMap extends ConcurrentHashMap implements
         } catch (ChannelException x) {
             log.warn("Unable to send map start message.");
             // remove listener from channel
-            this.channel.removeChannelListener(this.rpcChannel);
+            this.rpcChannel.breakdown();
             this.channel.removeChannelListener(this);
             this.channel.removeMembershipListener(this);
             throw new RuntimeException("Unable to start replicated map.",x);