IBM Support

PI31165: java.util.concurrent.RejectedExecutionException when default executor is dynamically updated

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When dynamic updates are made to the Liberty default
    executor, the runtime behavior is that a new executor
    instance is created with the new configuration settings and
    this new executor instance receives any newly submitted
    work.  The old executor instance is shut down, which means
    that new work cannot be submitted to it but old work can
    still finish.  However, timing windows exist such that a
    thread may still hold a reference to the old executor and
    may attempt to submit work to it.  This thread will
    improperly receive a
    java.util.concurrent.RejectedExecutionException.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: java.util.concurrent.RejectedExecutionE *
    *                      xception when default executor is       *
    *                      dynamically updated                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When dynamic updates are made to the Liberty default executor,
    the runtime behavior is that a new executor instance is created
    with the new configuration settings and this new executor
    instance receives any newly submitted work.  The old executor
    instance is shut down, which means that new work cannot be
    submitted to it but old work can still finish.  However, timing
    windows exist such that a thread may still hold a reference to
    the old executor and may attempt to submit work to it.  This
    thread will improperly receive a
    java.util.concurrent.RejectedExecutionException.
    

Problem conclusion

  • Code was added that allows work to still be submitted to the old
    executor instance even after the new instance is in place.  The
    old executor will quiesce when its work has completed and there
    are no more references to it.
    
    The fix for this APAR is
    currently targeted for inclusion in fix pack 8.5.5.4.  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

    PI31165

  • Reported component name

    WAS LIBERTY COR

  • Reported component ID

    5725L2900

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-12-09

  • Closed date

    2014-12-11

  • Last modified date

    2014-12-11

  • 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

    WAS LIBERTY COR

  • Fixed component ID

    5725L2900

Applicable component levels

  • R855 PSY

       UP

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

Document Information

Modified date:
11 January 2022