What steps will reproduce the defect?
1. Install eclipse Indigo
2. Install jboss 4.2.3 GA
3. Install JVM Monitor using Help-Install new Software
4. Start jboss-4.2.3 with eclipse
5. Start monitoring of jboss under JVM Monitor
6. Stop monitoring
7. Restart jboss
8. Start jboss
What is the expected behavior?
Jboss would start normally and monitoring is possible
What was the actual behavior?
Jboss started with error and monitoring is not possible. Message given is "Monitoring is not supported for the selected JVM. ()"
What errors are shown on Error Log view or at <workspace>/.metadata/.log?
13:35:50,962 INFO [Server] Core system initialized
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:480)
at javax.management.MBeanServerFactory.getNewMBeanServerBuilder(MBeanServerFactory.java:511)
at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:298)
at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:213)
at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:174)
at sun.management.ManagementFactory.createPlatformMBeanServer(ManagementFactory.java:302)
at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:504)
at sun.management.jmxremote.ConnectorBootstrap.startLocalConnectorServer(ConnectorBootstrap.java:458)
at sun.management.Agent.startAgent(Agent.java:135)
at sun.management.Agent.agentmain(Agent.java:95)
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 sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:325)
at sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(InstrumentationImpl.java:348)
Caused by: java.lang.ClassNotFoundException:
org.jboss.mx.server.MBeanServerBuilderImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at javax.management.MBeanServerFactory.loadBuilderClass(MBeanServerFactory.java:423)
at javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:465)
... 15 more
Exception thrown by the agent : javax.management.JMRuntimeException: Failed to
load MBeanServerBuilder class org.jboss.mx.server.MBeanServerBuilderImpl:
java.lang.ClassNotFoundException: org.jboss.mx.server.MBeanServerBuilderImpl
Exception in thread "Attach Listener"
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 sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:325)
at sun.instrument.InstrumentationImpl.loadClassAndCallAgentmain(InstrumentationImpl.java:348)
Caused by: java.lang.RuntimeException: javax.management.JMRuntimeException:
Failed to load MBeanServerBuilder class
org.jboss.mx.server.MBeanServerBuilderImpl: java.lang.ClassNotFoundException:
org.jboss.mx.server.MBeanServerBuilderImpl
at sun.management.Agent.error(Agent.java:309)
at sun.management.Agent.startAgent(Agent.java:153)
at sun.management.Agent.agentmain(Agent.java:95)
... 6 more
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:480)
at javax.management.MBeanServerFactory.getNewMBeanServerBuilder(MBeanServerFactory.java:511)
at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:298)
at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:213)
at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:174)
at sun.management.ManagementFactory.createPlatformMBeanServer(ManagementFactory.java:302)
at java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:504)
at sun.management.jmxremote.ConnectorBootstrap.startLocalConnectorServer(ConnectorBootstrap.java:458)
at sun.management.Agent.startAgent(Agent.java:135)
... 7 more
Caused by: java.lang.ClassNotFoundException:
org.jboss.mx.server.MBeanServerBuilderImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at javax.management.MBeanServerFactory.loadBuilderClass(MBeanServerFactory.java:423)
at javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:465)
... 15 more
Agent failed to start!
What is your environment for Eclipse?
OS: OpenSuse 11.2 2.6.31.14 x86_64
Eclipse: Indigo 3.7.0
JVM Monitor: 3.7.0 beta
Java: Sun JDK 6 1.6.0_24
What is your environment for the monitored JVM?
localhost
Original issue reported on code.google.com by stepan1...@gmail.com on 5 Aug 2011 at 11:47
Original issue reported on code.google.com by
stepan1...@gmail.com
on 5 Aug 2011 at 11:47