Hi all,
We are attempting to configure JMX monitoring for the Jetty instance (used
by cxf) embedded in Karaf. I have edited the jetty.xml as shown below and
can connect to Karaf via jconsole BUT I don't see the Jetty MBeans. Any
guidance is appreciated. Is there a better way to monitor the embedded
Jetty? Thanks!
-e
Jetty.xml:
....
<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>
...
-e
--
View this message in context:
http://karaf.922171.n3.nabble.com/How-to-connect-Jetty-JMX-MBeans-when-running-in-Karaf-tp4031171.html
Sent from the Karaf - User mailing list archive at Nabble.com.