DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6301>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6301 Streams returned by getResourceAsStream don't close properly [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |WORKSFORME ------- Additional Comments From [EMAIL PROTECTED] 2002-02-07 16:39 ------- I thought your complaint was about the stream not being automatically closed or something like it (which is not the case; if you call close on the IS, it will really close it). Here, you're running into a caching problem, where the cache of the directory context doen't always get revalidated. You can use a Resources element (child of a Context element) in server.xml to disable the cache or tweak it, so that it would do revalidation on each request (although I didn't document that yet, unfortunately; setting the "cacheTTL" property to "-1" should do that; disabling the content caching by setting "cacheObjectMaxSize" to "-1" would also do it): http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/resources.html -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>