Create new JBoss Tools Documentation Jira issue

This will launch the Jboss Tools Jira page - to complete your feedback please login if needed, and submit the Jira.

JBoss.orgCommunity Documentation

Chapter 2. JMX Tools Tasks

updated
2.1. Quick Start
2.2. Tomcat Managing
2.3. Eclipse Equinox Managing
2.4. Managing JBoss Instances
2.5. Extension Task
2.5.1. Why we should do that?
2.5.2. Core Extensions
2.5.3. UI Extensions
2.6. Connections Creation Task
2.6.1. The Default Connection

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

To start using the JMX Tools, it's necessary to open MBean Explorer. Go to Window > Show View > Other and then select MBean Explorer and click OK.

The MBean Explorer lists all of the domains, mbeans, attributes, and operations inside a connection. When you double-click on a MBean in the MBean Explorer, it opens a multi-page editor to manage the MBean. The MBean Editor is composed of these pages:

It's possible to manage Tomcat using JMX Tools.

Currently, JMX Tooling is able to connect to Tomcat without authentication or with password-based authentication.

Using SSL for authentication is not supported: you need to make sure that the System property com.sun.management.jmxremote.ssl is set to false.

More information to manage Tomcat can be found in Tomcat management documentation.

Instructions to manage remotely Tomcat are available in Tomcat's monitoring documentation.

You can manage Equinox through the Equinox monitoring framework.

Once you have installed the Equinox monitoring framework and restarted Eclipse:

You now have access to the MBeans exposed by Equinox.

Managing JBoss instances is not supported with the JMX Tools alone. You must also download and install the AS Tools portion of the JBoss Tools distribution. Even after installing the proper tooling, you cannot create a JBoss JMX connection yourself or through the Connection Wizard. The first step is to create a JBoss Server. The full instructions for this can be found in the AS Tools section, however, the short summary is:

Now you can explore MBeans exposed by a JBoss instance.

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

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.