[EJB/JBoss] - Cross-referencing EJBs doesn't work
by linoux
Hello !
It seems that cross referencing 2 sessions does not work in JBoss... Although I found no restricutions about cross-referencing stateless session beans in EJB specs....
I'm using JBoss-4.0.5.GA.
Here is my sessions definitions :
| @Local
| public interface ALocal {
|
| }
|
| @Stateless
| public class A implements ALocal {
| @EJB BLocal b;
| }
|
| @Local
| public interface BLocal {
|
| }
|
| @Stateless
| public class B implements BLocal{
| @EJB ALocal a;
| }
And here the deployment logs (everything before this seems OK) :
ObjectName: jboss.j2ee:ear=ogp-app.ear,jar=ogp-ejb.jar,name=A,service=EJB3
| State: NOTYETINSTALLED
| I Depend On:
| jboss.j2ee:ear=ogp-app.ear,jar=ogp-ejb.jar,name=B,service=EJB3
| Depends On Me:
| jboss.j2ee:ear=ogp-app.ear,jar=ogp-ejb.jar,name=B,service=EJB3
|
| ObjectName: jboss.j2ee:ear=ogp-app.ear,jar=ogp-ejb.jar,name=B,service=EJB3
| State: NOTYETINSTALLED
| I Depend On:
| jboss.j2ee:ear=ogp-app.ear,jar=ogp-ejb.jar,name=A,service=EJB3
| Depends On Me:
| jboss.j2ee:ear=ogp-app.ear,jar=ogp-ejb.jar,name=A,service=EJB3
|
It seams that the two EJB are waiting for each other...
Does anyone know how to make this work ?
Thanks for your help !
--
Celine
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129343#4129343
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129343
18 years, 2 months
[Installation, Configuration & DEPLOYMENT] - Re: Exception in thread
by jaikiran
jazzinto,
The right place to ask this question would be at http://www.jboss.com/index.html?module=bb&op=viewforum&f=216.
anonymous wrote : I am receiving posts about Installation, Configuration & DEPLOYMENT by e-mail, and I want to stop receiving them, but i cannot find the way to do so. Any help will be highly appreciated.
|
When you login to the forum, you will see a "Watched Forums" link, where you can configure the forums you want to watch. Have you selected "Installation, Configuration & Deployment" forum there? If yes, then unselect it. That should stop any mails being sent out when someone posts in this forum.
If this does not work or if you have any other questions related to this, please open a new topic in http://www.jboss.com/index.html?module=bb&op=viewforum&f=216.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129331#4129331
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129331
18 years, 2 months