Sun GlassFish Enterprise Server v2.1.1 Developer's Guide

The MBeanServer in the Enterprise Server

Custom MBeans are registered in the PlatformMBeanServer returned by the method. This MBeanServer is associated with a standard JMX connector server.

You can use any JMX connector to look up MBeans in this MBeanServer just as you would any other MBeanServer. If your JMX connector is remote, you can connect to this MBeanServer using the following information:

For example, if you use JConsole, you can enter this information under the Remote tab. JConsole is a generic JMX connector you can use to look up and manage MBeans. For more information about JConsole, see, the JMX tutorial at, and Using JConsole in Sun GlassFish Enterprise Server v2.1.1 Administration Guide.

The connection to this MBeanServer is non-SSL by default for the developer profile and SSL by default for the cluster profile.

If SSL is enabled, you must provide the location of the truststore that contains the server certificate that the JMX connector should trust. For example, if you are using JConsole, you supply this location at the command line as follows:


Look up the MBean by its name. By default, the name is the same as the implementation class.

You can reconfigure the JMX connector server's naming service port in one of the following ways: