Each EJB that gets deployed gets a corresponding mbean. You can add mbean 
dependencies to the META-INF/jboss.xml file so that the EJBs are deployed in 
the correct order. Here is an example for EJB3 (the mbean name is different for 
EJB2.x, but should be easily locatable in jmx console):

   <enterprise-beans>
  |       <session>
  |          <ejb-name>SomeEjb</ejb-name>
  |          
<depends>jboss.j2ee:ear=xxx.ear,jar=yyy.jar,name=EjbName,serevice=EJB3</depends>
  |       </session>
  |    </enterprise-beans>
  | 

You can have a similar entry in the jboss-web.xml file if a WAR depends on any 
EJBs.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181606
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to