Event error handling

WebSphere® Adapter for SAP Software provides error handling for inbound ALE events by logging the errors and attempting to restart the event listener.

When the adapter detects an error condition, it performs the following actions:

  1. The adapter logs the error information in the syslog (on Linux® and UNIX systems), Windows Event Viewer, or user trace log.
  2. The adapter attempts to restart the existing event listeners.
    The adapter uses the activation specification values for RetryLimit and RetryInterval.
    • If the SAP application is not active, the adapter attempts to restart the listeners for the number of times configured in the RetryLimit property.
    • The adapter waits for the time specified in the RetryInterval parameter before attempting to restart the event listeners.
  3. If the attempt to restart the event listeners fails, the adapter performs the following actions:
    • The adapter logs the error condition in the syslog (on Linux and UNIX systems), Windows Event Viewer, or user trace log.
    • The adapter cleans up the existing ALE event listeners.
    • The adapter starts new event listeners.

    The adapter uses the values of the RetryLimit and RetryInterval properties when starting the new event listeners.

  4. If all the retry attempts fail, the adapter logs the relevant message and CEI events and stops trying to recover the ALE event listener.

    You must restart the adapter or Service Component Architecture (SCA) application in this case.