On 11/14/11 2:39 PM, pi...@dokom.net wrote:
I have an application which loses the connection once a minute. I
could not find code that drops the line but it seems that my
application drops the line. The TCP FIN message comes from my
application. I use MINA version 2.0.0-RC1. The strange thing is that
the same application works like a charm for hours in my test
environment. The issues occur on production only.
How to debug in such a case? Is it possible to enable logging to get
more information from MINA?
Two things :
- you should urgently switch to 2.0.4, the latest (and stable) MINA
version. 2.0.0-RC1 is really old and buggy.
- your production TCP stack is likely to kill inactive TCP connections
after a 60 seconds delay. You should check your OS setting.
(http://tldp.org/HOWTO/TCP-Keepalive-HOWTO/overview.html)
--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com