I have the same problem as rvaneperen.
My application is establishing dialup connections and I want to disconnect all
active connections during JBoss shutdown.
I've tried to use MBean stopService method but it's executed after undeployment
of some resources I need to access to perform cleanup.
Then you need to have a depends on those resources so that you are shutdown
before them.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935542#3935542
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935542
---
if you are deploying web application with jboss then you can use
ServletContextListener for this
Sony
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935610#3935610
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935610
Thank you, setting dependecies helped.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936215#3936215
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936215
---
This S