2 Replies Latest reply on Dec 4, 2012 9:40 AM by Bruno Lacerda

    Unable to connect to JGroups channel

    Bruno Lacerda Newbie

      Hi all!

       

      I manage a cluster with two servers and four nodes. Each server has two instances of JBoss EAP 5.

      Everything were goin on, but suddenly two nodes on the same server lost connection to JGroups and now they do not connect more.

      I've already checked the MultiCast UDP with McastSenderTest and McastReceiverTest programs and MultiCast UDP works.

      If I change the UDP address and port and start the problematic instances, JGroups works but with the UDP addres of the other server instances the problem back.

       

      Thanks in advance!

      Sorry for the english mistakes.

       

      This is the stack trace of the exception.

       

      [code]

      2012-10-16 17:43:31,967 INFO  [org.jgroups.JChannel] (main) JGroups version: 2.6.19.Final

      2012-10-16 17:43:32,634 INFO  [org.jboss.ha.framework.interfaces.HAPartition.A] (main) Initializing partition A

      2012-10-16 17:43:32,875 INFO  [org.jgroups.JChannel] (main) JGroups version: 2.6.19.Final

      2012-10-16 17:43:32,947 INFO  [org.jboss.ha.framework.interfaces.HAPartition.A] (JBoss System Threads(1)-3) Number of cluster members: 3

      2012-10-16 17:43:32,951 INFO  [org.jboss.ha.framework.interfaces.HAPartition.A] (JBoss System Threads(1)-3) Other members: 2

      2012-10-16 17:44:33,244 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: name=HAPartition state=Create

      org.jboss.cache.CacheException: java.lang.reflect.InvocationTargetException

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

              at org.jboss.cache.factories.ComponentRegistry$PrioritizedMethod.invoke(ComponentRegistry.java:1012)

              at org.jboss.cache.factories.ComponentRegistry.internalStart(ComponentRegistry.java:778)

              at org.jboss.cache.factories.ComponentRegistry.start(ComponentRegistry.java:632)

              at org.jboss.cache.invocation.CacheInvocationDelegate.start(CacheInvocationDelegate.java:345)

              at org.jboss.ha.cachemanager.CacheManagerManagedCache.start(CacheManagerManagedCache.java:104)

              at org.jboss.ha.framework.server.HAPartitionCacheHandlerImpl.startCache(HAPartitionCacheHandlerImpl.java:66)

              at org.jboss.ha.framework.server.ClusterPartition.startService(ClusterPartition.java:397)

              at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)

              at org.jboss.system.ServiceMBeanSupport.pojoStart(ServiceMBeanSupport.java:216)

              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.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)

              at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)

              at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)

              at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:243)

              at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)

              at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:111)

              at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72)

              at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)

              at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)

              at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)

              at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)

              at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)

              at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)

              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)

              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)

              at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:125)

              at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:52)

              at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)

              at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)

              at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)

              at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1454)

              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1172)

              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1193)

              at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1113)

              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:826)

              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:556)

              at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:789)

              at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:699)

              at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)

              at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)

              at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)

              at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)

              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)

              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1652)

              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:938)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)

              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:988)

              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:778)

              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:543)

              at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)

              at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:256)

              at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)

              at org.jboss.Main.boot(Main.java:221)

              at org.jboss.Main$1.run(Main.java:556)

              at java.lang.Thread.run(Thread.java:662)

      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)

              ... 68 more

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

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

              ... 73 more

      Caused by: org.jgroups.StateTransferException: 10.10.1.129:55300 could not fetch state null from null

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

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

              ... 73 more

      Caused by: org.jgroups.StateTransferException: 10.10.1.129:55300 could not fetch state null from null

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

              ... 74 more

       

      [/code]