IBM Support

PH42103: JAXRSFACTORYIMPLICITBEANCDICUSTOMIZER DOES NOT RELEASE CREATIONALCONTEXTS

Subscribe

You can track all active APARs for this component.

 

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

    2026-07-08

  • 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

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

Document Information

Modified date:
08 July 2026