tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38131] New: - WatchedResource does not work if app is outside "webapps"
Date Thu, 05 Jan 2006 08:55:03 GMT
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: gernot.pfingstl@stmk.gv.at


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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message