mina-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kinnza <kin...@gmail.com>
Subject Re: problems with getting reply to server
Date Mon, 26 May 2008 13:29:31 GMT
well when the problems started we upgraded to mina 1.1.6 which was few weeks
ago, im sure its not a prob to upgrade to 1.1.7 but im pretty sure it wont
solve it, i will put it on our schedule

On Mon, May 26, 2008 at 3:16 PM, Niklas Therning <niklas@trillian.se> wrote:

> I also suggest that you upgrade to MINA 1.1.7 which is the latest 1.1.x
> version released.
>
> /Niklas
>
> Kinnza skrev:
>
>  thank you for the fast response
>> im using mina 1.1.6
>> i put the logger last, but the ProtocolCodecFilter  is first and i didnt
>> get
>> there either
>> i will try to put the logger first and get back to you
>>
>> thanks again for the fast response,
>> kinnza
>>
>> On Mon, May 26, 2008 at 2:49 PM, Niklas Therning <niklas@trillian.se>
>> wrote:
>>
>>
>>
>>> Kinnza skrev:
>>>
>>>  hello,
>>>
>>>
>>>> im expiriancing a problem that i've been working on for a while and
>>>> cannot
>>>> see to find a way to solve it
>>>>
>>>> im using mina in my java server
>>>> my server sends all sort of messages to the client (basicly refreshes
>>>> the
>>>> page of the client, and send some new data)
>>>> if the client turns idle the server sends a ping message to it. it tries
>>>> it
>>>> 3 times and if after 3 times it doesnt get a reply it closes the
>>>> connection
>>>> and reestablish the connection
>>>>
>>>> in serveral cases (too many) the client does send the response message
>>>> but
>>>> it doesnt reach mina.
>>>> i used a sniffer on the client side to see that the message does leave
>>>> it.
>>>> i
>>>> also used tcpdump on the server side and saw that the message does reach
>>>> the
>>>> server, but it doesnt reach mina
>>>>
>>>> i added the mina logs using:
>>>> socketAcceptor.getFilterChain().addLast("logger", new LoggingFilter());
>>>> and in those cases it didnt get the reply message (in normal cases i do
>>>> see
>>>> it there ofcourse)
>>>>
>>>> i  also added a debug message in the ProtocolCodecFilter but it didnt
>>>> get
>>>> there either
>>>>
>>>> i dont see any errors (exceptions) in the server side
>>>>
>>>> is there a way that i can find out why it doenst get the message?
>>>>
>>>> Thanks for your help
>>>> KInnza
>>>>
>>>>
>>>>
>>>>
>>>>
>>> Which version of MINA are you using? Did you add the LoggingFilter as the
>>> first filter before any ExecutorFilter? If not, try that and see if it
>>> logs
>>> the missing messages.
>>>
>>> /Niklas
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>
>


-- 

Kinnza

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message