IBM Support

PH35414: BEAN VALIDATION LEAKING APPLICATION CLASS LOADERS

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

  • When repeatedly install and uninstall the application,
    OutOfMemoryError occurs.
    Bean Validation leaks the application
    class loader every time the application is stopped.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server utilizing Bean Validation in         *
    *                  applications.                               *
    ****************************************************************
    * PROBLEM DESCRIPTION: Repeatedly starting and stopping        *
    *                      applications that utilized bean         *
    *                      validation results in an out of         *
    *                      memory JVM error.                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Bean Validation applications might leak their application
    class loader when the application is stopped. This can lead to
    out of memory errors when applications are repeatedly
    stopped/started. The leaked application class loaders will
    show, "METHOD_BY_NAME_AND_CLASS class
    org.apache.bval.jsr.ConstraintAnnotationAttributes", towards
    the top of the tree when analyzing heap dumps.
    

Problem conclusion

  • The WebSphere bean validation code has been updated to clear
    cached constraint annotation data when applications are
    stopped. This removes the references to the application class
    loader that was preventing the application class loader from
    being garbage collected.
    
    The fix for this APAR is targeted for inclusion in fix pack
    9.0.5.9. 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

    PH35414

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-03-17

  • Closed date

    2021-09-07

  • Last modified date

    2021-09-07

  • 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

  • R900 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":"9.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
01 November 2021