Hi, I am trying to enable JMX instrumentation in CXF 2.2.6 sample (wsdl_first_rpclit) but when I try to connect to server using JConsole I don't see any CXF MBeans. Do I need to do anything in addition to configuring Instrumentation manager?
Here is my cxf.xml that I am using to enable instrumentation. I am not updating any implementation to collect endpoint statistics just want to see cxf stats first like Bus. <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jaxws="http://cxf.apache.org/jaxws" xmlns:cxf="http://cxf.apache.org/core" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"> <bean id="org.apache.cxf.management.InstrumentationManager" class="org.apache.cxf.management.jmx.InstrumentationManagerImpl"> <property name="bus" ref="cxf" /> <property name="enabled" value="true" /> <property name="threaded" value="false" /> <property name="daemon" value="false" /> <property name="JMXServiceURL" value="service:jmx:rmi:///jndi/rmi://localhost:9914/jmxrmi" /> </bean> <!-- Wiring the counter repository --> <bean id="CounterRepository" class="org.apache.cxf.management.counters.CounterRepository"> <property name="bus" ref="cxf" /> </bean> </beans> Regards, Ulhas Bhole