The Core Jetty project has been fully instrumented with JMX, including MBeans for:
JMX instrumentation makes it easy to integrate Jetty management into standards based managment system of your J2EE server and/or application. The Jetty MBeans are moving towards providing key parts of JSR 77 - J2EE Management.The JMX classes are included in the main jetty source tree and are built if a JMX implementation can be found (The reference implementation is included in the ext directory). To start the JMX version of Jetty use:
java -Dmain.class=org.mortbay.xml.XmlConfiguration -jar start.jar etc/jetty-jmx.xmlThe Jetty demo can be run as JMX enabled with:
java -Dmain.class=org.mortbay.xml.XmlConfiguration -jar start.jar etc/demo-jmx.xml[ NB. When using java >= 1.5 you will need to add -Djavax.management.builder.initial=mx4j.server.MX4JMBeanServerBuilder to the command line to avoid a clash with the builting JMX implementation ]
By default, the mx4j MBean agent is run at http://localhost:8082.