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

dependency injection fails when deploying large graphs of inter-dependent EJBs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 6.0.0.Final
    • Fix Version/s: 6.1.0
    • Component/s: EJB
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      1. download ear attached to this bug
      2. deploy on jboss 6 final
      3. watch the fireworks.

      to build your own random ear, download the maven project attached to this bug, run "mvn clean install" (number of beans in the ear is configurable in one of the poms)

      Show
      1. download ear attached to this bug 2. deploy on jboss 6 final 3. watch the fireworks. to build your own random ear, download the maven project attached to this bug, run "mvn clean install" (number of beans in the ear is configurable in one of the poms)

      Description

      i've attached a maven project that generates a random ear containing 100 EJBs that are inter-denendent. the graph generated is directed (no loops). graph roots are @Singleton @Startup beans that have a @PostConstruct method. in this method, they access all of their injected @EJBs, which then do the same recursively. the ears generated deploy fine for small cases (5 beans), but when trying to deploy a 100-bean ear several injections fail.

        Attachments

          Activity

            People

            Assignee:
            jaikiran Jaikiran Pai (Inactive)
            Reporter:
            hatchetman82 Radai Rosenblatt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: