You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Matt Mehalso <me...@gmail.com> on 2007/09/27 20:33:39 UTC

SocketException Read Error - Help Please

All -

Does anyone know what the following exception means?  Could it be due to
packet loss on the network?  Or maybe our client is closing their
input/ouput streams?  We are consistently seeing his in our logs, though
similar tests on a different network with a different client ran fine.
Thanks in advance for your help!

java.net.SocketException: Connection reset by peer: Read failed
    at sun.nio.ch.SocketDispatcher.read0(Native Method)
    at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:42)
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:265)
    at sun.nio.ch.IOUtil.read(IOUtil.java:238)
    at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:223)
    at org.apache.mina.transport.socket.nio.SocketIoProcessor.read(
SocketIoProcessor.java:267)
    at org.apache.mina.transport.socket.nio.SocketIoProcessor.process(
SocketIoProcessor.java:241)
    at org.apache.mina.transport.socket.nio.SocketIoProcessor.access$500(
SocketIoProcessor.java:44)
    at org.apache.mina.transport.socket.nio.SocketIoProcessor$Worker.run(
SocketIoProcessor.java:563)
    at org.apache.mina.util.NamePreservingRunnable.run(
NamePreservingRunnable.java:43)
    at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:987)
    at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:528)
    at java.lang.Thread.run(Thread.java:832)

Thank you,

Matt