4 Replies Latest reply on May 15, 2007 8:32 AM by Carlo de Wolf

    Server restart required after failed EJB3 deployment?

    Alex Grönholm Novice

      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.