tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose María Zaragoza <demablo...@gmail.com>
Subject Re: connection reset errors
Date Tue, 22 May 2012 09:45:13 GMT
2012/5/22 Kees Jan Koster <kjkoster@gmail.com>:
> Dear Tomcat community,
>
> I am trying to resolve the problem where some client code in Java frequently gets the
following error in the logs:
>
> java.net.SocketException: Connection reset
>        at java.net.SocketInputStream.read(SocketInputStream.java:168)
>        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
>        at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
>        at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
>        at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687)
>        at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)
>        at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:652)
>        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1000)
>        ...
>

Are you calling to disconnect() method ?

Regards

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


Mime
View raw message