[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-792) Cyclic @EJB dependency doesn't work anymore
Guy Coleman (JIRA)
jira-events at lists.jboss.org
Wed Apr 16 08:33:09 EDT 2008
[ http://jira.jboss.com/jira/browse/EJBTHREE-792?page=comments#action_12409091 ]
Guy Coleman commented on EJBTHREE-792:
--------------------------------------
As mentioned in EJBTHREE-1074:
It'd be great if this could be fixed for EJB3: cyclic dependencies work for EJB2 beans, and also work in Weblogic for both EJB2 and EJB3 beans. We've got over 200 session beans and tracking down the exact dependencies that JBoss doesn't like takes a long time.
Another problem is that @IgnoreDependency doesn't work when you have class-level @EJB references.
> Cyclic @EJB dependency doesn't work anymore
> -------------------------------------------
>
> Key: EJBTHREE-792
> URL: http://jira.jboss.com/jira/browse/EJBTHREE-792
> Project: EJB 3.0
> Issue Type: Bug
> Affects Versions: EJB 3.0 RC9 - Patch 1
> Reporter: Frank Cornelis
> Assigned To: Carlo de Wolf
>
> Next used to work.
> @Stateless
> public class HelloBean implements HelloLocal, HelloRemote {
> @EJB
> private Hello2Local hello2;
> }
> @Stateless
> public class Hello2Bean implements Hello2Local, Hello2Remote {
> @EJB
> private HelloLocal hello;
> }
> On JBoss AS 4.0.5.GA I now get:
> --- MBeans waiting for other MBeans ---
> [exec] ObjectName: jboss.j2ee:ear=xxx-ear-1.0-SNAPSHOT.ear,jar=xxx-model-1.0-SNAPSHOT.jar,name=HelloBean,service=EJB3
> [exec] State: NOTYETINSTALLED
> [exec] I Depend On:
> [exec] jboss.j2ee:ear=xxx-ear-1.0-SNAPSHOT.ear,jar=xxx-model-1.0-SNAPSHOT.jar,name=Hello2Bean,service=EJB3
> [exec] Depends On Me:
> [exec] jboss.j2ee:ear=xxx-ear-1.0-SNAPSHOT.ear,jar=xxx-model-1.0-SNAPSHOT.jar,name=Hello2Bean,service=EJB3
> [exec] ObjectName: jboss.j2ee:ear=xxx-ear-1.0-SNAPSHOT.ear,jar=xxx-model-1.0-SNAPSHOT.jar,name=Hello2Bean,service=EJB3
> [exec] State: NOTYETINSTALLED
> [exec] I Depend On:
> [exec] jboss.j2ee:ear=xxx-ear-1.0-SNAPSHOT.ear,jar=xxx-model-1.0-SNAPSHOT.jar,name=HelloBean,service=EJB3
> [exec] Depends On Me:
> [exec] jboss.j2ee:ear=xxx-ear-1.0-SNAPSHOT.ear,jar=xxx-model-1.0-SNAPSHOT.jar,name=HelloBean,service=EJB3
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list