In the loop you should check for Thread.interrupted() anyway. Plus you can register for a JMX notification about the shutdown. See http://docs.jboss.com/jbossas/javadoc/4.0.4/system/org/jboss/system/server/Server.html
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3997475#3997475 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3997475 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user