Hello,

I'm trying to deploy an EAR file with some EJBs into Jboss 4.0.4GA,

I have two Stateless beans: AccountBean/UserBean,

As it seems, if no EJB injection is done between those two, both are deployed 
correctly, even if one EJB is injected into another things work fine,

But at the moment I add depdenencies between both beans (on each EJB I inject 
the other one by the @EJB annotation) I get the following failure in deployment 
time:



  | 20:13:14,909 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
  | 
  | --- MBeans waiting for other MBeans ---
  | ObjectName: 
jboss.j2ee:ear=registration.ear,jar=Registration-EJBModule.jar,name=AccountBean,service=EJB3
  |   State: NOTYETINSTALLED
  |   I Depend On:
  |     
persistence.units:ear=registration.ear,jar=Registration-EJBModule.jar,unitName=default
  |     
jboss.j2ee:ear=registration.ear,jar=Registration-EJBModule.jar,name=TargetSystemBean,service=EJB3
  |     
jboss.j2ee:ear=registration.ear,jar=Registration-EJBModule.jar,name=UserBean,service=EJB3
  |   Depends On Me:
  |     
jboss.j2ee:ear=registration.ear,jar=Registration-EJBModule.jar,name=UserBean,service=EJB3
  | 
  | ObjectName: 
jboss.j2ee:ear=registration.ear,jar=Registration-EJBModule.jar,name=UserBean,service=EJB3
  |   State: NOTYETINSTALLED
  |   I Depend On:
  |     
jboss.j2ee:ear=registration.ear,jar=Registration-EJBModule.jar,name=TargetSystemAttributeBean,service=EJB3
  |     
persistence.units:ear=registration.ear,jar=Registration-EJBModule.jar,unitName=default
  |     
jboss.j2ee:ear=registration.ear,jar=Registration-EJBModule.jar,name=AccountBean,service=EJB3
  |   Depends On Me:
  |     
jboss.j2ee:ear=registration.ear,jar=Registration-EJBModule.jar,name=AccountBean,service=EJB3
  | 


This app seems to work perfectly on Glassfish,
As it seems, in Jboss there's a problem when one EJB X is depdend on Y when Y 
is depdendent on X,


Any clues?

Thanks in advanced,

Asaf.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953219#3953219

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953219

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to