[JBoss-dev] jboss-head status

Scott M Stark scott.stark at jboss.org
Thu Aug 24 17:33:11 EDT 2006


So I have redployment working cleanly, but now on shutdown mbeans 
implicitly added to the ServiceController by MBeanSupport lifecycle 
actions have errors like the following due to no longer being registered 
with the MBeanServer:

javax.management.InstanceNotFoundException: 
jboss.j2ee:service=EJB,plugin=pool,jndiName=cmp2/simple/Simple is not 
registered.
        at 
org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:527)
        at 
org.jboss.mx.server.MBeanServerImpl.unregisterMBean(MBeanServerImpl.java:383)
        at 
org.jboss.system.ServiceCreator.uninstall(ServiceCreator.java:309)
        at 
org.jboss.system.microcontainer.OnlyUnregisterAction.uninstallAction(OnlyUnregisterAction.java:45)
        at 
org.jboss.system.microcontainer.ServiceControllerContextAction.uninstall(ServiceControllerContextAction.java:90)
        at 
org.jboss.dependency.plugins.AbstractControllerContextActions.uninstall(AbstractControllerContextActions.java:58)
        at 
org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:236)
        at 
org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:723)
        at 
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:685)
        at 
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:613)
        at 
org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:223)
        at 
org.jboss.system.ServiceController.shutdown(ServiceController.java:549)


Why is the ServiceController trying to unregister mbeans it did not 
register?




More information about the jboss-development mailing list