IBM Support

getTraceList API output is showing Incorrect Server Id

Troubleshooting


Problem

1. ServerID in the getTraceList API output is not reflecting the actual integration server instance but rather has a typical value.

Diagnosing The Problem

1. Ignore the ServerId in the getTraceList api output. It is only for backward compatibility and already documented in api docs.
2. The actual Server ID can be retrieved by the getServerList API only.

Resolving The Problem

1. For the ServerName not being populated in outptut xml issue -

The reason for this is when this trace is created, it is without ServerName attribute. Create or modify traces with modifyTraces api and pass ServerName attribute in input.

For example

<Traces> <Trace Action="ADD" Level="SQLDEBUG" ServerName="OrderPurgeAgent" Name="TestPurge" Type="AGENTS"/></Traces>

Output -

<Traces><Trace CategorySet="" Level="SQLDEBUG" Name="TestPurge" ServerId="LAPTOP-EICQC42S_3" ServerName="OrderPurgeAgent" TraceExpired="false" TraceKey="20221018131031297223" TraceTTL="10" Type="AGENTS"/></Traces>

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"ARM Category":[{"code":"a8m0z000000cy00AAA","label":"Orders"}],"ARM Case Number":"TS010253729","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
16 May 2023

UID

ibm16991793