Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [EJB 3.0] - Server restart required after failed EJB3
 deployment?

scott.stark@jboss.org

2007-05-07


I have noticed that whenever the deployment of an EJB3 app fails due to any reason, the EJB3 service is unregistered. As a result, subsequent attempts at deploying any EJB3 application fail until the server is restarted. Anyone care to explain why? This happens on both 4.0.5GA and 4.2.0CR2.

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
| ObjectName: jboss.j2ee:service=EJB3,module=Etikettu-Common.jar
|  State: FAILED
|  Reason: java.lang.RuntimeException: javax.management.InstanceNotFoundException: jboss.j2ee:ear=MyApp.ear,jar=MyApp-EJB.jar,name=SearchBean,ser
| vice=EJB3 is not registered.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043644
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.