IBM Support

PI07849: WCG WSGRID SHUTDOWNHOOK NOT CALLED ON JVM EXIT.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • WCG WSGrid  not called on JVM exit.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users of WebSphere Extended Deployment      *
    *                  Compute Grid 8.0 and the batch function     *
    *                  of WebSphere Application Server 8.5 using   *
    *                  the external scheduler integration          *
    *                  ("WSGrid").                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: The JVM launched in executing the       *
    *                      WSGrid utility (typically used to       *
    *                      integrate with an external scheduler    *
    *                      program) may hang at the end of         *
    *                      its execution, in the process of        *
    *                      executing its ShutdownHook(s).          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The WSGrid utility which integrates WebSphere batch processing
    with an external scheduler registers a ShutdownHook (with the
    JVM used to run this utility, not with the WebSphere server).
    This allows the WSGrid utility to attempt to cancel a batch job
    running on a WebSphere application server when the WSGrid JVM
    is brought down for some reason, (rather than leaving the job
    executing without a client monitoring the results).
    In some circumstances, the WSGrid JVM has been observed to hang
    within the JVM routine involving ShutdownHook execution, even
    for a job completing normally (executing without error and
    terminating in the 'ended' state).  This has only been observed
    to occur intermittently when it happens at all.
    A bug within the IBM JVM or the WebSphere Compute Grid
    or WebSphere Application Server products was not identified as
    the cause here.
    

Problem conclusion

  • To work around the issue, an option was added to disable the
    ShutdownHook along with the functionality it provides.
    
    The new option can be enabled by entering the following line
    within the WSGrid "control properties" file:
    
      disableShutdownHook=true
    
    Note that as a side effect of enabling this option (disabling
    the ShutdownHook), the WSGrid JVM would not make an attempt to
    cancel a batch job executing on the server when the WSGrid JVM
    exits prematurely.
    
    APAR PI07849 is currently targeted for inclusion in Service
    Level (Fix Pack) 8.0.0.5 of WebSphere Compute Grid 8.0.
    
    Please refer to the Recommended Updates page for delivery
    information:
    http://www.ibm.com/support/docview.wss?uid=swg27022998
    

Temporary fix

  • An interim fix is available upon request.
    

Comments

APAR Information

  • APAR number

    PI07849

  • Reported component name

    WXD COMPUTE GRI

  • Reported component ID

    5725C9301

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-12-10

  • Closed date

    2014-05-19

  • Last modified date

    2014-05-20

  • 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

    WXD COMPUTE GRI

  • Fixed component ID

    5725C9301

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU029","label":"Software"},"Product":{"code":"SSFVRM","label":"WebSphere Extended Deployment Compute Grid"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0"}]

Document Information

Modified date:
28 April 2022