I don't know about your particular environment, so this information
might not directly help. But if you wanted to set the
usePlatformMBeanServer property of the cxf's instrumentation manager,
you would need to prefix this property name with "bus.jmx" as with the
other instrumentation manager properties that are configured via bus
properties.

regards, aki

2012/3/4 Jim Talbut <[email protected]>:
> Hi,
>
> I have a Spring-based war using CXF 2.5.2 that I am deploying to tomcat 7
> using JRE 7.
>
> In my spring config I have:
> <cxf:bus id="cxf" >
> <cxf:properties>
> <entry key="bus.jmx.enabled" value="true"/>
> <entry key="usePlatformMBeanServer" value="true" />
> </cxf:properties>
> </cxf:bus>
>
> In my log file I get this:
> INFO: Setting the server's publish address to be /Search
> Mar 03, 2012 7:38:35 PM
> org.apache.cxf.management.jmx.InstrumentationManagerImpl
> registerMBeanWithServer
> INFO: registering MBean
> org.apache.cxf:bus.id=cxf,type=Bus.Service.Endpoint,service="{http://service.docsearcher.groupgti.com/}DocSearcherService_ImplService",port="DocSearcherService_ImplPort":
> org.apache.cxf.endpoint.ManagedEndpoint@14c80702
> Mar 03, 2012 7:38:35 PM
> org.apache.cxf.management.jmx.InstrumentationManagerImpl
> registerMBeanWithServer
> INFO: registering MBean
> org.apache.cxf:bus.id=cxf,type=Bus.Service.Endpoint,service="{http://service.docsearcher.groupgti.com/}DocSearcherService_ImplService",port="DocSearcherService_ImplPort":
> javax.management.modelmbean.RequiredModelMBean@259b9a2d
>
> But when I connect to the process using jconsole I cannot see any CXF
> MBeans.
>
> Am I doing something stupid?
>
> Thanks.
>
> Jim
>

Reply via email to