I'm currently running Karaf 2.2.0 with Pax-Web 0.8.0, and have been unable to get JMX monitoring of Jetty running inside of Karaf. Below is the contents of my ./etc/jetty.xml document. Could someone let me know what I'm doing wrong?
<?xml version="1.0"?> <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting// DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd"> <Configure class="org.eclipse.jetty.server.Server"> <Call name="addConnector"> <Arg> <New class="org.eclipse.jetty.server.nio.SelectChannelConnector"> <Set name="host"><Property name="jetty.host" /></Set> <Set name="port"><Property name="jetty.port" default="8080"/></Set> <Set name="maxIdleTime">300000</Set> <Set name="Acceptors">2</Set> <Set name="statsOn">false</Set> <Set name="confidentialPort">8443</Set> <Set name="lowResourcesConnections">20000</Set> <Set name="lowResourcesMaxIdleTime">5000</Set> </New> </Arg> </Call> <Call id="MBeanServer" class="java.lang.management.ManagementFactory" name="getPlatformBeanServer"/> <New id="MBeanContainer" class="org.eclipse.jetty.jmx.MBeanContainer"> <Arg> <Ref id="MBeanServer"/> </Arg> </New> <Get id="Container" name="container"> <Call name="addEventListener"> <Ref id="MBeanContainer"/> </Call> </Get> </Configure> -----Mike Van (aka karafman) Karaf Team (Contributor)-- View this message in context: http://karaf.922171.n3.nabble.com/Jetty-JMX-in-Karaf-2-2-0-tp2881560p2881560.html Sent from the Karaf - User mailing list archive at Nabble.com.
