cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edwin (JIRA)" <j...@apache.org>
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
                 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)

Mime
View raw message