Hi Michael,

I am slightly ashamed to be putting this out there in the public forum
:-X

Here is what the problem was, the threads as indicated by Trustin were
initially not daemon. Secondly acceptor that I was calling unbindAll()
was not the acceptor what was bound. This lead me to realize that I
could use the same acceptor and bind numerous times, and then close just
one acceptor! After this was done, the server on receiving a message to
shut_down returned from my threads and waited for MINA to exit.

It was nothing beyond existential, it was very much poor programming on
my part ;-(

-U

-----Original Message-----
From: Michael Bauroth [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 22, 2007 3:26 PM
To: dev@mina.apache.org
Subject: Re: Shutting down a server elegantly

Hi Uday,

could you please provide me with some more details about your solution?

Best Regards
Michael

Uday Prakash (DHL CZ) schrieb:
> Hi Trustin,
> 
> Well now the 'chicken' did hatch before I called it one! I solved the
> problem with the blocking thread! 
> Sorry if I took your time...
> 
> Must say MINA is making life a lot more interesting ;-)
> Cheerio!
> 
> -U


Reply via email to