[jboss-as7-dev] Notification of shutdown commencing

Oleg Kulikov oleg.kulikoff at gmail.com
Sat Apr 7 02:13:22 EDT 2012


External monitor?

6 апреля 2012 г. 23:55 пользователь Brian Stansberry <
brian.stansberry at redhat.com> написал:

> I can't figure out a way to produce a notification of an impending
> server shutdown if a user does a soft kill of the server process.
>
> It's easy enough if shutdown is initiated by a management op; the op
> handler can trigger the notification. But a soft kill triggers a
> shutdown hook registered by the MSC ServiceContainer, and once that
> starts, services start stopping semi-randomly and its too late to notify
> anyone that that is going to start happening.
>
> The MSC shutdown stuff isn't exposed, so there's no way to tie into
> that. Adding another shutdown hook doesn't help as there's no
> predictable order of execution.
>
> --
> Brian Stansberry
> Principal Software Engineer
> JBoss by Red Hat
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20120407/1cf02d35/attachment.html 


More information about the jboss-as7-dev mailing list