tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Deploying to / using context.xml
Date Sat, 06 Jan 2007 05:23:03 GMT
> From: Jacob Rhoden [mailto:jacob@rhoden.id.au] 
> Subject: Re: Deploying to / using context.xml
> 
> Thanks, let me change my question then (: Given a <Host> entry with a 
> directory /usr/local/tomcat/webapps3, and the 
> /usr/local/tomcat/conf/Catalina/hostname/manager.xml in 
> place. How do I 
> easily deploy/redeploy war files for the root directory?

If by "root directory" you mean the default app for the <Host>, it must
be named ROOT (case sensitive).  If you want it under webapps3, the app
should go in either the webapps3/ROOT subdirectory, or
webapps3/ROOT.war.  If your app is deployed outside of the appBase, then
place a ROOT.xml file in conf/Catalina/hostname containing a <Context>
element with the appropriate docBase attribute, and delete any ROOT
directory under webapps3.

If you really, really want to call your default app something other than
ROOT, the simplest solution is to have a dummy app in ROOT that does
nothing but redirect or forward to the desired default.

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message