[jboss-dev-forums] [Design of POJO Server] - MBeanRegistration (ProfileService test configuration shut d

anil.saldhana@jboss.com do-not-reply at jboss.com
Fri Oct 10 12:39:40 EDT 2008


Scott,  I see that the profile service test configuration shut down > 10secs. This was just my first run. 

When I look in the log, I see 3 exceptions in unregistering mbeans. I paste one of them.


  | 2008-10-10 11:25:30,635 DEBUG [org.jboss.system.ServiceCreator] (JBoss Shutdown Hook) Removing mbean from server: jboss.j2ee:service=EJB,plugin=pool,jndiName=Bean1EJB
  | 2008-10-10 11:25:30,635 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:309)
  |         at org.jboss.system.microcontainer.OnlyUnregisterAction.uninstallAction(OnlyUnregisterAction.java:45)
  |         at org.jboss.system.microcontainer.OnlyUnregisterAction.uninstallAction(OnlyUnregisterAction.java:35)
  | 

ServiceCreator is trying to deregister the mbean when it has already been deregistered. Why?  :)


  | 2008-10-10 11:23:18,600 DEBUG [org.jboss.ejb.plugins.StatelessSessionInstancePool] (WorkerThread#1[127.0.0.1:59636]) Destroyed jboss.j2ee:service=EJB,plugin=pool,jndiName=Bean1EJB
  | 2008-10-10 11:23:18,600 DEBUG [org.jboss.ejb.StatelessSessionContainer] (WorkerThread#1[127.0.0.1:59636]) Destroyed jboss.j2ee:jndiName=Bean1EJB,service=EJB
  | 2008-10-10 11:23:18,600 DEBUG [org.jboss.system.ServiceController] (WorkerThread#1[127.0.0.1:59636]) removing service: jboss.j2ee:jndiName=Bean1EJB,service=EJB
  | 2008-10-10 11:23:18,600 DEBUG [org.jboss.system.ServiceCreator] (WorkerThread#1[127.0.0.1:59636]) Removing mbean from server: jboss.j2ee:jndiName=Bean1EJB,service=EJB
  | 2008-10-10 11:23:18,601 INFO  [org.jboss.ejb.EjbModule] (WorkerThread#1[127.0.0.1:59636]) Undeployed Bean1EJB
  | 2008-10-10 11:23:18,601 DEBUG [org.jboss.ejb.EjbModule] (WorkerThread#1[127.0.0.1:59636]) Destroyed jboss.j2ee:service=EjbModule,module="testdeployers-bean1ejb.jar"
  | 2008-10-10 11:23:18,601 DEBUG [org.jboss.system.ServiceController] (WorkerThread#1[127.0.0.1:59636]) removing service: jboss.j2ee:service=EjbModule,module="testdeployers-bean1ejb.jar"
  | 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181583#4181583

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181583



More information about the jboss-dev-forums mailing list