geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hari Krishna Korrapati" <harikrishna.korrap...@gmail.com>
Subject ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error
Date Mon, 21 Jan 2008 15:47:36 GMT
Hi,


We are getting java.net.SocketException while generating the zip file for a
image file passed as a byte array to the zip stream.
System Environment:
Geronimo with Tomcat  2.0.2
JDK 1.5

Not sure whether it is the problem with the code or tomcat,
kindly refer to the below error log and advice on what could be the problem.

18:10:28,413 ERROR [SaveImagesServlet] Exception
ClientAbortException:  java.net.SocketException: Connection reset by peer:
socket write error
    at org.apache.catalina.connector.OutputBuffer.realWriteBytes(
OutputBuffer.java:358)
    at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434)
    at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java
:309)
    at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java
:288)
    at org.apache.catalina.connector.CoyoteOutputStream.flush(
CoyoteOutputStream.java:98)
    at java.io.FilterOutputStream.flush(Unknown Source)
    at sample.web.servlet.SaveImagesServlet.saveAllImages(
SaveImagesServlet.java:223)
    at sample.web.servlet.SaveImagesServlet.doGet(SaveImagesServlet.java:77)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:230)
    at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:175)
    at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(
DefaultSubjectValve.java:56)
    at
org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(
GeronimoStandardContext.java:353)
    at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(
GeronimoBeforeAfterValve.java:47)
    at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:104)
    at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:109)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java
:563)
    at org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:261)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:844)
    at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:581)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java
:447)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.net.SocketException: Connection reset by peer: socket write
error
    at java.net.SocketOutputStream.socketWrite0(Native Method)
    at java.net.SocketOutputStream.socketWrite(Unknown Source)
    at java.net.SocketOutputStream.write(Unknown Source)
    at
org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite
(InternalOutputBuffer.java:764)
    at org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(
IdentityOutputFilter.java:118)
    at org.apache.coyote.http11.InternalOutputBuffer.doWrite(
InternalOutputBuffer.java:570)
    at org.apache.coyote.Response.doWrite(Response.java:560)
    at org.apache.catalina.connector.OutputBuffer.realWriteBytes(
OutputBuffer.java:353)
    ... 25 more


Thanks and Regards,
Hari

Mime
View raw message