> From: David Smiley @MITRE.org [mailto:dsmi...@mitre.org]
> Subject: Deploying a war to the root URL path
> 
> As a matter of taste, I'd prefer not to name my war "ROOT.war"

So you don't want to do things the easy way...

> I'd like it to be named after what it is, which is JIRA
> -- so jira.war.  And I'd like it to be in Tomcat's webapp
> directory since that is the expected place to find webapps.

You can't do both.  Either follow standard practice and rename the file to 
ROOT.war, or keep it outside of the <Host> appBase directory and create a 
conf/Catalina/[host]/ROOT.xml file containing a <Context> element with a 
docBase attribute that points to the location of jira.war.  One of the 
advantages of keeping production webapps outside of the <Host> appBase, is that 
it makes upgrading from one Tomcat version to another much easier.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


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

Reply via email to