I don't think you need to change anything related to the shutdown hook, it's just
a simple bug in JMSServerDeployer.
The undeploy method should just be removing the objects from jndi - not deleting them!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170786#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...