I have an MBean contained within a SAR file contained within an EAR. In the MBean I do a
JNDI lookup for a SessionBean but it is failing because the MBean is deployed before the
EJB. How do I get the MBean to deploy after the EJBs have been bound to the JNDI?
Adding a depends on the EJB deployer makes no difference to when the MBean is deployed:
<mbean code="foo.bar.FooBarService"
| name="Foo:service=foo.bar.FooBarService">
| <depends>jboss.ejb:service=EJBDeployer</depends>
| </mbean>
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042032#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...