在 JBoss'run.bat
中,添加:
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
要启动 jconsole:
JDK/bin>jconsole localhost:9987