[jboss-jira] [JBoss JIRA] (AS7-3551) Rewrite EndpointRecordProcessorDeploymentAspect to don't use MBeanServer

Richard Opalka (JIRA) jira-events at lists.jboss.org
Wed Feb 1 09:50:49 EST 2012


Richard Opalka created AS7-3551:
-----------------------------------

             Summary: Rewrite EndpointRecordProcessorDeploymentAspect to don't use MBeanServer
                 Key: AS7-3551
                 URL: https://issues.jboss.org/browse/AS7-3551
             Project: Application Server 7
          Issue Type: Bug
          Components: Web Services
    Affects Versions: 7.1.0.CR1b, 7.1.0.CR1
            Reporter: Richard Opalka
            Assignee: Richard Opalka
             Fix For: 7.1.0.Final


Our EndpointRecordProcessorDeploymentAspect relies on AS7 runtime services that are not available on server shut down.
The reason is runtime MSC services EndpointRecordProcessorDeploymentAspect is depending on are stopped before aspect
stop() method is being called.
---
11:49:53,571 ERROR [org.jboss.as.webservices.deployers.EndpointRecordProcessorDeploymentAspect] Cannot unregister record processor with JMX server: javax.management.InstanceNotFoundException: jboss.ws:context=jaxws-samples-oneway,endpoint=TestService,recordProcessor=MemoryBufferRecorder
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094) [:1.6.0_29]
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.exclusiveUnregisterMBean(DefaultMBeanServerInterceptor.java:415) [:1.6.0_29]
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.unregisterMBean(DefaultMBeanServerInterceptor.java:403) [:1.6.0_29]
	at com.sun.jmx.mbeanserver.JmxMBeanServer.unregisterMBean(JmxMBeanServer.java:506) [:1.6.0_29]
	at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.unregisterMBean(PluggableMBeanServerImpl.java:575)
	at org.jboss.as.jmx.PluggableMBeanServerImpl.unregisterMBean(PluggableMBeanServerImpl.java:328)
	at org.jboss.ws.common.deployment.EndpointRecordProcessorDeploymentAspect.unregisterRecordProcessor(EndpointRecordProcessorDeploymentAspect.java:119) [jbossws-common.jar:2.0.1-SNAPSHOT]
	at org.jboss.ws.common.deployment.EndpointRecordProcessorDeploymentAspect.stop(EndpointRecordProcessorDeploymentAspect.java:90) [jbossws-common.jar:2.0.1-SNAPSHOT]
	at org.jboss.as.webservices.deployers.AspectDeploymentProcessor.undeploy(AspectDeploymentProcessor.java:102) [jboss-as-webservices-server-integration-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.safeUndeploy(DeploymentUnitPhaseService.java:167)
	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.stop(DeploymentUnitPhaseService.java:161)
	at org.jboss.msc.service.ServiceControllerImpl$StopTask.stopService(ServiceControllerImpl.java:1911)
	at org.jboss.msc.service.ServiceControllerImpl$StopTask.run(ServiceControllerImpl.java:1874)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_29]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_29]
	at java.lang.Thread.run(Thread.java:662) [:1.6.0_29]


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list