[jboss-user] [Beginners Corner] - How to solve circular dependencies in JBoss 4.0.5GA?
tonylmai
do-not-reply at jboss.com
Fri Mar 23 17:41:01 EDT 2007
Hello all,
I have two stateless session beans that exchange data with each other. If I were to declare EJB injection (@EJB tag) of each other in the beans, the container would complain:
anonymous wrote : 14:37:58,625 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
|
| --- MBeans waiting for other MBeans ---
| ObjectName: jboss.j2ee:jar=test.jar,name=Proc1Bean,service=EJB3
| State: NOTYETINSTALLED
| I Depend On:
| jboss.j2ee:jar=test.jar,name=Proc2Bean,service=EJB3
| Depends On Me:
| jboss.j2ee:jar=test.jar,name=Proc2Bean,service=EJB3
|
| ObjectName: jboss.j2ee:jar=test.jar,name=Proc2Bean,service=EJB3
| State: NOTYETINSTALLED
| I Depend On:
| jboss.j2ee:jar=test.jar,name=Proc1Bean,service=EJB3
| Depends On Me:
| jboss.j2ee:jar=test.jar,name=Proc1Bean,service=EJB3
|
Is there a way around this?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031216#4031216
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031216
More information about the jboss-user
mailing list