IBM Support

PI54707: Intermittent ConcurrentModificationException thrown on startup w hen two Liberty apps use a privateLibraryRef.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Two applications in Liberty access the same library via a
    privateLibraryRef. On startup, both try to lazily initialize
    data from the configured fileset elements and the apps enter
    a race condition. If the initialization happens concurrently
    on two threads, a ConcurrentModificationException occurs.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Intermittent                            *
    *                      ConcurrentModificationException thrown  *
    *                      on startup when two Liberty apps use a  *
    *                      privateLibraryRef.                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Two applications in Liberty access the same library via a
    privateLibraryRef. On startup, both try to lazily initialize
    data from the configured fileset elements and the apps enter a
    race condition. If the initialization happens concurrently on
    two threads, a ConcurrentModificationException occurs.
    

Problem conclusion

Temporary fix

  • Either use a classloader with a commonLibraryRef to allow
    multiple apps to share a single library, or use separate
    libraries for each application.
    

Comments

APAR Information

  • APAR number

    PI54707

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-12-29

  • Closed date

    2016-02-24

  • Last modified date

    2016-02-24

  • 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

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

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

Document Information

Modified date:
01 December 2021