IBM Support

PI47954: Future.get can hang during ManagedTaskListener.taskStarting for repeating task

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When Future.get is attempted on the Future that is supplied
    to ManagedTaskListener.taskStarting for a repeating task
    that runs very soon after the previous run, the get
    operation will sometimes wait forever instead of being
    rejected immediately.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty Profile                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Future.get can hang during              *
    *                      ManagedTaskListener.taskStarting for    *
    *                      repeating task                          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When Future.get is attempted on the Future that is supplied to
    ManagedTaskListener.taskStarting for a repeating task that runs
    very soon after the previous run, the get operation will
    sometimes wait forever instead of being rejected immediately.
    

Problem conclusion

Temporary fix

  • Avoid usage of future.get within
    ManagedTaskListener.taskStarting.
    

Comments

APAR Information

  • APAR number

    PI47954

  • 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

    2015-09-01

  • Closed date

    2015-09-04

  • Last modified date

    2015-09-04

  • 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:
28 April 2022