2 Replies Latest reply on Apr 22, 2008 2:52 AM by jaikiran pai

    MBeanRegistrationException in jboss(any one can help me)

    sandipan biswas Newbie


      when i stared to install jboss ,it throwing MBeanException.I used j2sdk1.5.
      I am giving the log file bellow.can any one help me

      17/07/2006 01:06
      09:20:15,513 INFO [Server] Server Temp Dir: F:\jboss-4.0.2\server\default\tmp
      09:20:15,633 INFO [Server] Server Config URL: file:/F:/jboss-4.0.2/server/default/conf/
      09:20:15,633 INFO [Server] Server Library URL: file:/F:/jboss-4.0.2/server/default/lib/
      09:20:15,643 INFO [Server] Root Deployment Filename: jboss-service.xml
      09:20:15,653 INFO [Server] Starting General Purpose Architecture (GPA)...
      09:20:16,244 WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='JMImplementation:type=MBeanServerDelegate', Class=javax.management.MBeanServerDelegate (javax.management.MBeanServerDelegate@b64435)]
      09:20:16,284 DEBUG [Server] Failed to start
      java.lang.RuntimeException: Cannot create MBeanServer
      at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:224)
      at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServerBuilderImpl.java:56)
      at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:316)
      at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:219)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:369)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
      at org.jboss.Main.boot(Main.java:195)
      at org.jboss.Main$1.run(Main.java:463)
      at java.lang.Thread.run(Thread.java:566)
      Caused by: javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='JMImplementation:type=MBeanServerDelegate', Class=javax.management.MBeanServerDelegate (javax.management.MBeanServerDelegate@b64435)]
      at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:707)
      at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:197)
      at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:200)
      ... 8 more
      Caused by: javax.management.RuntimeOperationsException: Exception occured trying find the descriptors of the MBean
      at javax.management.modelmbean.ModelMBeanInfoSupport.get

        • 1. Re: MBeanRegistrationException in jboss(any one can help me)
          Nisarg Panchal Newbie

          11:06:45,796 INFO [Server] Starting JBoss (MX MicroKernel)...
          11:06:45,799 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
          11:06:45,800 INFO [Server] Home Dir: /home/nisarg/SOFTWAREs/jboss/jboss-4.2.2.GA
          11:06:45,801 INFO [Server] Home URL: file:/home/nisarg/SOFTWAREs/jboss/jboss-4.2.2.GA/
          11:06:45,802 INFO [Server] Patch URL: null
          11:06:45,802 INFO [Server] Server Name: default
          11:06:45,802 INFO [Server] Server Home Dir: /home/nisarg/SOFTWAREs/jboss/jboss-4.2.2.GA/server/default
          11:06:45,802 INFO [Server] Server Home URL: file:/home/nisarg/SOFTWAREs/jboss/jboss-4.2.2.GA/server/default/
          11:06:45,803 INFO [Server] Server Log Dir: /home/nisarg/SOFTWAREs/jboss/jboss-4.2.2.GA/server/default/log
          11:06:45,803 INFO [Server] Server Temp Dir: /home/nisarg/SOFTWAREs/jboss/jboss-4.2.2.GA/server/default/tmp
          11:06:45,803 INFO [Server] Root Deployment Filename: jboss-service.xml
          11:06:46,581 INFO [ServerInfo] Java version: 1.6.0_04,Sun Microsystems Inc.
          11:06:46,581 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 10.0-b19,Sun Microsystems Inc.
          11:06:46,581 INFO [ServerInfo] OS-System: Linux 2.6.20-16-generic,i386
          11:06:47,448 INFO [Server] Core system initialized
          11:06:50,483 WARN [BasicMBeanRegistry] javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='jboss.remoting:service=NetworkRegistry', Class=org.jboss.remoting.network.NetworkRegistry (org.jboss.remoting.network.NetworkRegistry@1c1cfc1)]
          11:06:50,514 ERROR [MainDeployer] Could not create deployment: file:/home/nisarg/SOFTWAREs/jboss/jboss-4.2.2.GA/server/default/conf/jboss-service.xml
          org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.InvocationTargetException)
          at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
          at org.jboss.system.ServiceController.install(ServiceController.java:226)
          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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
          at $Proxy4.install(Unknown Source)
          at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
          at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
          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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
          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:659)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
          at $Proxy5.deploy(Unknown Source)
          at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
          at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
          at org.jboss.Main.boot(Main.java:200)
          at org.jboss.Main$1.run(Main.java:508)
          at java.lang.Thread.run(Thread.java:619)
          Caused by: java.lang.reflect.InvocationTargetException
          at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1451)
          at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1350)
          at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:345)
          at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)
          at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451)
          at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
          ... 36 more
          Caused by: javax.management.MBeanException
          at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:180)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:163)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
          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:659)
          at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
          at java.security.AccessController.doPrivileged(Native Method)
          at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1417)
          ... 41 more
          Caused by: javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='jboss.remoting:service=NetworkRegistry', Class=org.jboss.remoting.network.NetworkRegistry (org.jboss.remoting.network.NetworkRegistry@1c1cfc1)]
          at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:713)
          at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:211)
          at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
          ... 51 more
          Caused by: java.lang.RuntimeException: Exception creating identity: nisarg-desktop: nisarg-desktop
          at org.jboss.remoting.ident.Identity.get(Identity.java:211)
          at org.jboss.remoting.network.NetworkRegistry.preRegister(NetworkRegistry.java:268)
          at org.jboss.mx.server.AbstractMBeanInvoker.invokePreRegister(AbstractMBeanInvoker.java:966)
          at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBeanInvoker.java:489)
          at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:654)
          at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:697)
          ... 56 more
          Failed to boot JBoss:11:06:50,527 INFO [Server] Runtime shutdown hook called, forceHalt: true
          11:06:50,528 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
          11:06:50,544 INFO [Server] Shutdown complete
          Shutdown complete
          Halting VM

          org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.InvocationTargetException)
          at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
          at org.jboss.system.ServiceController.install(ServiceController.java:226)
          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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
          at $Proxy4.install(Unknown Source)
          at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249)
          at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
          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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
          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:659)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
          at $Proxy5.deploy(Unknown Source)
          at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
          at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
          at org.jboss.Main.boot(Main.java:200)
          at org.jboss.Main$1.run(Main.java:508)
          at java.lang.Thread.run(Thread.java:619)
          Caused by: java.lang.reflect.InvocationTargetException
          at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1451)
          at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1350)
          at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:345)
          at org.jboss.system.ServiceCreator.install(ServiceCreator.java:157)
          at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451)
          at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171)
          ... 36 more
          Caused by: javax.management.MBeanException
          at org.jboss.mx.interceptor.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:180)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:163)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
          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:659)
          at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
          at java.security.AccessController.doPrivileged(Native Method)
          at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1417)
          ... 41 more
          Caused by: javax.management.MBeanRegistrationException: preRegister() failed: [ObjectName='jboss.remoting:service=NetworkRegistry', Class=org.jboss.remoting.network.NetworkRegistry (org.jboss.remoting.network.NetworkRegistry@1c1cfc1)]
          at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:713)
          at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:211)
          at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
          ... 51 more
          Caused by: java.lang.RuntimeException: Exception creating identity: nisarg-desktop: nisarg-desktop
          at org.jboss.remoting.ident.Identity.get(Identity.java:211)
          at org.jboss.remoting.network.NetworkRegistry.preRegister(NetworkRegistry.java:268)
          at org.jboss.mx.server.AbstractMBeanInvoker.invokePreRegister(AbstractMBeanInvoker.java:966)
          at org.jboss.mx.modelmbean.ModelMBeanInvoker.invokePreRegister(ModelMBeanInvoker.java:489)
          at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:654)
          at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:697)
          ... 56 more

          • 2. Re: MBeanRegistrationException in jboss(any one can help me)
            jaikiran pai Master

            nisarg1184,

            Let's continue this discussion in your other thread at http://www.jboss.com/index.html?module=bb&op=viewtopic&t=134159, instead of discussing this in a 2 year old post.