Just do a timeout with a warning. Nothing should wait forever.
There should really be an option to first "unhook" and do the shutdown
asynchronously,
but that might fail if the shutdown is due to undeployment and the classloader is
destroyed.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039222#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...