JBoss 4.2.x JConsole MyEclipse Java 1.6u10
To get JConsole to successfully connect to JBoss 4.2.2 under Java 1.6.0_10 started from MyEclipse 6.6.0 based upon Eclipse 3.3.2, I had to add the following to the VM arguments:
Don't load JBoss MBeans - reduced clutter
-Dcom.sun.management.jmxremote
JBoss
-Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl
-Djboss.platform.mbeanserver
-Dcom.sun.management.jmxremote
Remote JConsole connection args
hostName:portNum
service:jmx:rmi:///jndi/rmi://hostName:portNum/jmxrmi
Remote config args
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=6002
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
Comments