This content has been marked as final.
Show 5 replies
-
1. Re: Jboss deploy war before ear.
erasmomarciano Jan 20, 2010 8:49 AM (in response to mnenchev)Wicth version of jboos are you using?
There is xml file in jboss that that determines the order of deployment
-
2. Re: Jboss deploy war before ear.
mnenchev Jan 29, 2010 5:42 AM (in response to erasmomarciano)jboss 5.10 -
3. Re: Jboss deploy war before ear.
mnenchev Feb 5, 2010 7:22 AM (in response to erasmomarciano)Any response for this problem? -
4. Re: Jboss deploy war before ear.
jaikiran Feb 5, 2010 7:53 AM (in response to mnenchev)My client application is war file.So i copy the ear and the war in the server/all/deploy and start the server, but when it is starting it tries to deploy the war first and in the war i have ServletContextListener that on contextInitialized() loads some initial data using stateless beans, but the ear is not deployed yet.
Add a "depends" in the jboss-web.xml of your .war, to depend on that particular ejb module, as explained here http://community.jboss.org/message/5799#5799
-
5. Re: Jboss deploy war before ear.
enriquezrene Feb 27, 2013 3:48 PM (in response to jaikiran)I have a same problem, I have an war and ear file, and I need that the EAR file goes to deploy it if war file was deployed completely, you have some ideas I'm using JBoss 5.1, sorry for my bad english