MX4J
MX4J is a great open source implementation of JMX 1.1. The project is hosted at http://mx4j.sf.net
. It has both a http web adaptor and a RMI based adaptor.
Connecting MC4J to MX4J
In order to connect MC4J to a MX4J server you will need to make sure that the MX4J JRMP adaptor has been started and is exposed.
Once the JRMP adaptor has been started, you can select the "MC4J for MX4J" from the explorer tab in the MC4J application. Right-click on the root node and selet "Connect.." to open the connection dialog. First choose a name for the connection. Next enter the name of the JRMP server in JNDI. The documentation example uses "jrmp" as the JNDI name. Next select "com.sun.jndi.rmi.registry.RegistryContextFactory" as the initial context factory. Then enter the url to the server in the form of "rmi://localhost:1099". Finally press "finish" to begin the loading of the MBeans.
Requirements
The MC4J console has only been tested against MX4J version 1.1.