Jconsole: Difference between revisions
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
<pre> | <pre> | ||
$JAVA_HOME/lib/jconsole.jar:$JAVA_HOME/lib/tools.jar:$JBOSS_HOME/bin/client/jboss-cli-client.jar | -Djava.class.path=${JAVA_HOME}/lib/jconsole.jar:${JAVA_HOME}/lib/tools.jar:${JBOSS_HOME}/bin/client/jboss-cli-client.jar | ||
</pre> | </pre> | ||
Line 16: | Line 16: | ||
<pre> | <pre> | ||
-Dmodule.path=$JBOSS_HOME/modules | -Dmodule.path=${JBOSS_HOME}/modules | ||
</pre> | </pre> | ||
Line 23: | Line 23: | ||
<pre> | <pre> | ||
jconsole \ | jconsole \ | ||
-J-Djava.class.path=${JAVA_HOME}/lib/jconsole.jar:${JAVA_HOME}/lib/tools.jar:${JBOSS_HOME}/bin/client/jboss-cli-client.jar \ | |||
-J-Dmodule.path=${JBOSS_HOME}/modules</pre> | |||
</pre> | </pre> | ||
Revision as of 20:59, 18 October 2016
Internal
Overview
Configuring jconsole to Connect over JMX to a WildFly Instance
jconsole Classpath and Startup Options
jconsole must be started with the following classpath:
-Djava.class.path=${JAVA_HOME}/lib/jconsole.jar:${JAVA_HOME}/lib/tools.jar:${JBOSS_HOME}/bin/client/jboss-cli-client.jar
jconsole must also receive the following system property on command line:
-Dmodule.path=${JBOSS_HOME}/modules
The full command line is:
jconsole \ -J-Djava.class.path=${JAVA_HOME}/lib/jconsole.jar:${JAVA_HOME}/lib/tools.jar:${JBOSS_HOME}/bin/client/jboss-cli-client.jar \ -J-Dmodule.path=${JBOSS_HOME}/modules
Connect to a "Remote Process"
Use the following URLs: