IBM Support

IT36726: DATAPOWER MEMORY LEAK WHEN XSLT CALLING DP:GATEWAYSCRIPT EXTENSION FUNCTION

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

  • If an XSLT calls a gatewayscript and has a null nodeset for the
    input argument, DataPower may leak memory. An empty nodeset is
    fine, its only when it is null.
    

Local fix

  • If the input parameter to dp:gatewayscript is not required in
    the gateway script, you can work-around the memory leak by
    removing the input and return-error parameters so the defaults
    will be used. If you need the parameters parameter, then you
    cannot use this work-around.
    
    Syntax:  dp:gatewayscript(script, input, return-error,
    parameters)
    
    change: dp:gatewayscript(?local:///DP/PG1/someScript.js?, .,
    true())
    to:     dp:gatewayscript(?local:///DP/PG1/someScript.js?)
    

Problem summary

  • DataPower might leak memory and qrefs when processing XSLT
    extension function dp:gatewayscript.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT36726

  • Reported component name

    DATAPOWER

  • Reported component ID

    DP1234567

  • Reported release

    18X

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-05-17

  • Closed date

    2021-08-03

  • Last modified date

    2021-08-03

  • 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

    DATAPOWER

  • Fixed component ID

    DP1234567

Applicable component levels

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateways"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"18X"}]

Document Information

Modified date:
04 August 2021