A relative pathname will work for <WatchedResource>. Look at the default entry in conf/context.xml: <WatchedResource>WEB-INF/web.xml</WatchedResource> which is exactly what you want. I just tested it, and editing web.xml causes my app to be reloaded, whether the <WatchedResource> is in conf/context.xml or in my app's META-INF/context.xml.
I'm running Tomcat 5.5.12 on Windows. Are you editing the live web.xml directly, or are you using a development environment like Eclipse WebTools that copies the files from a source directory to a Tomcat directory? Maybe you're not editing the same web.xml that Tomcat is looking at? On 11/12/05, Nathan Coast <[EMAIL PROTECTED]> wrote: > Hi, > > I have the following context.xml to configure a web application > > <?xml version="1.0" encoding="UTF-8"?> > <Context reloadable="true" > crossContext="false" > docBase="D:\dev\projects11\maven-tomcat-plugin\tests\devContext\target\devContext"> > <WatchedResource>WEB-INF/web.xml</WatchedResource> > </Context> > > The watched resource seems to be ignored. If I modify the web.xml > tomcat doesn't reload the webapp. If any other resources are modified > (classes or the context.xml) then tomcat behaves as expected and the > webapp is reloaded. I have confirmed this by enabling debug logging for > org.apache.catalina > > Is this a bug or have I missed some configuration? > > I am using tomcat-5.5.12 on win32 > > cheers > Nathan -- Len --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]