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

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

Using your configuration as-is in a Spring context file, I'm getting this error:

[9/3/11 12:11:56:832 EDT] 00000018 webapp        E 
com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E: [Servlet 
Error]-[WebServicePort]: 
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 16 
in XML document from URL 
[file:/opt/IBM/WebSphere/AppServer/profiles/AppSrv04/installedApps/localhostNode01Cell/service-ear.ear/service-war-1.0-SNAPSHOT.war/WEB-INF/cxf-servlet.xml]
 is invalid; nested exception is org.xml.sax.SAXParseException: 
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can 
be found for element 'context:mbean-server'.
        at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
        at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)

We need more configuration info in order to reproduce this issue.

> 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

        

Reply via email to