[jboss-jira] [JBoss JIRA] Resolved: (EJBTHREE-792) Cyclic @EJB dependency doesn't work anymore
Carlo de Wolf (JIRA)
jira-events at lists.jboss.org
Thu Jul 12 10:09:04 EDT 2007
[ http://jira.jboss.com/jira/browse/EJBTHREE-792?page=all ]
Carlo de Wolf resolved EJBTHREE-792.
------------------------------------
Resolution: Won't Fix
A cyclic EJB dependency leads to non deterministic behavior. You can use @IgnoreDependency to force it into a deterministic behavior.
> 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