Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: Can deployment order be captured.

Shapira, Yoav

2004-02-05

Replies:


Howdy,

>   I have two applications, with one dependent on the other. Say i
have
>A.war and B.war, with B dependent on A. How can i specify that A should
>be deployed before B. Can i capture this by adding <Context> in the
>server.xml in the required order or is there any other way of doing it

You can't do this in a portable way. Then again if you have webapps
that depend on each other's deployment order you don't care much for the
servlet specification anyways ;) So you might as well do it in a
tomcat-specific way, which would be to turn off auto and live deploy
(Host attributes) and declare the Contexts in server.xml in the order
you want them deployed.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.