IBM Support

PI98038: IMPROVE DFHJS2LS SERVICEABILITY FOR RECURSION LOOP RESULTING IN OUTOFMEMORY ERROR JVMDUMP013I

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • You are using DFHJS2LS to process a document with recursive
    definitions.  Recursion is not supported by DFHJS2LS, however
    the code should not loop processing the recursion elements
    until Java OutOfMemory occurs, but detect the unsupported
    recursion and throw an exception.
    
    Additional Symptom(s) Search Keyword(s): KIXREVWJB 5655CE300
    OOM JSON BAQLS2JS ZCEE swagger zconbt DFHPI9708W web assistant
    js2ls
    
    BAQB0013E: Unexpected error has occurred: null
    
    BAQB0021W: The JSON schema keyword items has not been
    recognized and will be ignored.
    
    JVMDUMP013I Processed dump event "systhrow", detail
    "java/lang/OutOfMemoryError".
    Exception in thread "main" java.lang.OutOfMemoryError: Java
    heap space
    
    com.ibm.cics.wsdl.ws2ls.js2ls.appendAnnotations(js2ls.java:2139)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All CICS users.                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: DFHJS2LS terminates due to an           *
    *                      OutOfMemoryError.                       *
    ****************************************************************
    DFHJS2LS is run in preparation for creating a JSON web service
    or program that converts JSON to/from application data.  A JSON
    schema was provided as input which contains a recursive JSON
    pointer ($ref).  This causes DFHJS2LS to loop until an
    OutOfMemoryError occurs.
    

Problem conclusion

  • DFHJS2LS has been updated to exit with message DFHPI9740E if a
    JSON schema is input which contains a recursive pointer, as
    recursive JSON schema are not supported.
    
    The CICS Transaction Server for z/OS 5.4 and 5.5 Knowledge
    Centers will be updated to add new message DFHPI9740E.
    
    DFHPI9740E Unsupported JSON schema. A recursive JSON pointer
    \"pointer\" was found.
    
    Explanation
    
    A JSON pointer was encountered within a schema that would result
    in a recursive structure.  Recursive pointers are not supported.
    
    System Action
    
    The assistant ends.
    
    User Response
    
    Remove the unsupported pointer.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI98038

  • Reported component name

    CICS TS Z/OS V5

  • Reported component ID

    5655Y0400

  • Reported release

    100

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-05-16

  • Closed date

    2019-01-14

  • Last modified date

    2019-02-02

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

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

    UI60645 UI60646 UI60647

Modules/Macros

  • DFHMEPIC DFHMEPIE DFHMEPIK DFJ@H176
    

Fix information

  • Fixed component name

    CICS TS Z/OS V5

  • Fixed component ID

    5655Y0400

Applicable component levels

  • R100 PSY UI60645

       UP19/01/15 P F901

  • R10D PSY UI60646

       UP19/01/15 P F901

  • R200 PSY UI60647

       UP19/01/25 P F901

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"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.4","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.4","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
02 February 2019