I can run JConsole and see the app, but none of the jboss mbeans are showing up.
I tried setting the following properties:
-Dcom.sun.management.jmxremote
-Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl
-Djboss.platform.mbeanserver
from the jboss docs to bring up JConsole with the jboss beans, but I get the
following exception:
run:
[java] javax.management.JMRuntimeException: Failed to load
MBeanServerBuilder class org.jboss.system.server.jmx.MBe
anServerBuilderImpl: java.lang.ClassNotFoundException:
org.jboss.system.server.jmx.MBeanServerBuilderImpl
[java] at
javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:499)
[java] at
javax.management.MBeanServerFactory.getNewMBeanServerBuilder(MBeanServerFactory.java:530)
[java] at
javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:304)
[java] at
javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:219)
[java] at
javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:180)
[java] at
sun.management.ManagementFactory.createPlatformMBeanServer(ManagementFactory.java:264)
[java] at
java.lang.management.ManagementFactory.getPlatformMBeanServer(ManagementFactory.java:512)
[java] at
sun.management.jmxremote.ConnectorBootstrap.startLocalConnectorServer(ConnectorBootstrap.java:385)
[java] at sun.management.Agent.premain(Agent.java:92)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at sun.management.Agent.startAgent(Agent.java:197)
[java] Caused by: java.lang.ClassNotFoundException:
org.jboss.system.server.jmx.MBeanServerBuilderImpl
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
[java] at
javax.management.MBeanServerFactory.loadBuilderClass(MBeanServerFactory.java:441)
[java] at
javax.management.MBeanServerFactory.checkMBeanServerBuilder(MBeanServerFactory.java:484)
[java] ... 13 more
Is there some console that I can use that will display the management beans?
Thanks,
Adrian
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907685#3907685
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3907685
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user