[JBoss-user] [Beginners Corner] - Re: Need to execute method on Shutdown

2006-04-06 Thread pmilosevic
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.

[JBoss-user] [Beginners Corner] - Re: Need to execute method on Shutdown

2006-04-06 Thread [EMAIL PROTECTED]
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 ---

[JBoss-user] [Beginners Corner] - Re: Need to execute method on Shutdown

2006-04-06 Thread sony3002
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

[JBoss-user] [Beginners Corner] - Re: Need to execute method on Shutdown

2006-04-10 Thread pmilosevic
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