directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trustin Lee <trus...@gmail.com>
Subject Re: [mina] How to implement graceful shutdown
Date Fri, 30 Sep 2005 08:35:13 GMT
We'll release 0.8 before this October ends.

HTH,
Trustin

2005/9/30, Paolo Perrucci <p.perrucci@ludonet.it>:
>
> Thank you Trustin,
>
> is there a release date plan for 0.8 ?
>
> Bye
> Paolo
>
> Trustin Lee ha scritto:
>
> > Hi Paolo,
> >
> > 2005/9/29, Paolo Perrucci <p.perrucci@ludonet.it
> > <mailto:p.perrucci@ludonet.it>>:
> >
> > I want to implement a graceful shutdown mechanism for a simple
> > MyApplicationServer using mina.
> > I want to realize a shutdown() method that block accepting connections
> > and wait for all connected client to exit closing their connections.
> > Doing some tests, it seems that SimpleServiceRegistry.unbind() methods
> > stops thread pool so I must close the active connections BEFORE unbind
> > the service.
> > Is there a "suggested" way to do this?
> >
> >
> > For now, you have to track all sessions open by yourself (using
> > HashSet), close all open session before calling unbindAll(), and call
> > unbindAll(). We know this issue and will be fixed in 0.8.
> >
> > Please watch this issue here to get notified when this issues is fixed:
> >
> > http://issues.apache.org/jira/browse/DIRMINA-93
> >
> > Thanks,
> > Trustin
> > --
> > what we call human nature is actually human habit
> > --
> > http://gleamynode.net/
>
>
> --
> =================================
> Paolo Perrucci
> Program Manager
>
> p.perrucci@ludonet.it
> paolo.perrucci@eutelia.it
>
> Ludonet S.p.A.
> www.ludonet.org <http://www.ludonet.org>
>
> EUTELIA
> Via G.V. Bona, 67
> 00156 (GRA Tiburtina) ROMA ITALIA
>
> telefono +39 06.41797.205
> fax +39 06.41797.898
> =================================
>
>


--
what we call human nature is actually human habit
--
http://gleamynode.net/

Mime
View raw message