Instrumentation MBean fails to register with Websphere MBean Server
-------------------------------------------------------------------
Key: CXF-2983
URL: https://issues.apache.org/jira/browse/CXF-2983
Project: CXF
Issue Type: Bug
Components: Bus
Affects Versions: 2.2.9
Reporter: Josh Cummings
With the following configuration:
<context:mbean-server id="mbeanServer"/>
<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="createMBServerConnectorFactory" value="false"/>
<property name="server" ref="mbeanServer"/>
</bean>
On WebSphere, MBean registration will fail on startup with the following error:
javax.management.NotCompliantMBeanException: MBean class
org.apache.cxf.bus.ManagedBus does not implement DynamicMBean, neither follows
the Standard MBean conventions (javax.management.NotCompliantMBeanException:
Class org.apache.cxf.bus.ManagedBus is not a JMX compliant Standard MBean) nor
the MXBean conventions (javax.management.NotCompliantMBeanException:
org.apache.cxf.bus.ManagedBus: Class org.apache.cxf.bus.ManagedBus is not a JMX
compliant MXBean)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.