You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jim Goodspeed <go...@gmail.com> on 2007/03/07 20:36:03 UTC

Re: Root context setup

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 <Ch...@unisys.com> wrote:
>
> > From: Jim Goodspeed [mailto:goodspeedster@gmail.com]
> > 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

RE: Root context setup

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Jim Goodspeed [mailto:goodspeedster@gmail.com] 
> Subject: Re: Root context setup
> 
> Should I delete the contents of this directory everytime I 
> deploy a new war file?

I don't really know if it's required, but I always do (or rather, the
deployment script always does).

 - 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