This content has been marked as final.
Show 1 reply
-
1. Re: JMX->Session Bean->Entity Bean in one Jar file... depend
manica Feb 26, 2006 8:34 PM (in response to mnewcomb)This is similar to:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=76827&postdays=0&postorder=asc&start=0
It is not directly related to having a MBean -> SessionBean -> Entity chain, but to a bug in the @EJB dependency injection and dependencies.
JIRA shows the issue to be fixed in CVS.
http://jira.jboss.com/jira/browse/EJBTHREE-447
Until RC6, you can manually fix the dependency as follows:
@Service public class MyMBean implements ... {
@Depends("jboss.j2ee:ear=myear.ear,jar=myjar.jar,name=MySessionBean,service=EJB3")
@EJB private MySessionBeanLocal mySessionBeanLocal;
...
}
Darin