[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss 5: Deployment order within a EAR

leiolay do-not-reply at jboss.com
Tue Jan 6 15:46:50 EST 2009


Hi,

I have a EAR that contains two EJB JARs and a WAR. The WAR is dependent on EJBs. 

When I deploy the EAR, the deployment of the WAR starts before the EJB deployment is done. When the code inside the WAR looks up a EJB via JNDI, it fails because EJB is not deployed yet.

Is there a way to enforce the order so WAR is always deployed last?

Lei

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

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



More information about the jboss-user mailing list