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 11026] - After days' running, Apache Tomcat deny offer service.
Date Mon, 05 Aug 2002 06:32:26 GMT
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:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message