-
1. Re: Dependencies between multiple .ear
sanepid Mar 13, 2003 10:37 AM (in response to sanepid)I found the DTDs under /docs/dtd. Sorry for missing this. The dependency question still stands though :)
Thanks -
2. Re: Dependencies between multiple .ear
barrycaceres Mar 14, 2003 6:08 PM (in response to sanepid)I could not find a way to cause the redeployment of
one EAR trigger the redeployment of another, BUT I there
is a way to control the deployment order to guarantee
one EAR deploys before the other.
You need to edit the "jboss-service.xml" for you server
(should be in the server's "conf" directory).
There are a pair of lines that look like:
org.jboss.deployment.DeploymentSorter
<!--
org.jboss.deployment.scanner.PrefixDeploymentSorter
-->
You need to change these by commenting out the first line and uncommenting the second line:
<!--
org.jboss.deployment.DeploymentSorter
-->
org.jboss.deployment.scanner.PrefixDeploymentSorter
THEN, you need to rename your EAR's with a numeric
prefix (e.g.: "01." or "02."). JBoss' deployment scanner
will now sort your EAR files according to the prefix
number.
If your base ear file comes firs then your EAR that depends on it should not have a problem.