tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From exquisite <>
Subject Re: Cannot make war file as default app
Date Fri, 12 Aug 2011 20:59:19 GMT
Thanks Chris for your reply. 

Yeah im trying the ROOT.war way too and here i have one more issue with that:

Now when i renamed my war to ROOT.war and drop it in webapps folder 
(without any context in server.xml), it deploys fine for the first time 
as the root app (Creates a ROOT folder in webapps),  but if i make any 
change to any of my jsps and drop the new ROOT.war file, it says its deploying ROOT.war but
it does not 
pick the changes after restart. It keeps showing me the old jsp when i run. I tried with autoDeploy=true
in Host config but there is no change.

Do i have to manually delete the ROOT folder that tomcat creates, everytime before the fresh

 trying different ways to understand what tomcat really is doing. Please
 explain this as i have been through enough confusion already about 
whats going on. 

Again, this is Tomcat 6.0.32, jdk 1.5, windows 7 OS.


From: Christopher Schultz <>
To: Tomcat Users List <>
Sent: Friday, August 12, 2011 11:21 AM
Subject: Re: Cannot make war file as default app

Hash: SHA1


On 8/12/2011 4:55 AM, exquisite wrote:
> Hey Mark, I think i figured out what's going on with my
> configuration and I feel that the Tomcat Documentation is not too
> clear explaining this particular step.
> I have been editing the server.xml in the $CATALINA_HOME/conf 
> directory, dropped my war in $CATALINA_HOME/webapps directory but by 
> default tomcat distribution comes with ROOT folder inside webapps 
> directory and there by its not able to deploy my war file as ROOT.

If that's the case, then you have not properly disabled auto-deploy in
your <Host>. That's the only way that the webapps/ROOT directory should

Seriously, what's wrong with re-naming your WAR file to ROOT.war? It.
Just. Solves. So. Many. Problems.

- -chris
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla -


To unsubscribe, e-mail:
For additional commands, e-mail:
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message