users@glassfish.java.net

v2u2: download issues?

From: Kristian Rink <kawazu_at_zimmer428.net>
Date: Tue, 17 Jun 2008 09:27:59 +0200

Folks;

in a given part of our application, I do have a service to allow
customers to download larger .zip files from our server. Eventually,
once in a while I see messages like this hitting my glassfish log file,
making me wonder whether the download has actually completed or been
terminated. So far no one yet has complained about frequent download
interruptions, but it doesn't seem "right", as well. Can anyone make
anything out of this? Application issue? Configuration problem? Client
issue?

TIA and best regards,
Kristian




[...]
Caused by: java.io.IOException: Connection reset by peer
        at sun.nio.ch.FileDispatcher.write0(Native Method)
        at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:29)
        at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
        at sun.nio.ch.IOUtil.write(IOUtil.java:75)
        at
sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334) at
com.sun.enterprise.web.connector.grizzly.OutputWriter.flushChannel(OutputWriter.java:94)
at
com.sun.enterprise.web.connector.grizzly.OutputWriter.flushChannel(OutputWriter.java:67)
at
com.sun.enterprise.web.connector.grizzly.SocketChannelOutputBuffer.flushChannel(SocketChannelOutputBuffer.java:167)
at
com.sun.enterprise.web.connector.grizzly.SocketChannelOutputBuffer.flushBuffer(SocketChannelOutputBuffer.java:202)
at
com.sun.enterprise.web.connector.grizzly.SocketChannelOutputBuffer.flush(SocketChannelOutputBuffer.java:178)
at
com.sun.enterprise.web.connector.grizzly.SocketChannelOutputBuffer.realWriteBytes(SocketChannelOutputBuffer.java:145)
at
org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:851)
at
org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:141)
at
org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.java:626)
at org.apache.coyote.Response.doWrite(Response.java:599) at
org.apache.coyote.tomcat5.OutputBuffer.realWriteBytes(OutputBuffer.java:407)
[...]