Julien Vermillard-2 wrote:
> 
> On Tue, Nov 22, 2011 at 11:22 AM, Emmanuel Lecharny <[email protected]>
> wrote:
> You should try to capture the TCP stream with wireshark or tcpdump.
> Could give you a clue about what is triggering the end of TCP session.
> 

Sorry for the three posts, nabble.com crashed on me and I tried again before
noticing that it already posted it.

I already have a wireshark dump, it tells me that my application sends the
TCP-FIN. I send a message, get an application ACK for it and send the next
message. About 60ms later I send the TCP-FIN.

I have a ProtocolEncoder and ProtocolDecoder which do log the traffic. Is
the registered logger something else?

I have logging before each session.close() message but I can not see a
message. Everything looks like I'm waiting for the application ACK. During
waiting another thread creates a sessionClosed() event. It's just a guess
but it looks like the sending of the message fails (produces an error) which
close the session. Between sending the message and the sessionClosed() are
about 60ms. The strange thing is that I can't see any error.

The same message that could not be send is sent after the reconnect.

The machine that hosts the application is a Windows cluster server which
host other applications which do run without problem using the same network
hardware.

-- 
View this message in context: 
http://old.nabble.com/Loss-of-connection-onece-a-minute-tp32840413p32872666.html
Sent from the Apache MINA User Forum mailing list archive at Nabble.com.

Reply via email to