tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <>
Subject RE: Deploying to / using context.xml
Date Sat, 06 Jan 2007 05:23:03 GMT
> From: Jacob Rhoden [] 
> 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

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:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message