ClosedChannelException while sending huge file

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ClosedChannelException while sending huge file

mukeshb
This post has NOT been accepted by the mailing list yet.
We use jetty as the web container for a project wherein the app processes a huge file around 9 mb and takes around 10 mins to process.

Following is the trace:
Caused by: java.nio.channels.ClosedChannelException: null
        at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(Unknown Source) ~[na:1.6.0_45]
        at sun.nio.ch.SocketChannelImpl.write(Unknown Source) ~[na:1.6.0_45]
        at org.eclipse.jetty.io.nio.ChannelEndPoint.flush(ChannelEndPoint.java:288) ~[jetty-io-8.1.3.v20120416.jar:8.1.3.v20120416]
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.flush(SelectChannelEndPoint.java:341) ~[jetty-io-8.1.3.v20120416.jar:8.1.3.v20120416]
        at org.eclipse.jetty.io.nio.SslConnection.process(SslConnection.java:332) ~[jetty-io-8.1.3.v20120416.jar:8.1.3.v20120416]
        at org.eclipse.jetty.io.nio.SslConnection.access$900(SslConnection.java:43) ~[jetty-io-8.1.3.v20120416.jar:8.1.3.v20120416]
        at org.eclipse.jetty.io.nio.SslConnection$SslEndPoint.flush(SslConnection.java:673) ~[jetty-io-8.1.3.v20120416.jar:8.1.3.v20120416]
        at org.eclipse.jetty.io.nio.SslConnection$SslEndPoint.flush(SslConnection.java:680) ~[jetty-io-8.1.3.v20120416.jar:8.1.3.v20120416]
        at org.eclipse.jetty.http.HttpGenerator.flushBuffer(HttpGenerator.java:876) ~[jetty-http-8.1.3.v20120416.jar:8.1.3.v20120416]

I could not find any info regarding this.

Thanks in advance
M