Technote (troubleshooting)

Problem(Abstract)

A client SDK Application is set to repeatedly login and logoff with the same user for each report or job scheduled or executed. During running of many actions occasionally an Axis Fault appears on logon.

Symptom

Code throws exception and halts operation.

Cause

The BiBus header is a very dynamic header and the internal components that make up IBM Cognos product version 8.x and 10.x use the header for relaying status and messages. Within the processing of SDK developed code, when the system gets into a heavy loading state, it is possible that the header contains information that it should not, for the next exectution action.

Environment

Any SDK environment.

Diagnosing the problem

Soap Traces of the SDK code runs can point out the issue.

Resolving the problem

A failure to logon after repeatedly logon / logoff for all these reports can be prevented by ensuring that the cmservice header is cleared before doing the logon.

Implement the clearing of the BiBus, and alter the logon() code block as shown below, recompile the code and Test in the environment.