3 Replies Latest reply on Mar 20, 2015 2:40 AM by valsaraj viswanathan

    Issue with assigning deployment to server group

    valsaraj viswanathan Master

      Hi,

       

      I am getting following error when assigning deployment to server group:

      ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 99) MSC000001: Failed to start service jboss.infinispan.web.global-component-registry: org.jboss.msc.service.StartException in service jboss.infinispan.web.global-component-registry: org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object of type ChannelTransport

        at org.jboss.as.clustering.msc.AsynchronousService$1.run(AsynchronousService.java:91)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]

        at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]

        at org.jboss.threads.JBossThread.run(JBossThread.java:122)

      Caused by: org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object of type ChannelTransport

        at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:241)

        at org.jboss.as.clustering.infinispan.subsystem.GlobalComponentRegistryService.start(GlobalComponentRegistryService.java:33)

        at org.jboss.as.clustering.msc.AsynchronousService$1.run(AsynchronousService.java:86)

        ... 4 more

      Caused by: org.infinispan.commons.CacheException: Unable to invoke method public void org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object of type ChannelTransport

        at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:185)

        at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:869)

        at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:638)

        at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:627)

        at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:530)

        at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:219)

        ... 6 more

      Caused by: org.infinispan.commons.CacheException: Unable to start JGroups Channel

        at org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:198)

        at org.infinispan.remoting.transport.jgroups.JGroupsTransport.start(JGroupsTransport.java:187)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]

        at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]

        at org.infinispan.commons.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:183)

        ... 11 more

      Caused by: java.lang.Exception: connecting to channel "web" failed

        at org.jgroups.JChannel._connect(JChannel.java:544)

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

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

        at org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:196)

        ... 17 more

      Caused by: java.lang.IllegalArgumentException: failed to start server socket

        at org.jgroups.protocols.FD_SOCK.down(FD_SOCK.java:321)

        at org.jgroups.protocols.FD_ALL.down(FD_ALL.java:218)

        at org.jgroups.protocols.VERIFY_SUSPECT.down(VERIFY_SUSPECT.java:84)

        at org.jgroups.protocols.pbcast.NAKACK2.down(NAKACK2.java:533)

        at org.jgroups.protocols.UNICAST3.down(UNICAST3.java:576)

        at org.jgroups.protocols.pbcast.STABLE.down(STABLE.java:347)

        at org.jgroups.protocols.pbcast.GMS.down(GMS.java:1045)

        at org.jgroups.protocols.FlowControl.down(FlowControl.java:340)

        at org.jgroups.protocols.FlowControl.down(FlowControl.java:340)

        at org.jgroups.protocols.FRAG2.down(FRAG2.java:136)

        at org.jgroups.protocols.RSVP.down(RSVP.java:142)

        at org.jgroups.stack.ProtocolStack.down(ProtocolStack.java:1024)

        at org.jgroups.JChannel.down(JChannel.java:760)

        at org.jgroups.JChannel._connect(JChannel.java:538)

        ... 20 more

      Caused by: java.net.BindException: bind_addr /0.0.0.0 is not a valid interface: java.net.BindException: Address already in use

        at org.jgroups.util.Util.createServerSocket(Util.java:3567)

        at org.jgroups.protocols.FD_SOCK.startServerSocket(FD_SOCK.java:584)

        at org.jgroups.protocols.FD_SOCK.down(FD_SOCK.java:318)

        ... 33 more

       

      When I started server in domain mode without 0.0.0.0 binding, I was unable to connect from another machine. So I added binding to 0.0.0.0 and was able to connect but got this error on deployment.

       

      Thanks!