Jconsole: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= =Overview= =Configuring jconsole to Connect to a WildFly Instance= ==Set the Classpath== Start jconsole with the following classpath: <pre> $JAVA_HOME/lib/jcon...") |
|||
(16 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=Internal= | =Internal= | ||
* [[JMX_Access_to_Standalone_EAP_6#JMX_Client_Classpath_and_Startup_Options|JMX Access to Standalone EAP 6]] | |||
=Overview= | =Overview= | ||
=Configuring jconsole to Connect to a WildFly Instance= | =Configuring jconsole to Connect over JMX to a WildFly Instance= | ||
== | ==jconsole Classpath and Startup Options== | ||
jconsole must be started with the following classpath: | |||
<pre> | |||
-Djava.class.path=${JAVA_HOME}/lib/jconsole.jar:${JAVA_HOME}/lib/tools.jar:${JBOSS_HOME}/bin/client/jboss-cli-client.jar | |||
</pre> | |||
jconsole must also receive the following system property on command line: | |||
<pre> | <pre> | ||
-Dmodule.path=${JBOSS_HOME}/modules | |||
</pre> | </pre> | ||
The full command line is: | |||
<pre> | <pre> | ||
jconsole -J- | 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> | ||
==Connect to a "Remote Process"== | |||
<br> | |||
[[Image:jconsole_Remote_Process.png|center]] | |||
Use the following URLs: | |||
* [[JMX_Access_to_Standalone_EAP_6#URL|For Standalone EAP 6]] | |||
* [[JMX_Access_to_EAP_6_Host_Controller#URL|For EAP 6 Host Controller]] | |||
* [[JMX_Access_to_Domain_Mode_EAP_6_Server_Node#URL|For EAP 6 Domain Mode Server Node]] | |||
* [[JMX_Access_To_Standalone_EAP_7#URL|For Standalone EAP 7]] | |||
* [[JMX_Access_to_EAP_7_Host_Controller#URL|For EAP 7 Host Controller]] | |||
* [[JMX_Access_to_Domain_Mode_EAP_7_Server_Node#URL|For EAP 7 Domain Mode Server Node]] |
Latest revision as of 05:56, 19 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: