-
1. Re: Post EAR-deploy / pre EAR-undeploy activities
genman Aug 22, 2005 6:35 PM (in response to jcoffee)
http://www.google.com/search?q=notification+jboss+deployment
Well, JBoss uses services (MBeans) and deployment ordering. Deployers also emit notification (via JMX) when a service is added or removed.
Maybe you should buy one of those expensive books if the google.com is too complicated? -
2. Re: Post EAR-deploy / pre EAR-undeploy activities
jcoffee Aug 23, 2005 4:03 AM (in response to jcoffee)Sorry, I didn't want to be sarcastic. I'm just a bit lost: Your query points me directly to the Wiki page ReceiveJMXDeploymentNotifications. That's where I started a couple of days before. I deploy a JMX based NotificationListener in an SAR registering with the EARDeployer. And it works fine for deployment. But on undeployment, I receive the notification too late. My EJBs are already undeployed at that time. However, I need to perform some pre-undeploy actions with by EJBs still active. This excactly is the problem. And even in the books - I bought all the three of them - I cannot find a hint how to make it.