9 Replies Latest reply: Mar 25, 2011 10:01 AM by Camilo Cuesta RSS

Can not load MBeanServerBuilderImpl

David Joffrin Newbie

Hi,

I have found someone with the same problem. The answer was to go to the FAQ which I had already done but could not find any answers.

I have looked my JAR files and all the classes are there. Is there something else I need to do on a fresh J2EE install to get rid of that error message?

[java] 11:40:07,298 INFO [STDOUT] javax.management.JMRuntimeException: Failed to load MBeanServerBuilder class org.jboss.mx.server.MBeanServerBuilderImpl: java.lang.ClassNotFoundException: org.jboss.mx.server.MBeanServerBuilderImpl
[java] 11:40:07,338 INFO [STDOUT] at javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:499)
[java] 11:40:07,338 INFO [STDOUT] at javax.management.MBeanServerFactory.getNewMBeanServerBuilder(MBeanServerFactory.java:530)
[java] 11:40:07,338 INFO [STDOUT] at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:304)
[java] 11:40:07,338 INFO [STDOUT] at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:219)
[java] 11:40:07,338 INFO [STDOUT] at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:180)
[java] 11:40:07,338 INFO [STDOUT] at sun.management.ManagementFactory.createPlatformMBeanServer(ManagementFactory.java:264)
[java] 11:40:07,368 INFO [STDOUT] at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:512)
[java] 11:40:07,368 INFO [STDOUT] at sun.management.jmxremote.ConnectorBootstrap.startLocalConnectorServer(ConnectorBootstrap.java:385)
[java] 11:40:07,368 INFO [STDOUT] at sun.management.Agent.premain(Agent.java:92)
[java] 11:40:07,368 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] 11:40:07,368 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] 11:40:07,388 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] 11:40:07,388 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
[java] 11:40:07,388 INFO [STDOUT] at sun.management.Agent.startAgent(Agent.java:197)
[java] 11:40:07,388 INFO [STDOUT] at bea.jrockit.management.server.Main.start0(Main.java:272)
[java] 11:40:07,388 INFO [STDOUT] at bea.jrockit.management.server.Main.access$100(Main.java:48)
[java] 11:40:07,388 INFO [STDOUT] at bea.jrockit.management.server.Main$2.run(Main.java:314)
[java] 11:40:07,428 INFO [STDOUT] at bea.jrockit.management.server.Main.start(Main.java:312)
[java] 11:40:07,428 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] 11:40:07,428 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

Thanks.
DvJ

  • 1. Re: Can not load MBeanServerBuilderImpl
    Peter Doornbosch Apprentice

    So what is the problem than? Yes, i can see a stacktrace, but what are you trying to do? Just starting JBoss, or trying to connect a JMX client, or...? And which version of JBoss and Java are you using?

    Peter

  • 2. Re: Can not load MBeanServerBuilderImpl
    Peter Doornbosch Apprentice

    Obviously, you have a classloader problem, which you might solve by putting some JBoss system libraries (jboss-jmx.jar, and what else is needed by that one) on the system classpath (i.e. add them to the jboss classpath in the run.sh or run.bat file). However, normally this should not be necessary when using a 'normal' java 5 VM, so still you should explain to us what you did to get this exception....

  • 3. Re: Can not load MBeanServerBuilderImpl
    Andreas Skoog Newbie

    I received the same error starting the minimal confiuguration of JBoss 4.2.0.GA using java 1.6.0 and then trying to use JConsole to access the process via JMX.

    12:08:54,515 INFO [Server] Starting JBoss (MX MicroKernel)...
    12:08:54,531 INFO [Server] Release ID: JBoss [Trinity] 4.2.0.GA (build: SVNTag=JBoss_4_2_0_GA date=200705111440)
    12:08:54,531 INFO [Server] Home Dir: C:\opt\jboss-4.2.0.GA
    12:08:54,531 INFO [Server] Home URL: file:/C:/opt/jboss-4.2.0.GA/
    12:08:54,531 INFO [Server] Patch URL: null
    12:08:54,546 INFO [Server] Server Name: minimal
    12:08:54,546 INFO [Server] Server Home Dir: C:\opt\jboss-4.2.0.GA\server\minimal
    12:08:54,546 INFO [Server] Server Home URL: file:/C:/opt/jboss-4.2.0.GA/server/minimal/
    12:08:54,546 INFO [Server] Server Log Dir: C:\opt\jboss-4.2.0.GA\server\minimal\log
    12:08:54,562 INFO [Server] Server Temp Dir: C:\opt\jboss-4.2.0.GA\server\minimal\tmp
    12:08:54,562 INFO [Server] Root Deployment Filename: jboss-service.xml
    12:08:54,843 INFO [ServerInfo] Java version: 1.6.0_01,Sun Microsystems Inc.
    12:08:54,859 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.6.0_01-b06,Sun Microsystems Inc.
    12:08:54,859 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
    12:08:55,109 INFO [Server] Core system initialized
    12:08:55,562 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
    12:08:55,843 INFO [Server] JBoss (MX MicroKernel) [4.2.0.GA (build: SVNTag=JBoss_4_2_0_GA date=200705111440)] Started in 1s:281ms
    12:09:06,500 ERROR [STDERR] javax.management.JMRuntimeException: Failed to load MBeanServerBuilder class org.jboss.mx.server.MBeanServerBuilderImpl: java.lang.ClassNotFoundException: org.jboss.mx.server.MBeanS
    12:09:06,515 ERROR [STDERR] at javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:480)
    12:09:06,515 ERROR [STDERR] at javax.management.MBeanServerFactory.getNewMBeanServerBuilder(MBeanServerFactory.java:511)
    12:09:06,515 ERROR [STDERR] at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:298)
    12:09:06,515 ERROR [STDERR] at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:213)
    12:09:06,515 ERROR [STDERR] at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:174)
    12:09:06,515 ERROR [STDERR] at sun.management.ManagementFactory.createPlatformMBeanServer(ManagementFactory.java:302)
    12:09:06,515 ERROR [STDERR] at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:504)
    12:09:06,515 ERROR [STDERR] at sun.management.jmxremote.ConnectorBootstrap.startLocalConnectorServer(ConnectorBootstrap.java:412)
    12:09:06,515 ERROR [STDERR] at sun.management.Agent.startAgent(Agent.java:135)
    12:09:06,515 ERROR [STDERR] at sun.management.Agent.agentmain(Agent.java:95)
    12:09:06,515 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    12:09:06,531 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    12:09:06,531 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    12:09:06,531 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
    12:09:06,531 ERROR [STDERR] at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:325)
    12:09:06,531 ERROR [STDERR] at sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(InstrumentationImpl.java:348)
    12:09:06,531 ERROR [STDERR] Caused by: java.lang.ClassNotFoundException: org.jboss.mx.server.MBeanServerBuilderImpl
    12:09:06,531 ERROR [STDERR] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    12:09:06,531 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native Method)
    12:09:06,531 ERROR [STDERR] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    12:09:06,531 ERROR [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    12:09:06,531 ERROR [STDERR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    12:09:06,531 ERROR [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    12:09:06,546 ERROR [STDERR] at javax.management.MBeanServerFactory.loadBuilderClass(MBeanServerFactory.java:423)
    12:09:06,546 ERROR [STDERR] at javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:465)
    12:09:06,546 ERROR [STDERR] ... 15 more
    12:09:06,546 ERROR [STDERR] Agenten orsakade ett undantag : javax.management.JMRuntimeException: Failed to load MBeanServerBuilder class org.jboss.mx.server.MBeanServerBuilderImpl: java.lang.ClassNotFoundExcep
    Exception in thread "Attach Listener" 12:09:06,546 ERROR [STDERR] java.lang.reflect.InvocationTargetException
    12:09:06,546 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    12:09:06,546 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    12:09:06,546 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    12:09:06,546 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597)
    12:09:06,546 ERROR [STDERR] at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:325)
    12:09:06,546 ERROR [STDERR] at sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(InstrumentationImpl.java:348)
    12:09:06,546 ERROR [STDERR] Caused by: java.lang.RuntimeException: javax.management.JMRuntimeException: Failed to load MBeanServerBuilder class org.jboss.mx.server.MBeanServerBuilderImpl: java.lang.ClassNotFou
    12:09:06,562 ERROR [STDERR] at sun.management.Agent.error(Agent.java:309)
    12:09:06,562 ERROR [STDERR] at sun.management.Agent.startAgent(Agent.java:153)
    12:09:06,562 ERROR [STDERR] at sun.management.Agent.agentmain(Agent.java:95)
    12:09:06,562 ERROR [STDERR] ... 6 more
    12:09:06,562 ERROR [STDERR] Caused by: javax.management.JMRuntimeException: Failed to load MBeanServerBuilder class org.jboss.mx.server.MBeanServerBuilderImpl: java.lang.ClassNotFoundException: org.jboss.mx.se
    12:09:06,562 ERROR [STDERR] at javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:480)
    12:09:06,562 ERROR [STDERR] at javax.management.MBeanServerFactory.getNewMBeanServerBuilder(MBeanServerFactory.java:511)
    12:09:06,562 ERROR [STDERR] at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:298)
    12:09:06,562 ERROR [STDERR] at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:213)
    12:09:06,562 ERROR [STDERR] at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:174)
    12:09:06,562 ERROR [STDERR] at sun.management.ManagementFactory.createPlatformMBeanServer(ManagementFactory.java:302)
    12:09:06,562 ERROR [STDERR] at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:504)
    12:09:06,562 ERROR [STDERR] at sun.management.jmxremote.ConnectorBootstrap.startLocalConnectorServer(ConnectorBootstrap.java:412)
    12:09:06,562 ERROR [STDERR] at sun.management.Agent.startAgent(Agent.java:135)
    12:09:06,562 ERROR [STDERR] ... 7 more
    12:09:06,562 ERROR [STDERR] Caused by: java.lang.ClassNotFoundException: org.jboss.mx.server.MBeanServerBuilderImpl
    12:09:06,562 ERROR [STDERR] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    12:09:06,562 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native Method)
    12:09:06,562 ERROR [STDERR] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    12:09:06,562 ERROR [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    12:09:06,562 ERROR [STDERR] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    12:09:06,562 ERROR [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    12:09:06,562 ERROR [STDERR] at javax.management.MBeanServerFactory.loadBuilderClass(MBeanServerFactory.java:423)
    12:09:06,562 ERROR [STDERR] at javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:465)
    12:09:06,562 ERROR [STDERR] ... 15 more
    Agent failed to start!


    Any hints of what may be wrong

  • 4. Re: Can not load MBeanServerBuilderImpl
    Zied Hamdi Newbie

    I have the same problem under fedora 9 and JBoss developer studio 1.1 with its included JBoss as

    [Server] Release ID: JBoss [EAP] 4.3.0.GA_CP01 (build: SVNTag=JBPAPP_4_3_0_GA_CP01 date=200804211657) :


    I was runnung all under windows and everything was fine, now I installed a linux fedora 9 to be nearer to the deployement envirenment, everything is configured correctly but this error raises on server startup (under eclipse).



    09:41:34,357 INFO [DerbyDatabase] starting derby jdbc:derby:/home/zied/Programs/JBoss/jboss-eap/jboss-as/server/default/data/derby/default;create=true
    09:41:34,771 WARN [ServiceController] Problem starting service jboss:service=Derby
    java.lang.ExceptionInInitializerError
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Class.java:264)
     at org.jboss.jdbc.DerbyDatabase.getConnection(DerbyDatabase.java:222)
     at org.jboss.jdbc.DerbyDatabase.startService(DerbyDatabase.java:189)
     at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
     at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
     at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:616)
     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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
     at $Proxy0.start(Unknown Source)
     at org.jboss.system.ServiceController.start(ServiceController.java:417)
     at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:616)
     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.start(Unknown Source)
     at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
     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:616)
     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 $Proxy42.start(Unknown Source)
     at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
     at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
     at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
     at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
     at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:616)
    
     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 $Proxy9.deploy(Unknown Source)
     at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
     at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
     at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
     at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
     at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
     at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
     at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:616)
     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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
     at $Proxy0.start(Unknown Source)
     at org.jboss.system.ServiceController.start(ServiceController.java:417)
     at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:616)
     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.start(Unknown Source)
     at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
     at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
     at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
     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:57)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
     at java.lang.reflect.Method.invoke(Method.java:616)
     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:636)
    Caused by: javax.management.JMRuntimeException: Failed to load MBeanServerBuilder class org.jboss.mx.server.MBeanServerBuilderImpl: java.lang.ClassNotFoundException: org/jboss/mx/server/MBeanServerBuilderImpl
     at javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:498)
     at javax.management.MBeanServerFactory.getNewMBeanServerBuilder(MBeanServerFactory.java:534)
     at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:314)
     at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:229)
     at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:190)
     at sun.management.ManagementFactory.createPlatformMBeanServer(ManagementFactory.java:320)
     at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:521)
     at org.apache.derby.impl.services.jmx.JMXManagementService$3.run(Unknown Source)
     at org.apache.derby.impl.services.jmx.JMXManagementService$3.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at org.apache.derby.impl.services.jmx.JMXManagementService.findServer(Unknown Source)
     at org.apache.derby.impl.services.jmx.JMXManagementService.boot(Unknown Source)
     at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
     at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
     at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
     at org.apache.derby.iapi.services.monitor.Monitor.startSystemModule(Unknown Source)
     at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(Unknown Source)
     at org.apache.derby.impl.services.monitor.FileMonitor.<init>(Unknown Source)
     at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Unknown Source)
     at org.apache.derby.iapi.jdbc.JDBCBoot.boot(Unknown Source)
     at org.apache.derby.jdbc.EmbeddedDriver.boot(Unknown Source)
     at org.apache.derby.jdbc.EmbeddedDriver.<clinit>(Unknown Source)
     ... 110 more
    Caused by: java.lang.ClassNotFoundException: org/jboss/mx/server/MBeanServerBuilderImpl
     at java.lang.Class.forName0(Native Method)
     at java.lang.Class.forName(Class.java:186)
     at javax.management.MBeanServerFactory.loadBuilderClass(MBeanServerFactory.java:445)
     at javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:483)
     ... 131 more


  • 5. Re: Can not load MBeanServerBuilderImpl
    jaikiran pai Master

    I don't use the EAP version of JBoss, but on JBoss-4.2.3 GA i see that this class is available in %JBOSS_HOME%\lib\jboss-jmx.jar. Do you see it in this jar?

    Also, please post the entire console log starting from the point when the server starts.

  • 6. Re: Can not load MBeanServerBuilderImpl
    Ankita Malviya Newbie

    I am working on jboss and I am trying to connect through jconsole to my localhost as Remote Process: localhost:18080 but i m unable to connect to the localhost so that i can see the performance. connection failed:error during JRMP connection establishment;nested exception is: java.io.EOFException.

  • 7. Re: Can not load MBeanServerBuilderImpl
    Ankita Malviya Newbie

    I am using profiler4j in jboss to get the performance graph along with thread , memory usage, etc. It is showing class names, memory usage and thread information but is not showing caller graph.

    Can anyone tell the reason behind it and the solution for it

  • 8. Re: Can not load MBeanServerBuilderImpl
    Ankita Malviya Newbie

    Can we make graph to show the execution time using profiler4j as we can make in perf4j using command line tool : -

    java -jar perf4j-0.9.12.jar --graph perfGraphs.html perfStats.log

    If we can then what is the way to make graph using profiler4j.

  • 9. Re: Can not load MBeanServerBuilderImpl
    Camilo Cuesta Newbie

    I'm getting the same problem. I'm trying to connect Jconsole 1.6 to JBoss 4.2.2 GA.

     

    The missing class, org/jboss/mx/server/MBeanServerBuilderImpl,is on the JBOSS_HOME\lib\jboss-jmx.jar file, which is also present. So why can't it found it?

     

    I tried to add this jar to the jboss classpath in the run.sh or run.bat file, as Peter Doornbosch suggested. But it doesn't solve the problem, and it keeps asking for the other jars that are on the lib folder, until it asks for jboss-system.jar, which causes this exception:

     

    Listening for transport dt_socket at address: 8787

    Failed to boot JBoss:

    javax.management.NotCompliantMBeanException: Cannot register MBean: jboss.system:service=ServiceController

     

    Somehow it doesn't make sense to add jars to the classpath, that are already on the lib directory.

     

    Does anyone know how to solve this problem?