java - Is there a way to enforce a deployment order in tom 7 and tom6 ? -
There are several battle files for me to deploy, for example coll.war ,
Egg.war , etc., each one will specify the application module.
In our application, I have some specification which should first decipher
cold wire and the rest will be deployed in a specific order such as
Coll. War
EggWare
Girl Can someone help me is.
Server inside server folders. This will add an entry for each war you added to XML . Delete those entries.
Then create those XML files that contain the following content and keep the xml files in the order in the conf \ Catalina {server_name} folder.
Example:
coll.xml
& lt ;? XML version = '1.0' encoding = 'UTF-8'? & Gt; & Lt; Reference dockbase = "$ {catalina.home} / deploy / collwar" crossContext = "true" & gt; & Lt; / Context & gt;
Comments
Post a Comment