Hi Frederic,

On 8/9/06, Frederic Soulier <[EMAIL PROTECTED]> wrote:

When a mobile phone is used as a client and is connected to the
SocketAcceptor on the server we can send some messages and all seems
fine.
If the battery of the phone is removed (hence terminating the client
application), we have a process that scans for sessions without activity
for more than 30 seconds. If such a session is found we call:
   ioSession.close().join();

At that point the socketAcceptor doesn't accept any connections at all.
Our only way to get it back is to kill it and restart it.


This is weird because SocketAcceptor thread doesn't take care of closing a
session.  SocketIoProcessor does it instead.  That is, SocketAcceptor thread
shouldn't get affected by any I/O after acceptance of a channel.  Could you
post a full thread dump for us?

Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41  4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4  455E 1C62 A7DC 0255 ECA6

Reply via email to