You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/05/13 18:54:40 UTC

DO NOT REPLY [Bug 15088] - org.apache.jasper.servlet.JspServlet doesn't close a FileInputStream.

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=15088>.
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=15088

org.apache.jasper.servlet.JspServlet doesn't close a FileInputStream.





------- Additional Comments From nick@digivis.com  2003-05-13 16:54 -------
If the JSP file is more than 32K, then ProxyDirContext will not cache it and the 
FileDirContext.FileResource will not have its binaryContent set. Thus, when streamContent() is 
called, it returns a new FileInputStream, which JspServlet never closes. At that point, open files 
definitely become an issue.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org