3 Replies Latest reply on Jul 9, 2010 2:23 AM by Smitha Nair

    java.lang.IllegalStateException: cluster 'X' is already connected to singleton transport

    Smitha Nair Newbie




      We have deployed two wars in the same jboss node, which is a cluster member.

      One of the war is a customized jasig cas war .

      Both the wars are having the same cluster configuration to have distributed cache.

      Both the wars using the same clustername too.

      But when deploying the wars together, it is giving exception,



      Caused by: java.lang.reflect.InvocationTargetException

             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

             at java.lang.reflect.Method.invoke(Method.java:597)

             at org.jboss.cache.util.reflect.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:144)

             ... 117 more

      Caused by: org.jboss.cache.CacheException: Unable to connect to JGroups channel

             at org.jboss.cache.RPCManagerImpl.start(RPCManagerImpl.java:352)

             ... 122 more

      Caused by: org.jgroups.ChannelException: failed to start protocol stack

             at org.jgroups.JChannel.startStack(JChannel.java:1617)

             at org.jgroups.JChannel.connect(JChannel.java:366)

             at org.jboss.cache.RPCManagerImpl.start(RPCManagerImpl.java:347)

             ... 122 more

      Caused by: java.lang.IllegalStateException: cluster 'X'  is already connected to singleton transport: [dummy-12334552211, X]

             at org.jgroups.stack.Configurator.startProtocolStack(Configurator.java:88)

             at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:402)

             at org.jgroups.JChannel.startStack(JChannel.java:1614)

             ... 124 more




      Can anyone please help us.