You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Glen Mazza (JIRA)" <ji...@apache.org> on 2011/09/03 17:54:10 UTC

[jira] [Commented] (CXF-2983) Instrumentation MBean fails to register with Websphere MBean Server

    [ https://issues.apache.org/jira/browse/CXF-2983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096689#comment-13096689 ] 

Glen Mazza commented on CXF-2983:
---------------------------------

While I personally can't get MBeans to work with WebSphere either (http://www.jroller.com/gmazza/entry/viewing_web_service_mbeans), the CXF MBeans do run fine on both Tomcat and WebLogic.  Are you able to see the CXF MBeans from WebSphere (using JConsole perhaps) if you avoid the custom MBeanServer?

I don't believe there's a CXF bug, it looks like you have a configuration question better suited for googling / asking on the CXF User's list.


> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira