DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38131>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38131

           Summary: WatchedResource does not work if app is outside
                    "webapps"
           Product: Tomcat 5
           Version: 5.5.12
          Platform: All
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


My webapp is placed outside CATALINA_BASE/webapps.
I put my context.xml into CATALINA_BASE/conf/Catalina/localhost.
My context.xml looks like:
<Context docBase="/somedir/mywebapp">
   <WatchedResource>WEB-INF/web.xml</WatchedResource>
   ...some other stuff...
</Context>

If I change web.xml my webapp will not be reloaded!
If insert an absolute path
<WatchedResource>/somedir/mywebapp/WEB-INF/web.xml</WatchedResource>
it works, but to use absolute paths will become unhandy - especially when I try
to put the WatchedResource stuff to defaultcontext.xml, because I have a lot of
webapps not only one.

If I put my webapp in CATALINA_BASE/webapps all works fine - but this is not a
solution for me.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to