-
1. Re: War deployment order in EAR
dimitris Mar 1, 2006 4:18 AM (in response to shabata)Doesn't the order you declare the s in the .ear descriptor make any difference?
-
2. Re: War deployment order in EAR
shabata Mar 1, 2006 4:30 AM (in response to shabata)Thanx for replying.
"the s in the .ear" ?
I'm sorry I don't understand your question... -
3. Re: War deployment order in EAR
dimitris Mar 1, 2006 4:35 AM (in response to shabata)The angle brackets where eaten up. I meant the "module" definitions in the .ear deployment descriptos, they were supposed to define the deployment order, or is this broken?
-
4. Re: War deployment order in EAR
shabata Mar 1, 2006 4:54 AM (in response to shabata)In my application.xml I declare the wars in the same order as deployment order, but I guess it doesn't care this order.
PS : I use jboss-3.2.8 -
5. Re: War deployment order in EAR
chrisodom Mar 7, 2006 12:54 PM (in response to shabata)I move my packaging from "eso-ear" to "eso-ear.ear" deploy and run JBoss. Now the ERROR does not occur but I am back to the same problem before when I switched it the opposite way. The eso-ear.ear/META-INF/XXX-ds.xml file does not get picked up so my Datasources do not get deployed. Any ideas why this would occur>
-
6. Re: War deployment order in EAR
pualsa Mar 9, 2006 12:35 PM (in response to shabata)try to pack into the EAR the META-INF\jboss-app.xml like this:
<jboss-app> <module><service>xxx-ds.xml</service></module> </jboss-app>
in this case the file xxx-ds.xml should be packed on the top level of the EAR: eso-ear.ear\xxx-ds.xml -
7. Re: War deployment order in EAR
pualsa Mar 10, 2006 4:29 AM (in response to shabata)What I found about the deployment order:
1) At first are deployed sub-deployments then the top deployment of an archive.
2) The sub-deployment are sorted by their suffixes. The default order is:
".deployer", "-deployer.xml", ".sar", "-service.xml", ".rar", "-ds.xml", ".har", ".jar", ".war", ".wsr", ".ear", ".zip", ".bsh", ".last"
The EARDeployer scans the META-INF/application.xml and META-INF/jboss-app.xml and creates a DeploymentInfo (DI) for each module. The DI of the EAR is the parent for these DIs. The deployment order of these modules is controlled by their suffixes, nothing else is important.