IBM Support

PH42103: JAXRSFACTORYIMPLICITBEANCDICUSTOMIZER DOES NOT RELEASE CREATIONALCONTEXTS

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Obtaining a reference to a bean in a programmatic way using
    CDI.current().select(MyBean.class).get(), can lead to a memory
    leak, if there is a CDI Interceptor attached to the bean. This
    can cause a memory leak in WAS.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V9.0.5.5 - 9.0.5.9                   *
    ****************************************************************
    * PROBLEM DESCRIPTION: Potential CreationalContext memory      *
    *                      leak in JAXRS involving CDI             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    CreationalContext objects created by JAXRS code are not
    released properly following service invoke and could
    potentially result in a memory leak.  A possible scenario is
    when a bean annotated with @Dependent with a preDestroy()
    method is injected into a class annotated with @Path.
    

Problem conclusion

  • Modified the JAXRS code to property release the
    CreationalContext objects following service invoke.
    
    The fix for this APAR is targeted for inclusion in fix pack
    9.0.5.11. For more information, see 'Recommended Updates for
    WebSphere Application Server':
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH42103

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-11-16

  • Closed date

    2022-01-21

  • Last modified date

    2022-01-21

  • 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 FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

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

Document Information

Modified date:
22 January 2022