[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JBoss 5 question to PrefixDeploymentSorter
PeterJ
do-not-reply at jboss.com
Fri Oct 10 14:43:36 EDT 2008
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
More information about the jboss-user
mailing list