The org.jboss.system.server.stopped notification appears to only be emitted if ServerImpl.halt/halt(exitcode) is called.
Given that server shutdown can be precipitated by the shutdown and exit methods on the same class in addition to a signal sent by Ctrl+C and/or kill depending on your platform, could a sentStopNotification method be added to contain this behavior and to be called by the JBoss Shutdown Hook defined in that same Java file? This seems like it would ensure that the notification was sent regardless of the shutdown method used. Is there a reason that the halt methods are the only ones to emit this notfication that I may have missed? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918686#3918686 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918686 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user