2 Replies Latest reply on Mar 5, 2004 10:28 AM by ddhf78

    why close previous HAILConnections when a new node joins a c

    ddhf78

      Hi,
      I have a cluster with 2 nodes, I deploy my application (MBean) on the 1th node. In my application, I use HAILConnectionFactory to get a HA connection. When the 1th node started, everything is good. but when I start the 2th node, the 1th node receives a remote notification (a new servive HAILSharedState started) and is asked to close previous connections.
      my question is why the notification of a new service HAILSharedState stated on the 2th node makes the 1th node to close previous HAILConnection and is these a way to avoid it ? thanks for your help. mlu

      Here are the stack traces of the 1th node when it received the notification and closed the previous connections.


      org.jboss.mq.il.uil2.UILServerIL.connectionClosing(UILServerIL.java:345)
      2004-03-04 15:52:16,575 ERROR [STDERR] at org.jboss.mq.il.ha.HAILServerIL.handleNotification(HAILServerIL.java:249)
      2004-03-04 15:52:16,575 ERROR [STDERR] at org.jboss.mx.server.NotificationListenerProxy.handleNotification(NotificationListenerProxy.java:69)
      2004-03-04 15:52:16,575 ERROR [STDERR] at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:93)
      2004-03-04 15:52:16,576 ERROR [STDERR] at org.jboss.ha.jmx.HAServiceMBeanSupport._receiveRemoteNotification(HAServiceMBeanSupport.java:339)
      2004-03-04 15:52:16,576 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2004-03-04 15:52:16,576 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2004-03-04 15:52:16,576 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2004-03-04 15:52:16,577 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      2004-03-04 15:52:16,577 ERROR [STDERR] at org.jgroups.blocks.MethodCall.invoke(MethodCall.java:392)
      2004-03-04 15:52:16,577 ERROR [STDERR] at org.jboss.ha.framework.server.HAPartitionImpl.handle(HAPartitionImpl.java:722)
      2004-03-04 15:52:16,577 ERROR [STDERR] at org.jgroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:536)
      2004-03-04 15:52:16,577 ERROR [STDERR] at org.jgroups.blocks.RequestCorrelator.access$100(RequestCorrelator.java:35)
      2004-03-04 15:52:16,578 ERROR [STDERR] at org.jgroups.blocks.RequestCorrelator$Request.run(RequestCorrelator.java:752)
      2004-03-04 15:52:16,578 ERROR [STDERR] at org.jgroups.util.ReusableThread.run(ReusableThread.java:208)
      2004-03-04 15:52:16,578 ERROR [STDERR] at java.lang.Thread.run(Thread.java:534)