Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3551

Rewrite EndpointRecordProcessorDeploymentAspect to don't use MBeanServer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.Final
    • 7.1.0.CR1, 7.1.0.CR1b
    • Web Services
    • None

    Description

      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]

      Attachments

        Issue Links

          Activity

            People

              ropalka Richard Opalka
              ropalka Richard Opalka
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: