IBM Support

IT38220: DELETING A CATALOG SHORTLY AFTER IT IS CREATED MIGHT CAUSE API CONNECT GATEWAY SERVICE INITIALIZATION FAILURE

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 a catalog is deleted in API Manager shortly after it is
    created, the next time API Connect Gateway Service is restarted
    (in a scenario where dynamic re-registration and reconfiguration
    is not triggered), it might fail to initialize (repeatedly, as
    it will automatically attempt to restart when it is down).  When
    this happens, you will see error messages in the DataPower
    default log similar to the following:
    20210810T160221.364Z [0x88e000a0][apic-gw-service][error]
    apic-gw-service(default): tid(400): Unable to initialize gateway
    environment: datapower
    20210810T160221.365Z [0x88e00001][apic-gw-service][error]
    apic-gw-service(default): tid(400): Unexpected error: TypeError:
    Cannot read property 'id' of undefined
    20210810T160221.365Z [0x88e00127][apic-gw-service][error]
    apic-gw-service(default): tid(400): Stack trace for previous
    error:
    
       at refreshArtifacts (/root/gateway-director/lib/gateway-cont
    roller/datapower/DataPowerController.js:1835:33)
       at async DataPowerController.init (/root/gateway-director/li
    b/gateway-controller/datapower/DataPowerController.js:429:7)
       at async Object.module.exports.init
    (/root/gateway-director/lib/queueProcessor.js:218:5)
       at async connectBackend (/root/gateway-director/app.js:437:7)
    
       at async Server.serversStarted
    (/root/gateway-director/app.js:430:5)
    (In the first message illustrated above, "datapower" (for a
    gateway service of type "DataPower Gateway (v5 compatible)") or
    "apigateway" (for a gateway service of type "DataPower API
    Gateway") will be included.)
    

Local fix

Problem summary

  • With the fix the initialization of the API Connect Gateway
    Service can now complete normally.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT38220

  • Reported component name

    DATAPOWER

  • Reported component ID

    DP1234567

  • Reported release

    A0X

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-08-31

  • Closed date

    2021-09-27

  • Last modified date

    2021-09-27

  • 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":"A0X"}]

Document Information

Modified date:
28 September 2021