IBM Support

PM85506: CICS SHUTDOWN HANGS AFTER RESTRICTED JAVA SYSTEM.EXIT() COMMAND

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as unreproducible.

Error description

  • CICS region hangs after a Java application program mistakenly
    issued a restricted System.exit() command. The region could not
    be cancelled and had to be forced down.  CICS documents that
    if you use the System.exit() method in your Java application,
    the application abnormally ends. The JVM server and CICS also
    shut down.
    .
    Following the System.exit() request, CICS started an immediate
    shutdown of CICS. The joblogs show immediate shutdown message:
    .
    DFHTM1703 CICS is being terminated by userid uuuuuuuu in
               transaction tttt.
    .
    In addition, there are messages indicating that CPSM and MQ are
    also shutting down. The shutdown is initiated under the
    application task which is evident because there is a kernel
    stack for shutdown module DFHSTP in the task's stacks. DFHSTP
    calls DFHSTST to begin collecting EOD shutdown statistics for
    the various domains. DFHSJST is called for COLLECT_STATISTICS,
    a new T8 TCB is created, but the new TC8 gets put into a wait
    out of LE module CELCQLIB (program CEEOPCW). Since the T8 TCB
    is in a Wait, the statistics collection doesn't complete, and
    control never returns to DFHSTP to continue shutting down.
    .
    Additional Symptom(s) Search Keyword(s):
    KIXREVSVR  DFHAPLJ1 DFHAPLJP
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS users.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: CICS shutdown hangs when a Java         *
    *                      application with System.exit() call     *
    *                      is running in a JVM server.             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    CICS no longer supports the use of the System.Exit() method.
    When a Java application invokes this method, the JVM server
    and CICS will shut down. During the shutdown process, CICS
    will collect end of day statistics. SJ domain then hangs trying
    to get the statistics from the JVM server. The statistics
    collection does not complete and this prevents CICS from
    shutting down.
    

Problem conclusion

Temporary fix

  • FIX AVAILABLE BY PTF ONLY
    

Comments

  • CICS has been changed to not collect statistics from a JVM
    server which is terminating.
    
    The CICS Transaction Server V4.2 Trace Entries (SC34-7187-01)
    has been updated to add a new trace entry to the table of
    JVM domain trace points:
    
    Point ID     Module    Lvl     Type                   Data
    SJ 024A     DFHSJIN    Exc    JVMSERVER is exiting    No data
    

APAR Information

  • APAR number

    PM85506

  • Reported component name

    CICS TS Z/OS V4

  • Reported component ID

    5655S9700

  • Reported release

    700

  • Status

    CLOSED UR3

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2013-03-25

  • Closed date

    2013-05-20

  • Last modified date

    2013-07-02

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    UK94547

Modules/Macros

  • DFHAPLJP DFHAPLJ1 DFHKEDS  DFHKETCB DFHLEPT@
    DFHSJBD  DFHSJCC  DFHSJCL  DFHSJCS  DFHSJDM  DFHSJDS  DFHSJDUF
    DFHSJGC  DFHSJIN  DFHSJINT DFHSJIS  DFHSJJI  DFHSJJS  DFHSJPI
    DFHSJPJP DFHSJPTI DFHSJRL  DFHSJSA  DFHSJSC  DFHSJSM  DFHSJST
    DFHSJTH  DFHSJTHT DFHSJTRI
    

Fix information

  • Fixed component name

    CICS TS Z/OS V4

  • Fixed component ID

    5655S9700

Applicable component levels

  • R700 PSY UK94546

       UP13/06/04 P F306

  • R703 PSY UK94547

       UP13/06/04 P F306

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Line of Business":{"code":"LOB35","label":"Mainframe SW"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGMGV","label":"CICS Transaction Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"4.2"}]

Document Information

Modified date:
10 September 2020