tomcat-users mailing list archives

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

Hi

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
file. 

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 shartup.sh
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
webapps/ROOT
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?

Thanks,   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message