Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-1458

CDI Injections do not work in EAR deployments

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.0.1.Final
    • 7.0.0.Final
    • CDI / Weld
    • None

    Description

      A project with CDI jars in an EAR lib are not being injected into EJBs. However, the exact same project deployed as a standalone WAR, with everything in WEB-INF/lib works properly.

      In the EAR deployment, the EJB's method that calls in the injected bean throws a NullPointerException.

      Attachments

        1. javaee-ear.zip
          12 kB
        2. javaee-war.zip
          11 kB

        Activity

          People

            sdouglas1@redhat.com Stuart Douglas
            skroll_jira Scott Kroll (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: