Search code examples
jconsole

JConsole Config


in JBoss' run.bat, add:

set JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote - 
Dcom.sun.management.jmxremote.port=9987 - 
Dcom.sun.management.jmxremote.ssl=false - 
Dcom.sun.management.jmxremote.authenticate=false

To start jconsole:

JDK/bin>jconsole localhost:9987

Solution

  • Yes, that should work. If it doesn't, then use 'ps' (or your platform's equivalent) to check whether those arguments are making it on the JVM's command line.

    Was that the question?