2012/5/22 Kees Jan Koster <[email protected]>:
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to