[jboss-user] [EJB 3.0 Users] - How to handle a correct ejb module undeployment

rbattenfeld do-not-reply at jboss.com
Fri Nov 27 08:38:06 EST 2009


Hi

We have developed an EJB module in which the main tasks are performed by MDBs. An onMessage() call can be a long time task up to 2 minutes. I tried to find a mechanism to be informed some how that the container is being to undeploy the EJB module, so that the application can release all resources properly.

At the moment, container stops the database resources before the EJBs are stopped.

We look for way to be informed before the container stops the EJB module and the resources.

We are using JBoss 5.1.

Thanks a lot for any help.
Ralf

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4267795#4267795

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4267795



More information about the jboss-user mailing list