IBM Support

PI27303: JAVA PROGRAM LOOP IN JVMSERVER IN CICS TS VER.5.1 USING COM.IBM.CICS.SAMPLES.SJMERGEDSTREAM JAVA CLASS

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A Java program executed under JVMServer in CICS TS Ver.5.1
    is in loop.
    
    The JVM is attempting to resize the HashMap, but it is stuck in
    the HashMap.transfer() method, which moves the Entry objects
    from the old underlying array to a new, larger array. The Map
    was resized by another thead while this operation was in
    progress. This has left the Map's internals in an inconsistent
    state, which in turn has resulted in the infinite loop.
    
    
    The HashMap in this case is referenced in a field called
    "cicsThreadBuffers" in an instance of
    com.ibm.cics.samples.SJMergedStream. It is needed convert this
    HashMap to a synchronized Map.
    

Local fix

  • No Local Fix
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS Users                               *
    ****************************************************************
    * PROBLEM DESCRIPTION: Transaction can potentially loop        *
    *                      when using JVM server redirection       *
    *                      samples.                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If the JVM server redirection samples are being used to redirect
    the output from a Java program. It's possible that during a
    workload a task could start looping because the JVM is resizing
    a Java Map.
    
    Additional Keywords: USEROUTPUTCLASS
    

Problem conclusion

  • SJStream.java has been changed to ensure that the HashMap is
    synchronized.
    

Temporary fix

  • FIX AVAILABLE BY PTF ONLY
    

Comments

APAR Information

  • APAR number

    PI27303

  • Reported component name

    CICS TS Z/OS V5

  • Reported component ID

    5655Y0400

  • Reported release

    80D

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-10-09

  • Closed date

    2014-12-19

  • Last modified date

    2015-03-06

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

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

    UI24117 UI24118

Modules/Macros

  • DFJ@H168 DFJ@H173
    

Fix information

  • Fixed component name

    CICS TS Z/OS V5

  • Fixed component ID

    5655Y0400

Applicable component levels

  • R80D PSY UI24117

       UP15/01/07 P F501

  • R90D PSY UI24118

       UP15/01/07 P F501

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.

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

Document Information

Modified date:
30 April 2020