My Environment is JBoss 5.1 (Jdk 1.5.x) on Windown 7
I have started JConsole from JDK 1.6 bin folder, it picked up the local running above JBoss app. To take heap dump as mentioned in jconsole docs, but, in the MBeans tab, I am not seeing "com.sun.management" node in the tree.
I have mentioned the following JAVA_OPTS in the jboss run bat file:
-Dcom.sun.management.jmxremote.port=1234
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false