This content has been marked as final.
Show 2 replies
-
1. Re: How to control the order in JBoss AS 7 deployments
wdfink Jun 29, 2012 5:46 AM (in response to nilabhsagar)You can have a ordered deployment inside the ear by using jboss-app.xml <module-order>.
But there is no guarantee in which oder the application is started because AS7 will start in parallel different applications.
-
2. Re: How to control the order in JBoss AS 7 deployments
nilabhsagar Jul 2, 2012 5:53 AM (in response to wdfink)Actually, I added <module-order> in jboss-app.xml, but it did not work. My application structure is as below
Ear
-- Jar 1
-- Jar 2
-- Jar 3
-- War
Now for my application the above mentioned jar should be deployed in the mentioned order as Jar 1, Jar 2 then Jar 3. But in JBoss7 it starts in any random order. So can we achieve as Once Jar 1 is deployed then Jar 2 and so on.