Using the Managed Agent Explorer with JMX

The Managed Agent Explorer includes an agent implementation for JMX that allows it to retrieve and view the MBean's registered on a specified MBeanServer. The JMX resource option will be listed when creating a new Managed Resource launch configuration.

The first step is to instrument a Java application for JMX. If you wish to use the Build-to-Manage toolkit for Java instrumentation provided in TPTP to perform this JMX instrumentation please look at Managing a Java Application with JMX.

Open the Profile launch configuration management interface, and create a new launch configuration under Managed Resource:

Picture of the Profile launch configuration page for the Managed Resource type with JMX resource selected.

Select JMX resource under Monitor tab, and press the Edit Options button to configure JMX Service URL address.
If you want to retrieve the MBeans which are created and registered by Monitoring Instrumentation plug-in, you have to choose Embedded MBeanServer. If you want to view resources on any other MBeanServer, please choose Remote MBeanServer, and provide a valid address in Service URL text field

Picture of the JMX Managed Resource Configuration page

Return to the launch configuration page, and press the Profile button at the bottom to launch an agent to retrieve the MBean's information.
All MBeans registered on the specified MBeanServer will be retrieved and listed in the explorer.

Picture of the Managed Agent Explorer page with a resource selected and pop-up menu displayed.

Right-click a MBean and select Launch agent to launch a new agent to view the details of this selected MBean.

Picture of the Profiling Monitor and Managed Agent Explorer showing a managed resource.

Related tasks
Monitoring a JMX enabled Tomcat Server