directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Therning <>
Subject Re: [jira] Commented: (DIRMINA-42) SessionManagers should manage list of sessions being managed.
Date Tue, 03 Jan 2006 19:19:04 GMT
The feature would be enabled by default but you can disable it easily by
issuing the call IoAcceptor.setDisconnectClientsOnUnbind(false).


Srikanth Veeramachaneni wrote:
> << I've added code to the VmPipe and Socket transports (inspired by
> Federico's patch) which keep track of managed sessions and closes all
> client sessions when unbind() is called.>>
> Would this feature be optional or would it be the default behavior.
> The reason I am asking is, I have a requirement that when the
> server is shutting down, all current sessions need to be sent
> a message indicating that the server is shutting down and then
> closed. The way I thought of implementing this is in the following
> sequence.
>  1. Unbind all services
>  2. Process all pending requests
>  3. Send shutdown message to current sessions
>  4. Close sessions.
> So my approach would work only if unbind doesn't close sessions.
> thanks,
> Srikanth

View raw message