James Im wrote: > I have implemented a IoHandler and its exceptionCaught method. > > I'm receiving java.io.IOException error such as "Connection reset by > peer" and "Broken pipe" quite often. > > Are yo doing anything with these errors or do you just ignore them? > This particular exception you're getting means that the connection has been terminated unexpectedly. Just do what you would have done if you were using plain old java.net.Socket and it threw the same kind of exception: close the session, log the exception (MINA doesn't do that for you), release resources, etc.
HTH -- Niklas Therning www.spamdrain.net
