> From: syg6 [mailto:[EMAIL PROTECTED] 
> Subject: WAR file strangeness
> 
>  <Host name="localhost" appBase="/var/local/projects/vcs" ...
>     <Context path="" docBase="/var/local/projects/vcs/vcs.war" ...
> 
> When I start Tomcat it unpacks the WAR in as
> /var/local/projects/vcs/ROOT/WEB-INF
> 
> Any idea why this is happening?

Because it's supposed to.  You've declated the context to be the default
app (path=""), and the default app uses the ROOT directory.

> I know I shouldn't be putting this stuff in
> server.xml but rather in seperate context.xml
> files, but I inherited the config this way and
> my client seems to fear change ...

Educate your client about the desirability of not having to restart
Tomcat when you change the app.

 - 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