cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edwin (JIRA)" <>
Subject [jira] [Created] (CXF-6539) Performance counters through MBeans doesn't work.
Date Thu, 13 Aug 2015 16:52:45 GMT
Edwin created CXF-6539:

             Summary: Performance counters through MBeans doesn't work.
                 Key: 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.

<import resource="classpath:META-INF/cxf/cxf.xml"/>
<bean id=""
  <property name="enabled" value="true" />
  <property name="bus" ref="cxf" />
  <property name="usePlatformMBeanServer" value="true" />

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:

bus.setExtension(this, InstrumentationManager.class);

but CXF 3.1.1 has:
this.bus.setExtension(this, BusLifeCycleListener.class);

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

View raw message