IBM Support

PM47817: @INJECT ANNOTATION NOT WORKING IN AMM

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • AMMStore for the war file, which the webcontainer
    uses for determining the injection, does not contain the
    annotations from the classes in the war fragment file. The
    current design of the annotations processing creates a separate
    AMMStore for the fragment file.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server version 8 deploying Servlet 3.0      *
    *                  modules with Web Fragments.                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: @Inject annotations in Servlet 3.0      *
    *                      modules containing Web Fragments        *
    *                      are not recognized.                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Java Enterprise Edition 6 introduced Web Fragments to the
    Servlet 3.0 specification. Web Fragments are contained in
    the WEB-INF/lib directory of the module.
    The use of the @Inject annotation in these fragment files will
    not be properly recognized. Deploying an application dependant
    on these @Inject annotations may cause failures.
    

Problem conclusion

  • There is no workaround for this issue. A code update was made
    to consolidate the storage of Web Fragment metadata into the
    containing module.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.0.0.2.  Please refer to the Recommended Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM47817

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-09-14

  • Closed date

    2011-09-27

  • Last modified date

    2011-09-27

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 October 2021