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:
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
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.
Right-click a MBean and select Launch agent to launch a new agent to view the details of this selected MBean.
Related tasks
Monitoring a JMX enabled Tomcat Server
(C) Copyright IBM Corporation 2006, 2008. All Rights Reserved.