How to use jconsole to connect to AMX host/node through jmxmp protocol

How to use jconsole to connect to AMX host/node through jmxmp protocol

book

Article ID: KB0092559

calendar_today

Updated On:

Products Versions
TIBCO Hawk JMX Plug-in -
Not Applicable -

Description

Description:
Many methods provided by the Hawk AMX Plug-in get AMX's information/operate AMX by invoking the MBean methods provided by AMX host/node. To find out whether the issue is on AMX side or Hawk side, directly invoke the MBean methods. 

Issue/Introduction

How to use jconsole to connect to AMX host/node through jmxmp protocol

Resolution

The JMX URL of AMX host/node looks like "service:jmx:jmxmp://localhost:6051". To connect to the JMX URL through jconsole, start jconsole by the following command:

jconsole -J-Djava.endorsed.dirs=C:/tibco/components/shared/1.0.0/plugins/com.tibco.tpcl.com.sun.jmx.remote.optional_1.0.200.003/

Change "C:/tibco/components/shared/1.0.0/plugins/com.tibco.tpcl.com.sun.jmx.remote.optional_1.0.200.003/" to point to the folder containing jmxremote_optional.jar .