RE: Acceptor dispose block indefinitely

2016-06-24 Thread Simo Chiegang, Boris Arthur
- From: Emmanuel Lécharny [mailto:elecha...@gmail.com] Sent: Friday, June 24, 2016 12:56 PM To: users@mina.apache.org Subject: Re: Acceptor dispose block indefinitely Le 24/06/16 à 10:50, Simo Chiegang, Boris Arthur a écrit : > I Guys, > > I have a server and I called to stop t

Re: Acceptor dispose block indefinitely

2016-06-24 Thread Emmanuel Lécharny
Le 24/06/16 à 10:50, Simo Chiegang, Boris Arthur a écrit : > I Guys, > > I have a server and I called to stop the server: > > Acceptor.dispose(true); > > But the call never come back. I don't know why: > >java.lang.Thread.State: TIMED_WAITING (parking) > at

Re: Acceptor dispose block indefinitely

2016-06-24 Thread Guy Itzhaki
I experienced the same with Mina 2.0.9. When I delve deeper into mina code I saw that the thread is looping endless until the sessions' collection is empty. And due to synchronization issue I guess it never does... It was a long time ago and I'm not in front of my laptop right now so I cannot