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 2002/08/05 08:32:26 UTC
DO NOT REPLY [Bug 11026] -
After days' running, Apache Tomcat deny offer service.
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=11026>.
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=11026
After days' running, Apache Tomcat deny offer service.
abelli@tecomasia.com.cn changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
------- Additional Comments From abelli@tecomasia.com.cn 2002-08-05 06:32 -------
I found a solution, but I do not know it is bug of my program or of tomcat. in
one JSP page, I have an object of URL. I get an object of InputStream through
URLConnection.getInputStream(). I do not close the object of InputStream at the
end of JSP file. after a short long time of running, then tomcat deny offer
service.
If I close the object of InputStream at the end of JSP file, then tomcat is OK.
It seems that the object of InputStream gotten through
URLConnection.getInputStream() cannot be close automatically. Or it is the
responsibilities of developer to close all objects of InputStream/OutputStream?
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>