Handling TCP/IP Errors
To provide instructions for responding to TCP/IP errors, use the TCPERRS
file. This file is in the Oracle GoldenGate directory
Table 8-9 TCPERRS Columns
Column | Description |
---|---|
Error |
Specifies a TCP/IP error for which you are defining a response. |
Response |
Controls whether or not Oracle GoldenGate tries to connect again after the defined error. Valid values are either |
Delay |
Controls how long Oracle GoldenGate waits before attempting to connect again. |
Max Retries |
Controls the number of times that Oracle GoldenGate attempts to connect again before aborting. |
If a response is not explicitly defined in the TCPERRS
file, Oracle GoldenGate responds to TCP/IP errors by abending.
Example 8-23 TCPERRS File
# TCP/IP error handling parameters # Default error response is abend # # Error Response Delay(csecs) Max Retries ECONNABORTED RETRY 1000 10 ECONNREFUSED RETRY 1000 12 ECONNRESET RETRY 500 10 ENETDOWN RETRY 3000 50 ENETRESET RETRY 1000 10 ENOBUFS RETRY 100 60 ENOTCONN RETRY 100 10 EPIPE RETRY 500 10 ESHUTDOWN RETRY 1000 10 ETIMEDOUT RETRY 1000 10 NODYNPORTS RETRY 100 10
The TCPERRS
file contains default responses to basic errors. To alter the instructions or add instructions for new errors, open the file in a text editor and change any of the values in the columns shown in **INTERNAL XREF ERROR**: