This issue is still existing.
How to reproduce:
1. start default profile with set log level > DEBUG
2. copy a file from testsuite/output/lib/bean1ejb-not.ajar, rename it bean1ejb-not.jar,
copy into deploy directory
3. ejb deployed and delete that jar to make undeployed
4. shutdown server instance and we can get the issue log nearby end of the server.log
anonymous wrote :
| 2009-04-10 09:06:57,478 DEBUG [org.jboss.system.ServiceCreator] (JBoss Shutdown Hook)
Error unregistering mbean
| jboss.j2ee:service=EJB,plugin=pool,jndiName=Bean1EJB
| javax.management.InstanceNotFoundException:
jboss.j2ee:service=EJB,plugin=pool,jndiName=Bean1EJB is not registered.
| at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:529)
| at org.jboss.mx.server.MBeanServerImpl.unregisterMBean(MBeanServerImpl.java:383)
| at org.jboss.system.ServiceCreator.uninstall(ServiceCreator.java:323)
| ...
|
The issue:
EjbModule.destroyService()
| serviceController.destroy(jmxName);
| serviceController.remove(jmxName);
|
here jmxName is jboss.j2ee:jndiName=Bean1EJB,service=EJB
in SessionContainer.destroyService
| destroyInstancePool();
|
it also destroy jboss.j2ee:service=EJB,plugin=pool,jndiName=Bean1EJB
but it does NOT remove jboss.j2ee:service=EJB,plugin=pool,jndiName=Bean1EJB in remove
method.
When server shutdown, it try to find jboss.j2ee:service=EJB,plugin=pool,jndiName=Bean1EJB,
the exception throws.
Any suggestion about how to fix it?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224833#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...