JBoss.orgCommunity Documentation

JMX Tools Reference Guide

Version: 1.0.0.GA

December 2008


1. Introduction
1.1. Requirements
1.2. History
1.3. Installation
1.4. Quick Start
2. MBean Explorer
3. MBean Editor
3.1. Notifications Page
4. Connections
4.1. The Default Connection
5. How to ...
5.1. How to Manage Tomcat
5.2. How to manage Eclipse Equinox
5.3. Managing JBoss Instances
6. Extension API
6.1. Why??
6.2. Core Extensions
6.3. UI Extensions

JMX Tools allows to setup multiple JMX connections and provides view for exploring the JMX tree and execute operations directly from Eclipse.

This chapter covers the basics of working with JMX plugin, which is used to manage Java applications through JMX and its RMI Connector.


JBoss Tools' JMX project is a fork of eclipse-jmx, a project by Jeff Mesnil. It was forked with permission.

The MBean Explorer displays the MBean features (both attributes and operations) in its hierarchy. Double-clicking on a feature will open a MBean Editor, display the page corresponding to the feature type and select the feature.


Since it's possible to have many MBean Editors opened at the same time, the MBean Explorer has the Link With Editor button to synchronize selections between the active MBean Editor and the MBean Explorer (and vice versa).

The MBean Explorer has also a filter text that can be used to filter among all the MBeans the few ones, which interest you.

For example, if you are only interested by MBeans related to memory, typing memo will show any node (domain, mbean, attribute, or operation) that matches that text, as well as that node's parents and children. So if an MBean matches, all attributes and operations from that bean will show. If, however, an attribute or operation name (a leaf node) matches, only that node and its parents in the tree will show.


The Collapse All button on the MBean Explorer toolbar is used to collapse all the MBeans and display only the domains. It is also possible to double click on a node to expand/collapse it.


The MBean Editor is composed of several pages:

  • the Attributes page

  • the Operations page

  • the Notifications page

  • the Info page

The Attributes and Operations pages display a list for either the MBean attributes or operations as well as details for the selection.

It is possible to toggle the layout between the list and the details either vertically (by default) or horizontally with the help of the special icons in the right top corner of the editor.


The MBean Explorer supports several different types of connections. The tooling itself comes only with a default connection type, however other adopters can provide additional connection types that may require additional or non-spec behavior. Connections can be in either the connected state or the disconnected state. Some connection types (such as the default connection type) allow you to control the current state. Other connection types may not.

Similarly, some connection types may be able to be created, and others may not. The default connection type, for example, can be created and deleted by you at will. The AS Tools connection type, which represents a JBoss server, does not allow you this level of control. A JBoss JMX connection is created when a JBoss server is created in the server's view, and deleted when said server is deleted. The JMX connection for this server is in the connected state only when the server is started.

This chapter will give you answers on most popular questions asked by JMX plugin users.

This chapter will outline how to contribute your own Server type with some default behavior.