I am developing an MBean that is responsible, under certain conditions, for deploying and undeploying an MDB. To that end I packaged the .jar file into the local-dir of the MBean's SAR and wrote some code in the MBean to explicitly deploy/undeploy the MDB.
However I believe I'm observing that when the SAR deployer deploys the MBean it finds the .jar file in the SAR and automatically deploys it. This is not what I want in this case. Could someone advise how I could rest back control of when the 'embedded' MDB gets deployed?
thanks,
Paul
An ear will only deploy an application mentioned
in application.xml
Regards,
Adrian