tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Okubo, Yasushi (TSD)" <>
Subject question for deploystartup forROOT.war on tomcat cluster
Date Sat, 23 Jan 2010 01:13:00 GMT


I have my application packaged as ROOT.war file. I can auto-deploy this
war file on single tomcat instance whenever I restart tomcat or put a
new war file into webapps. However, if I put the same war file into
tomcat cluster and restart tomcat, tomcat does not redeploy this war

In tomcat cluster [6.0.20/Redhat 5(linux)] , I tested as follows:

A. tomcat fresh startup [succeeded to run ROOT application] 
1. shutdown tomcat
2. confirmed only webapps/ROOT.war existed and no
[Catalina_home]/conf/ROOT.xml and no webapps/ROOT
3. start tomcat [node1 of cluster]
4. confirmed that ROOT.war was deployed

B. restarting tomcat [failed to run ROOT application]
1. shutdown tomcat
3. confirmed that [Catalina_home]/conf/ROOT.xml and webapps/ROOT and
webapps/ROOT.war existed 
2. simply restarting tomcat by executing
3. other applications under webapps including host-manager etc deployed
and running properly
4. confirmed that only ROOT.war was not deployed

C. test autodeploly [succeeded to run ROOT application]
1. confirmed that tomcat is running
2. moved ROOT.war out of webapps
3. confirmed that tomcat removed [Catalina_home]/conf/ROOT.xml and
4. copied ROOT.war backed to webapps
5. confirmed that tomcat created [Catalina_home]/conf/ROOT.xml and
webapps/ROOT and the application packaged in ROOT.war is running

Is there any trick to make case B work?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message