You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Saint-Martin Cécile <Ce...@ouest-france.fr> on 2003/09/24 14:55:10 UTC

Broken pipe in Servlet.sercice()

Hi,

We have an error that occured several times each day.
We use a servlet to send serialized data to a java client. It always append
when the servlet sent a big list of objects :

2003-09-15 12:35:56 StandardWrapperValve[ApplicationObjectServlet]:
Servlet.service() for servlet ApplicationObjectServlet threw exception
java.io.IOException: Broken pipe
        at java.net.SocketOutputStream.socketWrite (SocketOutputStream.java)
        at java.net.SocketOutputStream.write(byte[],int,int)
(SocketOutputStream.java:91) (pc 15)
        at org.apache.catalina.connector.ResponseBase.flushBuffer
(ResponseBase.java:674) (pc 25)

We use GZIPOutputStream to send the data.

In archives, I found that other people have had the same problem but it came
from the user that click the stop button in the browser.
It cannot be the case here because it's during communication between client
and server in java directly.

Does anybody have an idea about the problem?

Is there a limitation to the size of data that we can send by a socket?

Cécile SAINT-MARTIN
Ouest-France
Tel. 77.24
mailto:cecile.saint-martin@ouest-france.fr

----------------------------------------------------------------------------
-------------- 
Les informations ou pièces jointes contenues dans ce message sont
confidentielles. Seul le destinataire expressément visé peut en prendre
connaissance. Toute autre personne qui en divulguera, diffusera ou prendra
des copies sera passible de poursuites. La société Ouest-France décline en
outre, toute responsabilité de quelque nature que ce soit au titre de ce
message s'il a été altéré, déformé ou falsifié.
----------------------------------------------------------------------------
--------------

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