2 Replies Latest reply on Apr 12, 2013 10:18 AM by Max Werner

    IllegalStateException on Startup

    Max Werner Newbie

      Hey Folks!

       

      JBoss: JBoss 5.1 with JBoss ESB 4.11 deployed

      I have this config up and running on a Win7 machine with java 1.6.0_37 installed. I copied the JBoss directory to a Linux debian virtual machine with java 1.7.0 installed.

      When i start the JBoss AS on the VM i get the following exception:

       

      {code}

      2013-04-11 08:14:18,835 INFO  [org.jboss.web.WebService] (main) Using RMI server codebase: http://127.0.0.1:8083/

      2013-04-11 08:14:23,745 INFO  [org.jboss.soa.esb.listeners.deployers.mc.EsbConfigParser] (main) Created

      2013-04-11 08:14:29,649 INFO  [org.jboss.wsf.stack.jbws.NativeServerConfig] (main)

      2013-04-11 08:14:29,649 INFO  [org.jboss.wsf.stack.jbws.NativeServerConfig] (main)

      2013-04-11 08:14:30,841 INFO  [org.jboss.dependency.plugins.AttributeCallbackItem] (main) Owner callback not implemented.

      2013-04-11 08:14:32,978 INFO  [org.jboss.logbridge.LogNotificationListener] (main) Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl@baf94e[ defaultDomain='jboss' ]

      2013-04-11 08:15:00,781 INFO  [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (main) Encountered deployment AbstractVFSDeploymentContext@21695736{vfsfile:/home/jboss/jbossAS_5/server/default/deploy/profileservice-secured.jar/}

      2013-04-11 08:15:00,781 INFO  [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (main) Encountered deployment AbstractVFSDeploymentContext@21695736{vfsfile:/home/jboss/jbossAS_5/server/default/deploy/profileservice-secured.jar/}

      2013-04-11 08:15:00,781 INFO  [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (main) Encountered deployment AbstractVFSDeploymentContext@21695736{vfsfile:/home/jboss/jbossAS_5/server/default/deploy/profileservice-secured.jar/}

      2013-04-11 08:15:00,788 INFO  [org.jboss.ejb3.deployers.Ejb3DependenciesDeployer] (main) Encountered deployment AbstractVFSDeploymentContext@21695736{vfsfile:/home/jboss/jbossAS_5/server/default/deploy/profileservice-secured.jar/}

      2013-04-11 08:15:04,026 INFO  [org.jboss.internal.soa.esb.couriers.transport.InVMTemporaryTransport] (main) Starting reaper thread

      2013-04-11 08:15:05,446 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: name=jboss.remoting:protocol=rmi,service=JMXConnectorServer state=Create mode=Manual requiredState=Installed

      java.lang.IllegalStateException: BaseClassLoader@17a8a02{vfsfile:/home/jboss/jbossAS_5/server/default/deploy/jmx-remoting.sar/} classLoader is not connected to a domain (probably undeployed?) for class javax.management.remote.rmi.RMIServerImpl_Stub

                at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:793)

                at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:441)

                at java.lang.ClassLoader.loadClass(ClassLoader.java:356)

                at java.lang.Class.forName0(Native Method)

                at java.lang.Class.forName(Class.java:264)

                at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:378)

                at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:184)

                at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:637)

                at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:264)

                at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:216)

                at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1593)

                at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1514)

                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1750)

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)

                at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)

                at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)

                at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:403)

                at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:267)

                at sun.rmi.transport.Transport$1.run(Transport.java:177)

                at sun.rmi.transport.Transport$1.run(Transport.java:174)

                at java.security.AccessController.doPrivileged(Native Method)

                at sun.rmi.transport.Transport.serviceCall(Transport.java:173)

                at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)

                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)

                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

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

                at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:273)

                at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:251)

                at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:377)

                at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)

                at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:137)

                at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:226)

                at javax.naming.InitialContext.bind(InitialContext.java:419)

                at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:644)

                at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:427)

                at org.jboss.mx.remoting.service.JMXConnectorServerService.start(JMXConnectorServerService.java:131)

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

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

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

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

                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

                at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

                at $Proxy38.start(Unknown Source)

                at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

                at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

                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.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)

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

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

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

                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.system.ServiceController.doChange(ServiceController.java:688)

                at org.jboss.system.ServiceController.start(ServiceController.java:460)

                at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)

                at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)

                at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

                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:1631)

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

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

                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:702)

                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:361)

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

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

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

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

                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.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)

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

                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:722)

      2013-04-11 08:15:05,474 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Real: name=vfsfile:/home/jboss/jbossAS_5/server/default/deploy/jmx-remoting.sar/ state=PreReal mode=Manual requiredState=Real

      org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.remoting:service=JMXConnectorServer,protocol=rmi

                at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)

                at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:118)

                at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)

                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:1631)

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

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

                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:702)

                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:361)

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

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

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

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

                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.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306)

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

                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:722)

      Caused by: java.lang.IllegalStateException: BaseClassLoader@17a8a02{vfsfile:/home/jboss/jbossAS_5/server/default/deploy/jmx-remoting.sar/} classLoader is not connected to a domain (probably undeployed?) for class javax.management.remote.rmi.RMIServerImpl_Stub

                at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:793)

                at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:441)

                at java.lang.ClassLoader.loadClass(ClassLoader.java:356)

                at java.lang.Class.forName0(Native Method)

                at java.lang.Class.forName(Class.java:264)

                at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:378)

                at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:184)

                at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:637)

                at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:264)

                at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:216)

                at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1593)

                at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1514)

                at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1750)

                at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347)

                at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369)

                at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)

                at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:403)

                at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:267)

                at sun.rmi.transport.Transport$1.run(Transport.java:177)

                at sun.rmi.transport.Transport$1.run(Transport.java:174)

                at java.security.AccessController.doPrivileged(Native Method)

                at sun.rmi.transport.Transport.serviceCall(Transport.java:173)

                at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)

                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)

                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

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

                at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:273)

                at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:251)

                at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:377)

                at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)

                at com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.java:137)

                at com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContext.java:226)

                at javax.naming.InitialContext.bind(InitialContext.java:419)

                at javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnectorServer.java:644)

                at javax.management.remote.rmi.RMIConnectorServer.start(RMIConnectorServer.java:427)

                at org.jboss.mx.remoting.service.JMXConnectorServerService.start(JMXConnectorServerService.java:131)

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

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

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

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

                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)

                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)

                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)

                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)

                at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)

                at $Proxy38.start(Unknown Source)

                at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)

                at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)

                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.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)

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

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

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

                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.system.ServiceController.doChange(ServiceController.java:688)

                at org.jboss.system.ServiceController.start(ServiceController.java:460)

                at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)

                at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)

                ... 34 more

      {code}

       

      Do you have any idea what could be the mistake?