Services are started before EJBs, therefore the EJB is probably not ready at 
the time the code is run. You need to add a depends tag that references the 
BMean generated for the EJB. Something like this:

<mbean ...>
  | 
<depends>jboss.j2ee:ear=xxx.ear,jar=xxx.jar,name=MyEjb,service=EJB3</depends>
  | </mbean>

You can use the jmx console to look up the name for your ejb's mbean.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179842
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to