I am in the process of starting to learn JBoss. After doing the initial reading and running the examples/tutorials, I decided to start my own test project. I decided to follow the basic steps for creating an "as needed" JBoss server setup utilizing my own configuration. However, when attempting to get the JMX console in there, I am getting an AbstractKernelController.
I utilized the following steps to create my project and setup JBoss: 1. Created my project file and did some basic IDE setup 2. Copied a complete unzip of JBoss 5.0.0 Beta 1 to my project directory 3. Deleted the all and default configs 4. Renamed minimal to myproject 5. cd'd to /bin 6. Run sh run.sh -c myproject (starts up just fine, no JMX Console) 7. Run cp -R /server/default/deploy/jmx* /server/myproject/deploy 8. Run sh run.sh -c myproject starts up with the following exception: 08:51:45,644 ERROR [AbstractKernelController] Error installing to Instantiated: name=jboss.jmx:name=Invoker,protocol=jrmp,service=proxyFactory,type=adaptor state=Described mode=Manual requiredState=Configured | org.jboss.deployment.DeploymentException: Unable to createMBean for jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory | at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:52) | at org.jboss.system.ServiceCreator.install(ServiceCreator.java:141) | at org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:45) | at org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190) | at org.jboss.system.ServiceController.doChange(ServiceController.java:656) | at org.jboss.system.ServiceController.install(ServiceController.java:272) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:76) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:44) | at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:53) | at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52) | at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145) | at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:440) | at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:451) | at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:381) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:366) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:246) | at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89) | at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:401) | at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:340) | at org.jboss.Main.boot(Main.java:210) | at org.jboss.Main$1.run(Main.java:508) | at java.lang.Thread.run(Thread.java:595) | Caused by: java.lang.NoClassDefFoundError: org/jboss/proxy/ClientMethodInterceptor | at org.jboss.invocation.jrmp.server.JRMPProxyFactory.<init>(JRMPProxyFactory.java:78) | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) | at java.lang.reflect.Constructor.newInstance(Constructor.java:494) | at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1242) | at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286) | at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344) | at org.jboss.system.ServiceCreator.installPlainMBean(ServiceCreator.java:197) | at org.jboss.system.ServiceCreator.install(ServiceCreator.java:115) | ... 29 more | 08:51:45,652 ERROR [AbstractKernelController] Error installing to Instantiated: name=jboss.jmx:name=MBeanProxyRemote,protocol=jrmp,type=adaptor state=Described mode=Manual requiredState=Configured | org.jboss.deployment.DeploymentException: Unable to createMBean for jboss.jmx:type=adaptor,name=MBeanProxyRemote,protocol=jrmp | at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:52) | at org.jboss.system.ServiceCreator.install(ServiceCreator.java:141) | at org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:45) | at org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190) | at org.jboss.system.ServiceController.doChange(ServiceController.java:656) | at org.jboss.system.ServiceController.install(ServiceController.java:272) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:76) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:44) | at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:53) | at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52) | at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145) | at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:440) | at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:451) | at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:381) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:366) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:246) | at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89) | at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:401) | at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:340) | at org.jboss.Main.boot(Main.java:210) | at org.jboss.Main$1.run(Main.java:508) | at java.lang.Thread.run(Thread.java:595) | Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.jmx.connector.invoker.MBeanProxyRemote | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212) | at org.jboss.mx.loading.UnifiedClassLoader.loadClassImpl(UnifiedClassLoader.java:275) | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:406) | at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1213) | at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286) | at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344) | at org.jboss.system.ServiceCreator.installPlainMBean(ServiceCreator.java:197) | at org.jboss.system.ServiceCreator.install(ServiceCreator.java:115) | ... 29 more | 08:51:45,783 ERROR [AbstractKernelController] Error installing to Instantiated: name=jboss.jmx:name=Invoker,type=adaptor state=Described mode=Manual requiredState=Configured | org.jboss.deployment.DeploymentException: Unable to createMBean for jboss.jmx:type=adaptor,name=Invoker | at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:52) | at org.jboss.system.ServiceCreator.install(ServiceCreator.java:141) | at org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:45) | at org.jboss.system.microcontainer.ServiceControllerContextAction.install(ServiceControllerContextAction.java:46) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:198) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:709) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:429) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:538) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:472) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:320) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:190) | at org.jboss.system.ServiceController.doChange(ServiceController.java:656) | at org.jboss.system.ServiceController.install(ServiceController.java:272) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:76) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:44) | at org.jboss.deployers.plugins.deployers.helpers.AbstractSimpleRealDeployer.deploy(AbstractSimpleRealDeployer.java:53) | at org.jboss.deployers.plugins.deployer.AbstractSimpleDeployer.commitDeploy(AbstractSimpleDeployer.java:52) | at org.jboss.deployers.plugins.deployer.DeployerWrapper.commitDeploy(DeployerWrapper.java:145) | at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:440) | at org.jboss.deployers.plugins.deployment.MainDeployerImpl.commitDeploy(MainDeployerImpl.java:451) | at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:381) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:366) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.bootstrap(ProfileServiceBootstrap.java:246) | at org.jboss.kernel.plugins.bootstrap.AbstractBootstrap.run(AbstractBootstrap.java:89) | at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.java:401) | at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.java:340) | at org.jboss.Main.boot(Main.java:210) | at org.jboss.Main$1.run(Main.java:508) | at java.lang.Thread.run(Thread.java:595) | Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.jmx.connector.invoker.InvokerAdaptorService | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212) | at org.jboss.mx.loading.UnifiedClassLoader.loadClassImpl(UnifiedClassLoader.java:275) | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:406) | at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1213) | at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286) | at org.jboss.system.ServiceCreator.installEmbeddedXMBean(ServiceCreator.java:227) | at org.jboss.system.ServiceCreator.install(ServiceCreator.java:119) | ... 29 more | 08:51:45,836 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): So... What files did I miss in the copy? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991642#3991642 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991642 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
