Will do. Thanks for the info.

John.

-----Original Message-----
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 06, 2006 4:11 PM
To: Tomcat Users List
Subject: RE: Webapp runs on Tomcat 5.5.9 but not 5.5.20

> From: John Langan [mailto:[EMAIL PROTECTED] 
> Subject: RE: Webapp runs on Tomcat 5.5.9 but not 5.5.20
> 
> I have META-INF/context.xml in my app, which contains the following.
> <Context path="AppName" debug="1" reloadable="true">
>       <!-- Default set of monitored resources -->
>       <WatchedResource>WEB-INF/web.xml</WatchedResource>
>       <WatchedResource>META-INF/context.xml</WatchedResource>
> <!--Database info -->
> </Context>

The path attribute should be removed, since its value is derived from
the name of the .war file or directory in which the app is deployed.  To
quote from the doc:

"The value of this field must not be set except when statically defining
a Context in server.xml, as it will be infered [sic] from the filenames
used for either the .xml context file or the docBase."

http://tomcat.apache.org/tomcat-5.5-doc/config/context.html

 - 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]


---------------------------------------------------------------------
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