Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5102

Crossreferencing EJBs using comp-names does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • JBossAS-4.2.2.GA
    • EJB
    • None

    Description

      I have two stateless session beans which are referencing each other like
      that:

      @Stateless
      public class SessionBeanA implements SessionBeanALocal

      { @EJB private SessionBeanB sessionB; }

      and

      @Stateless
      public class SessionBeanB implement SessionBeanBLocal

      { @EJB private SessionBeanA sessionA; }

      When deploying the application on JBoss AS I get

      — MBeans waiting for other MBeans —
      ObjectName: jboss.j2ee:jar=test.jar,name=SessionBeanA,service=EJB3
      State: NOTYETINSTALLED
      I Depend On:
      jboss.j2ee:jar=test.jar,name=SessionBeanB,service=EJB3
      persistence.units:jar=test.jar,unitName=test.jar
      Depends On Me:
      jboss.j2ee:jar=test.jar,name=SessionBeanB,service=EJB3

      ObjectName: jboss.j2ee:jar=test.jar,name=SessionBeanB,service=EJB3
      State: NOTYETINSTALLED
      I Depend On:
      jboss.j2ee:jar=test.jar,name=SessionBeanA,service=EJB3
      Depends On Me:
      jboss.j2ee:jar=test.jar,name=SessionBeanA,service=EJB3

      and the deployment fails.

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-cdewolf Carlo de Wolf
              noltec Christian Nolte (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: