[
https://issues.apache.org/jira/browse/CXF-6539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Edwin resolved CXF-6539.
------------------------
Resolution: Not A Problem
Sorry, this is not an issue.
> Performance counters through MBeans doesn't work.
> -------------------------------------------------
>
> Key: CXF-6539
> URL: https://issues.apache.org/jira/browse/CXF-6539
> Project: CXF
> Issue Type: Bug
> Components: Management
> Affects Versions: 3.1.1
> Environment: JDK 1.8
> Reporter: Edwin
>
> We are creating the InstrumentationManager according to documentation and
> this all works fine in CXF 2.7.12.
> {code}
> <import resource="classpath:META-INF/cxf/cxf.xml"/>
> ...
>
> <bean id="org.apache.cxf.management.InstrumentationManager"
> class="org.apache.cxf.management.jmx.InstrumentationManagerImpl">
> <property name="enabled" value="true" />
> <property name="bus" ref="cxf" />
> <property name="usePlatformMBeanServer" value="true" />
> </bean>
> {code}
> But after a little debugging, I noticed that in CXF 3.1.1 the 'register'
> method in InstrumentationManagerImp is deprecated and the code has been moved
> to the end of the 'init' method though there is a difference. CXF 2.7.12 had:
> {code}
> bus.setExtension(this, InstrumentationManager.class);
> {code}
> but CXF 3.1.1 has:
> {code}
> this.bus.setExtension(this, BusLifeCycleListener.class);
> {code}
> Could this be the cause that performance counters through MBeans aren't
> working. Or do we need to change the configuration?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)