IBM Support

PH62644: JSON SHOULD NOT BE EXPORTED FROM THE MQ RESOURCE ADAPTER

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • On systems where JSON has been made available to applications,
    for example via a shared library or packaged within an
    application, JSONException errors may occur, for example:
    
    Caused by: org.json.JSONException: JSONObject["id"] is not a
    string (class java.lang.Integer : 35706710).
    [8/7/24 7:40:06:952 CDT] 00000114 SystemErr     R   	at
    org.json.JSONObject.wrongValueFormatException(JSONObject.java:29
    10)
    [8/7/24 7:40:06:952 CDT] 00000114 SystemErr     R   	at
    org.json.JSONObject.getString(JSONObject.java:859
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: Applications that use JSON fail with    *
    *                      org.json.JSONExceptions, for example:   *
    *                      "JSONObject["id"] is not a string"      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The 9.3.0.* Versions of the MQ Resource Adapter contain a
    version of JSON within them.  This version of JSON was made
    available on the Classpath to applications executing in the
    WebSphere Application Server.  Exisiting applications that
    used JSON would now typically load the JSON classes from the
    MQ Resource Adapter instead of the version of JSON that they
    were originally utilizing.
    

Problem conclusion

  • The JSON libraries were not intended to be exposed from the MQ
    Resource Adapter for general use by applications.  Processing
    of the MQ Resource Adapter no longer exposes the JSON
    libraries outside of the Resource Adapter to the application
    server's Classpath.
    
    The fix for this APAR is targeted for inclusion in fix pack
    9.0.5.22. For more information, see 'Recommended Updates for
    WebSphere Application Server':
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH62644

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-08-07

  • Closed date

    2024-10-11

  • Last modified date

    2024-10-11

  • 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

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]

Document Information

Modified date:
11 October 2024