[jbossws-issues] [JBoss JIRA] (JBWS-3645) WorkQueueManager is not registered in JMX Server when cxf.management is enabled

Jim Ma (JIRA) jira-events at lists.jboss.org
Wed May 29 07:00:55 EDT 2013


     [ https://issues.jboss.org/browse/JBWS-3645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Ma updated JBWS-3645:
-------------------------

    Description: 
MBean of WorkQueueManger is not registered when If cxf.management is enabled in jboss-webservices.xml.




  was:
If the cxf.management is enabled from jboss-webservices.xml, the MBean of WorkQueueManger is not registered. 

When I force to register this Bean, there is exception thrown. It's possibly a bug in apache cxf:

00:08:28,155 ERROR [stderr] (MSC service thread 1-1) javax.management.NotCompliantMBeanException: MBean class org.apache.cxf.bus.managers.WorkQueueImplMBeanWrapper does not implement DynamicMBean, and neither follows the Standard MBean conventions (javax.management.NotCompliantMBeanException: Class org.apache.cxf.bus.managers.WorkQueueImplMBeanWrapper is not a JMX compliant Standard MBean) nor the MXBean conventions (javax.management.NotCompliantMBeanException: org.apache.cxf.bus.managers.WorkQueueImplMBeanWrapper: Class org.apache.cxf.bus.managers.WorkQueueImplMBeanWrapper is not a JMX compliant MXBean)
00:08:28,155 ERROR [stderr] (MSC service thread 1-1)     at com.sun.jmx.mbeanserver.Introspector.checkCompliance(Introspector.java:173)
00:08:28,156 ERROR [stderr] (MSC service thread 1-1)     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:317)
00:08:28,156 ERROR [stderr] (MSC service thread 1-1)     at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:513)
00:08:28,156 ERROR [stderr] (MSC service thread 1-1)     at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.registerMBean(PluggableMBeanServerImpl.java:552)
00:08:28,157 ERROR [stderr] (MSC service thread 1-1)     at org.jboss.as.jmx.PluggableMBeanServerImpl.registerMBean(PluggableMBeanServerImpl.java:320)
00:08:28,157 ERROR [stderr] (MSC service thread 1-1)     at org.apache.cxf.management.jmx.InstrumentationManagerImpl.registerMBeanWithServer(InstrumentationManagerImpl.java:331)
00:08:28,157 ERROR [stderr] (MSC service thread 1-1)     at org.apache.cxf.management.jmx.InstrumentationManagerImpl.register(InstrumentationManagerImpl.java:229)
00:08:28,158 ERROR [stderr] (MSC service thread 1-1)     at org.apache.cxf.management.jmx.InstrumentationManagerImpl.register(InstrumentationManagerImpl.java:246)
00:08:28,158 ERROR [stderr] (MSC service thread 1-1)     at org.apache.cxf.management.jmx.InstrumentationManagerImpl.register(InstrumentationManagerImpl.java:239)
00:08:28,158 ERROR [stderr] (MSC service thread 1-1)     at org.apache.cxf.bus.managers.WorkQueueManagerImpl.addNamedWorkQueue(WorkQueueManagerImpl.java:188)
00:08:28,159 ERROR [stderr] (MSC service thread 1-1)     at org.jboss.wsf.stack.cxf.configuration.BusHolder.setAdditionalWorkQueues(BusHolder.java:197)
00:08:28,159 ERROR [stderr] (MSC service thread 1-1)     at org.jboss.wsf.stack.cxf.configuration.BusHolder.configure(BusHolder.java:112)
00:08:28,159 ERROR [stderr] (MSC service thread 1-1)     at org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.configure(NonSpringBusHolder.java:90)
00:08:28,160 ERROR [stderr] (MSC service thread 1-1)     at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.startDeploymentBus(BusDeploymentAspect.java:129)
00:08:28,160 ERROR [stderr] (MSC service thread 1-1)     at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:67)
00:08:28,160 ERROR [stderr] (MSC service thread 1-1)     at org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:75)
00:08:28,161 ERROR [stderr] (MSC service thread 1-1)     at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159)
00:08:28,161 ERROR [stderr] (MSC service thread 1-1)     at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1974)
00:08:28,161 ERROR [stderr] (MSC service thread 1-1)     at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1907)
00:08:28,162 ERROR [stderr] (MSC service thread 1-1)     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
00:08:28,162 ERROR [stderr] (MSC service thread 1-1)     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
00:08:28,162 ERROR [stderr] (MSC service thread 1-1)     at java.lang.Thread.run(Thread.java:722)




    
> WorkQueueManager is not registered in JMX Server when cxf.management is enabled
> -------------------------------------------------------------------------------
>
>                 Key: JBWS-3645
>                 URL: https://issues.jboss.org/browse/JBWS-3645
>             Project: JBoss Web Services
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-cxf
>    Affects Versions: jbossws-cxf-4.1.3
>            Reporter: Jim Ma
>            Assignee: Jim Ma
>             Fix For: jbossws-cxf-4.2
>
>
> MBean of WorkQueueManger is not registered when If cxf.management is enabled in jboss-webservices.xml.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossws-issues mailing list