]
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: