synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Luis Pedrosa (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SYNAPSE-983) JMX management MBeans don't get unloaded in war distribution
Date Mon, 07 Oct 2013 09:10:42 GMT

     [ https://issues.apache.org/jira/browse/SYNAPSE-983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jose Luis Pedrosa updated SYNAPSE-983:
--------------------------------------

          Component/s: Deployment
               Labels: jboss jmx mbean war  (was: )
             Priority: Minor  (was: Major)
          Description: 
When the undeployment of synapse takes place, JMX management beans are not undeployed, so
on any re-deployment, it throws an error per MBeam.


10:56:51,340 INFO  [org.apache.commons.vfs2.impl.StandardFileSystemManager] (ServerService
Thread Pool -- 58) Using "/tmp/vfs_cache" as temporary files store.
10:56:51,483 WARN  [org.apache.axis2.transport.base.TransportMBeanSupport] (ServerService
Thread Pool -- 58) Error registering a MBean with objectname ' org.apache.synapse:Type=Transport,ConnectorName=nio-http-listener
' for JMX management: javax.management.InstanceAlreadyExistsException: org.apache.synapse:Type=Transport,ConnectorName=nio-http-listener
	at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437) [rt.jar:1.7.0_21]
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)
[rt.jar:1.7.0_21]
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)
[rt.jar:1.7.0_21]
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)
[rt.jar:1.7.0_21]
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)
[rt.jar:1.7.0_21]
	at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:513) [rt.jar:1.7.0_21]
	at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.registerMBean(PluggableMBeanServerImpl.java:551)
	at org.jboss.as.jmx.PluggableMBeanServerImpl.registerMBean(PluggableMBeanServerImpl.java:319)
	at org.apache.axis2.transport.base.TransportMBeanSupport.register(TransportMBeanSupport.java:91)
[axis2-transport-base-1.0.0.jar:]
	at org.apache.synapse.transport.nhttp.HttpCoreNIOListener.init(HttpCoreNIOListener.java:131)
[synapse-nhttp-transport-2.1.0.jar:2.1.0]
	at org.apache.axis2.engine.ListenerManager.init(ListenerManager.java:83) [axis2-kernel-1.6.1.jar:1.6.1]
	at org.apache.synapse.Axis2SynapseController.createNewInstance(Axis2SynapseController.java:615)
[synapse-core-2.1.0.jar:2.1.0]
	at org.apache.synapse.Axis2SynapseController.init(Axis2SynapseController.java:128) [synapse-core-2.1.0.jar:2.1.0]
	at org.apache.synapse.ServerManager.doInit(ServerManager.java:405) [synapse-core-2.1.0.jar:2.1.0]
	at org.apache.synapse.ServerManager.init(ServerManager.java:106) [synapse-core-2.1.0.jar:2.1.0]
	at org.apache.synapse.core.axis2.SynapseStartUpServlet.init(SynapseStartUpServlet.java:57)
[synapse-core-2.1.0.jar:2.1.0]
	at javax.servlet.GenericServlet.init(GenericServlet.java:242) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1194) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1100) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3591) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3798) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
	at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
	at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
	at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_21]
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_21]
	at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_21]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_21]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21]
	at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
	at org.jboss.threads.JBossThread.run(JBossThread.java:122)

10:56:51,491 WARN  [org.apache.axis2.transport.base.TransportMBeanSupport] (ServerService
Thread Pool -- 58) Error registering a MBean with objectname ' org.apache.synapse:Type=Transport,ConnectorName=vfs-listener
' for JMX management: javax.management.InstanceAlreadyExistsException: org.apache.synapse:Type=Transport,ConnectorName=vfs-listener
	at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437) [rt.jar:1.7.0_21]
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)
[rt.jar:1.7.0_21]
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)
[rt.jar:1.7.0_21]
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)
[rt.jar:1.7.0_21]
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)
[rt.jar:1.7.0_21]
	at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:513) [rt.jar:1.7.0_21]
	at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.registerMBean(PluggableMBeanServerImpl.java:551)
	at org.jboss.as.jmx.PluggableMBeanServerImpl.registerMBean(PluggableMBeanServerImpl.java:319)
	at org.apache.axis2.transport.base.TransportMBeanSupport.register(TransportMBeanSupport.java:91)
[axis2-transport-base-1.0.0.jar:]
	at org.apache.axis2.transport.base.AbstractTransportListener.init(AbstractTransportListener.java:137)
[axis2-transport-base-1.0.0.jar:]
	at org.apache.axis2.transport.base.AbstractTransportListenerEx.init(AbstractTransportListenerEx.java:52)
[axis2-transport-base-1.0.0.jar:]
	at org.apache.axis2.transport.base.AbstractPollingTransportListener.init(AbstractPollingTransportListener.java:43)
[axis2-transport-base-1.0.0.jar:]
	at org.apache.synapse.transport.vfs.VFSTransportListener.init(VFSTransportListener.java:135)
[synapse-vfs-transport-2.1.0.jar:2.1.0]
	at org.apache.axis2.engine.ListenerManager.init(ListenerManager.java:83) [axis2-kernel-1.6.1.jar:1.6.1]
	at org.apache.synapse.Axis2SynapseController.createNewInstance(Axis2SynapseController.java:615)
[synapse-core-2.1.0.jar:2.1.0]
	at org.apache.synapse.Axis2SynapseController.init(Axis2SynapseController.java:128) [synapse-core-2.1.0.jar:2.1.0]
	at org.apache.synapse.ServerManager.doInit(ServerManager.java:405) [synapse-core-2.1.0.jar:2.1.0]
	at org.apache.synapse.ServerManager.init(ServerManager.java:106) [synapse-core-2.1.0.jar:2.1.0]
	at org.apache.synapse.core.axis2.SynapseStartUpServlet.init(SynapseStartUpServlet.java:57)
[synapse-core-2.1.0.jar:2.1.0]
	at javax.servlet.GenericServlet.init(GenericServlet.java:242) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1194) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1100) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3591) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3798) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
	at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
	at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
	at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93) [jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_21]
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_21]
	at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_21]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_21]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21]
	at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
	at org.jboss.threads.JBossThread.run(JBossThread.java:122)



          Environment: JBOss AS 7
    Affects Version/s: 2.1
              Summary: JMX management MBeans don't get unloaded in war distribution  (was:
JMX management MBeans don)

> JMX management MBeans don't get unloaded in war distribution
> ------------------------------------------------------------
>
>                 Key: SYNAPSE-983
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-983
>             Project: Synapse
>          Issue Type: Bug
>          Components: Deployment
>    Affects Versions: 2.1
>         Environment: JBOss AS 7
>            Reporter: Jose Luis Pedrosa
>            Assignee: Hiranya Jayathilaka
>            Priority: Minor
>              Labels: jboss, jmx, mbean, war
>
> When the undeployment of synapse takes place, JMX management beans are not undeployed,
so on any re-deployment, it throws an error per MBeam.
> 10:56:51,340 INFO  [org.apache.commons.vfs2.impl.StandardFileSystemManager] (ServerService
Thread Pool -- 58) Using "/tmp/vfs_cache" as temporary files store.
> 10:56:51,483 WARN  [org.apache.axis2.transport.base.TransportMBeanSupport] (ServerService
Thread Pool -- 58) Error registering a MBean with objectname ' org.apache.synapse:Type=Transport,ConnectorName=nio-http-listener
' for JMX management: javax.management.InstanceAlreadyExistsException: org.apache.synapse:Type=Transport,ConnectorName=nio-http-listener
> 	at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437) [rt.jar:1.7.0_21]
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)
[rt.jar:1.7.0_21]
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)
[rt.jar:1.7.0_21]
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)
[rt.jar:1.7.0_21]
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)
[rt.jar:1.7.0_21]
> 	at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:513) [rt.jar:1.7.0_21]
> 	at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.registerMBean(PluggableMBeanServerImpl.java:551)
> 	at org.jboss.as.jmx.PluggableMBeanServerImpl.registerMBean(PluggableMBeanServerImpl.java:319)
> 	at org.apache.axis2.transport.base.TransportMBeanSupport.register(TransportMBeanSupport.java:91)
[axis2-transport-base-1.0.0.jar:]
> 	at org.apache.synapse.transport.nhttp.HttpCoreNIOListener.init(HttpCoreNIOListener.java:131)
[synapse-nhttp-transport-2.1.0.jar:2.1.0]
> 	at org.apache.axis2.engine.ListenerManager.init(ListenerManager.java:83) [axis2-kernel-1.6.1.jar:1.6.1]
> 	at org.apache.synapse.Axis2SynapseController.createNewInstance(Axis2SynapseController.java:615)
[synapse-core-2.1.0.jar:2.1.0]
> 	at org.apache.synapse.Axis2SynapseController.init(Axis2SynapseController.java:128) [synapse-core-2.1.0.jar:2.1.0]
> 	at org.apache.synapse.ServerManager.doInit(ServerManager.java:405) [synapse-core-2.1.0.jar:2.1.0]
> 	at org.apache.synapse.ServerManager.init(ServerManager.java:106) [synapse-core-2.1.0.jar:2.1.0]
> 	at org.apache.synapse.core.axis2.SynapseStartUpServlet.init(SynapseStartUpServlet.java:57)
[synapse-core-2.1.0.jar:2.1.0]
> 	at javax.servlet.GenericServlet.init(GenericServlet.java:242) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
> 	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1194) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
> 	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1100) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
> 	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3591)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
> 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3798) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
> 	at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
> 	at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
> 	at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_21]
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_21]
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_21]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_21]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21]
> 	at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
> 	at org.jboss.threads.JBossThread.run(JBossThread.java:122)
> 10:56:51,491 WARN  [org.apache.axis2.transport.base.TransportMBeanSupport] (ServerService
Thread Pool -- 58) Error registering a MBean with objectname ' org.apache.synapse:Type=Transport,ConnectorName=vfs-listener
' for JMX management: javax.management.InstanceAlreadyExistsException: org.apache.synapse:Type=Transport,ConnectorName=vfs-listener
> 	at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437) [rt.jar:1.7.0_21]
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)
[rt.jar:1.7.0_21]
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)
[rt.jar:1.7.0_21]
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)
[rt.jar:1.7.0_21]
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)
[rt.jar:1.7.0_21]
> 	at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:513) [rt.jar:1.7.0_21]
> 	at org.jboss.as.jmx.PluggableMBeanServerImpl$TcclMBeanServer.registerMBean(PluggableMBeanServerImpl.java:551)
> 	at org.jboss.as.jmx.PluggableMBeanServerImpl.registerMBean(PluggableMBeanServerImpl.java:319)
> 	at org.apache.axis2.transport.base.TransportMBeanSupport.register(TransportMBeanSupport.java:91)
[axis2-transport-base-1.0.0.jar:]
> 	at org.apache.axis2.transport.base.AbstractTransportListener.init(AbstractTransportListener.java:137)
[axis2-transport-base-1.0.0.jar:]
> 	at org.apache.axis2.transport.base.AbstractTransportListenerEx.init(AbstractTransportListenerEx.java:52)
[axis2-transport-base-1.0.0.jar:]
> 	at org.apache.axis2.transport.base.AbstractPollingTransportListener.init(AbstractPollingTransportListener.java:43)
[axis2-transport-base-1.0.0.jar:]
> 	at org.apache.synapse.transport.vfs.VFSTransportListener.init(VFSTransportListener.java:135)
[synapse-vfs-transport-2.1.0.jar:2.1.0]
> 	at org.apache.axis2.engine.ListenerManager.init(ListenerManager.java:83) [axis2-kernel-1.6.1.jar:1.6.1]
> 	at org.apache.synapse.Axis2SynapseController.createNewInstance(Axis2SynapseController.java:615)
[synapse-core-2.1.0.jar:2.1.0]
> 	at org.apache.synapse.Axis2SynapseController.init(Axis2SynapseController.java:128) [synapse-core-2.1.0.jar:2.1.0]
> 	at org.apache.synapse.ServerManager.doInit(ServerManager.java:405) [synapse-core-2.1.0.jar:2.1.0]
> 	at org.apache.synapse.ServerManager.init(ServerManager.java:106) [synapse-core-2.1.0.jar:2.1.0]
> 	at org.apache.synapse.core.axis2.SynapseStartUpServlet.init(SynapseStartUpServlet.java:57)
[synapse-core-2.1.0.jar:2.1.0]
> 	at javax.servlet.GenericServlet.init(GenericServlet.java:242) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
> 	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1194) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
> 	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1100) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
> 	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3591)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
> 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3798) [jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
> 	at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:156)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
> 	at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:60)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
> 	at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:93)
[jboss-as-web-7.2.0.Final-redhat-8.jar:7.2.0.Final-redhat-8]
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_21]
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [rt.jar:1.7.0_21]
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166) [rt.jar:1.7.0_21]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_21]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_21]
> 	at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_21]
> 	at org.jboss.threads.JBossThread.run(JBossThread.java:122)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message