2 Replies Latest reply on Jan 9, 2012 4:31 AM by Eddy Siu

    Jboss Cluster Errors

    Eddy Siu Newbie

      We encountered a problem when we started the second node of a cluster. Attached please find the log. Does anyone have any idea? Thanks! Eddy

      Below is the error:

      2011-12-22 10:12:20,181 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:1005)
      at org.jboss.cache.factories.ComponentRegistry.internalStart(ComponentRegistry.java:775)
      at org.jboss.cache.factories.ComponentRegistry.start(ComponentRegistry.java:629)
      at org.jboss.cache.invocation.CacheInvocationDelegate.start(CacheInvocationDelegate.java:344)
      at org.jboss.ha.cachemanager.CacheManagerManagedCache.start(CacheManagerManagedCache.java:96)
      at org.jboss.ha.framework.server.HAPartitionCacheHandlerImpl.startCache(HAPartitionCacheHandlerImpl.java:66)
      at org.jboss.ha.framework.server.ClusterPartition.startService(ClusterPartition.java:400)
      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:241)
      at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
      at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
      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:1598)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
      at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)
      at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
      at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
      at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
      at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
      at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
      at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
      at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
      at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
      at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
      at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304)
      at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205)
      at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405)
      at org.jboss.Main.boot(Main.java:209)
      at org.jboss.Main$1.run(Main.java:547)
      at java.lang.Thread.run(Thread.java:619)
      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)
      ... 57 more
      Caused by: org.jboss.cache.CacheException: Unable to fetch state on startup
      at org.jboss.cache.RPCManagerImpl.start(RPCManagerImpl.java:187)
      ... 62 more
      Caused by: org.jgroups.StateTransferException: 158.132.82.169:32782 could not fetch state null from null
      at org.jgroups.JChannel.connect(JChannel.java:466)
      at org.jboss.cache.RPCManagerImpl.start(RPCManagerImpl.java:175)
      ... 62 more
      Caused by: org.jgroups.StateTransferException: 158.132.82.169:32782 could not fetch state null from null
      at org.jgroups.JChannel.connect(JChannel.java:459)
      ... 63 more

        • 1. Re: Jboss Cluster Errors
          Wolf-Dieter Fink Master

          How do you start the instances?

          Do you have a firewall in between?

          Do you change the configuration?

           

          Also I would recommend to use 5.1 instead of 5.0.

          • 2. Re: Jboss Cluster Errors
            Eddy Siu Newbie

            I use the following script to start. The firewall has already disabled in both servers. Those servers were running as normal but somehow it can't start again. Thanks!

             

            #!/bin/sh

            JAVA_HOME=/px82_01/opt/novell/idm/jre
            export JAVA_HOME

            # The heap size values here have been optimized for your system.
            # In order to use these settings, you need to uncomment the setting
            # of JAVA_OPTS.
            #
            # If you specified it, we have also added a setting for your cluster,
            # "workflow engine id".
            #

            # Make sure that our JRE is picked up first.
            PATH=/px82_01/opt/novell/idm/jre/bin:$PATH
            export PATH

            JAVA_OPTS="-server -Xms1024M -Xmx1024M -XX:MaxPermSize=256m -Djboss.partition.name=PROD_Partition -Djboss.partition.udpGroup=228.3.2.2 -Dcom.novell.afw.wf.engine-id=Engine1"
            export JAVA_OPTS

            exec /px82_01/opt/novell/idm/jboss//bin/run.sh -c IDMProv -b 0.0.0.0