mina-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashish <paliwalash...@gmail.com>
Subject Re: Socket operation on non-socket...
Date Mon, 11 Oct 2010 09:57:29 GMT
Fixed that !

Seems some issue with _code:java_ macro
Tags were correct but it didn't ended where it was supposed to be.

Moved to code macro for the time being.

Wait for the sync to happen.

thanks
ashish

On Mon, Oct 11, 2010 at 2:21 PM, David Latorre <dvlato@gmail.com> wrote:
> http://mina.apache.org/faq.html#FAQ-HowdoIclosemysessionsanddisposemyConnector%2526%252363%253B
>
> Did you notice there's a new h3 tag :
> h3. How can I reconnect to server after my client session is closed&#63;
>
> inside the source code macro ?
>
> 2010/10/7 Emmanuel Lecharny <elecharny@gmail.com>:
>>  On 10/7/10 12:52 PM, Zigor Salvador wrote:
>>>
>>> Hi all,
>>>
>>> Trying to close a connector (and all of its sessions) with:
>>>
>>> connector.dispose();
>>>
>>> Throws an exception that is caught by the handler:
>>>
>>> java.lang.Error: java.net.SocketException: Socket operation on non-socket
>>>
>>> Should I be using other means to close the connector?
>>
>> This is normal : it's not because you dispose the connector that the handler
>> will immediately stop sending informations to the (now closed) socket.
>>
>> have a look at http://mina.apache.org/faq.html, How do I close my sessions
>> and dispose my Connector ?
>> <http://mina.apache.org/faq.html#FAQ-HowdoIclosemysessionsanddisposemyConnector%2526%252363%253B>
>> paragraph.
>>
>>
>> --
>> Regards,
>> Cordialement,
>> Emmanuel Lécharny
>> www.iktek.com
>>
>>
>



-- 
thanks
ashish

Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal

Mime
View raw message