Well, the good solution is only in jboss 4: you can put a <depends> tag at the top level of jboss-service.xml with the object name the deploymentInfo for your first .sar is deployed to. This is not easily portable to 3.0.x unfortunately.

The easy solution for 3.0.x is probably to put firstervices.sar inside secondservices.sar.

david jencks

On Thursday, January 30, 2003, at 03:29 AM, Keysers, Wonne wrote:

Hi,

What exactly is the ordering rule when an .ear, containing multiple .sar files, is deployed?

We have the following jboss-app.xml:
<module>
  <service>firstservices.sar</service>
</module>
<module>
  <service>secondservices.sar</service>
</module>
Important detail: the first .sar has to be initialized BEFORE the second one.


When we deployed the .ear on JBoss3.0.3, the deployment occured in the right sequence.
But when we try JBoss3.0.6 the first .sar is always deployed AFTER the second one, regardless of the order wherein the modules are described in the deployment descriptor.


How can we force the right deployment order of these .sar files?
What are the rules here?


Thanks in advance,
Wonne Keysers


Reply via email to