tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: urgent: The stream has been closed
Date Thu, 22 Aug 2002 16:15:19 GMT
Hi,
You will probably need to post all the relevant code that touches this
stream.  How big is "html" by the way?

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Rum Pel [mailto:rum_pel@hotmail.com]
>Sent: Thursday, August 22, 2002 3:50 AM
>To: tomcat-user@jakarta.apache.org
>Subject: urgent: The stream has been closed
>
>When I do the following,
>		ServletOutputStream out = resp.getOutputStream();
>     		out.println(html);
>		out.flush();
>I am getting the following exception at out.flush():
>
>java.io.IOException: The stream has been closed
>        at
>org.apache.catalina.connector.ResponseStream.flush(ResponseStream.jav
>a:237)
>
>
>It seems the stream has already been closed earlier, but I have
>not written any out.close() statements anywhere. Does anybody have
>a clue why this error appears?
>
>Thanks in advance,
>--rp
>
>_________________________________________________________________
>MSN Photos is the easiest way to share and print your photos:
>http://photos.msn.com/support/worldwide.aspx
>
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:tomcat-user-
>help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message