Thankyou for your reply, but are you sure?

My server used the QuickServer framework before using MINA and this
exception never occurred with QS.

The client(s) have not changed, as they connect and behave the same way as
always (always keeps the connection), but when they connect to the server
that uses MINA, the IOException occurs, but with QS the exception never
occured. This is what has lead me to believe that it is a MINA problem.

Could the client had closed the socket because of something happening on the
MINA side (something not enabling the client to continue so forcing to close
the socket)?


Emmanuel Lecharny wrote:
> 
> Hi,
> 
> On Tue, Jun 2, 2009 at 5:20 AM, Conrad Congrene <[email protected]>
> wrote:
>> Hi everyone
>> Anyway the problem is, I get the following exception every now and then
>> (it
>> seems randomly) and am not sure what is causing the exception to occur:
>>
>> java.io.IOException: Connection reset by peer
> 
> The client closed the socket. It's not a MINA problem. Just check to
> see what happens on the client side.
> 
> <snip/>
> 
>> When this exception occurs the session is then closed which should not
>> happen because the module is required to keep its connection indefinitely
>> to
>> minimize the cost.
> 
> It's pretty hard to maintain a session when the client has left !
> 
> 
> 
> 
> -- 
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
> 
> 

-- 
View this message in context: 
http://www.nabble.com/java.io.IOException%3A-Connection-reset-by-peer-problem-tp23825854p23827391.html
Sent from the Apache MINA User Forum mailing list archive at Nabble.com.

Reply via email to