Thank you for the help - this works perfectly.  I do notice that the war
file gets expaned in the webapps directory in a sub-folder called ROOT.
Should I delete the contents of this directory everytime I deploy a new war
file?

On 2/16/07, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:

> From: Jim Goodspeed [mailto:[EMAIL PROTECTED]
> Subject: Re: Root context setup
>
> Is there another way to accomplish this though?

Don't put the .war file in Tomcat's directory structure.  Instead, put a
ROOT.xml file in conf/Catalina/[hostname] that contains a <Context>
element with a docBase attribute that points to the location of the .war
file.

- 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to