glassfish
  1. glassfish
  2. GLASSFISH-15225

[OSGi] CDI beans not accessible in web applications

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1_dev
    • Fix Version/s: 4.1.1
    • Component/s: cdi, OSGi-JavaEE
    • Labels:
      None

      Description

      This seems to be related to GLASSFISH-14842.

      However as that bug seems to be fixed this could be introduced by the OSGi/CDI integration.

      Attached a test project ( dummy-cdi-web-test.tar.gz ) which is a maven project building a WAB. To see the issue immediately try to access it like this:

      http://localhost:8080/dummy-web/?name=John

      The error I then get is:

      /index.xhtml @12,69 value="#

      {dummyBean.name}

      ": Target Unreachable, identifier 'dummyBean' resolved to null

      The application worked fine at least with 3.1 promoted b06.

        Issue Links

          Activity

            People

            • Assignee:
              Sanjeeb Sahoo
              Reporter:
              chaoslayer
            • Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated: