[jboss-jira] [JBoss JIRA] Updated: (JBDEPLOY-158) Duplicate registration of subdeployment mbeans
Adrian Brock (JIRA)
jira-events at lists.jboss.org
Fri Feb 13 08:57:44 EST 2009
[ https://jira.jboss.org/jira/browse/JBDEPLOY-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian Brock updated JBDEPLOY-158:
----------------------------------
JBoss Forum Reference: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=150319
> Duplicate registration of subdeployment mbeans
> ----------------------------------------------
>
> Key: JBDEPLOY-158
> URL: https://jira.jboss.org/jira/browse/JBDEPLOY-158
> Project: JBoss Deployers
> Issue Type: Bug
> Components: maindeployer
> Reporter: Adrian Brock
> Assignee: Adrian Brock
> Fix For: JBDEPLOY-2.0.5.GA, JBDEPLOY-2.2.0.Alpha
>
>
> The MBeans for nested subdeployments are trying to be installed twice,
> once in the postRegister() of their own parent mbean and once in the postRegister() of its parent.
> This is a minor problem since it just issues a WARN and ignores the issue:
> 14:27:25,912 WARN [AbstractDeploymentContext] Unable to register deployment mbean vfszip:/D:/jboss5/server/default/deploy/toplevel.sar/subdeployment.sar/subdeployment2.xml
> javax.management.InstanceAlreadyExistsException: jboss.deployment:id="vfszip:/D:/jboss5/server/default/deploy/toplevel.sar/subdeployment.sar/subdeployment2.xml",type=SubDeployment already registered.
> at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:767)
> at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:236)
> at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
> at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
> at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
> at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1426)
> at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
> at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.registerMBeans(AbstractDeploymentContext.java:989)
> at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.registerMBeans(AbstractDeploymentContext.java:998)
> at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.registerMBeans(AbstractDeploymentContext.java:998)
> at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.postRegister(AbstractDeploymentContext.java:964)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list