Tuxedo Adapter 6.0 | webMethods Tuxedo Adapter Documentation | webMethods Tuxedo Adapter Installation and User’s Documentation | Adapter Logging and Exception Handling | Customizing the Adapter's List of Fatal Error Codes
 
Customizing the Adapter's List of Fatal Error Codes
The execution of a Tuxedo Adapter service may sometimes result in a bea.jolt.JoltException being thrown. All the Jolt exceptions are distinguished by an error number. The list of these Jolt exception error numbers can be found on the web site of Oracle.
By default, a Jolt exception with the error number TPEJOLT is considered as a fatal exception, which results in an AdapterConnectionException being thrown. You can also add a specific Jolt error number to the list of fatal Jolt error numbers.
If a Jolt exception error number matches TPEJOLT or any of the error numbers in the fatal error number list, then the adapter throws an AdapterConnectionException. The Adapter Runtime then catches the AdapterConnectionException, and automatically refreshes the corresponding adapter connections.
If the Jolt exception error number does not match TPEJOLT or any of the error numbers in the fatal error number list, then the adapter throws an AdapterException.
*To add JoltException error numbers to the list of fatal error numbers
1. Start the Integration Server Administrator if it is not already running.
2. Under Settings in the left panel, select Extended.
3. Select Edit Extended Settings. In the edit box, type:
watt.tuxedoadapter.fatalErrors=+ErrorNumber_1, ErrorNumber_2, ErrorNumber_n
Example: To allow the Tuxedo Adapter to refresh connections when encountering JoltException with error numbers TPESYSTEM, TPEIO, and TPEOS, type:
watt.tuxedoadapter.fatalErrors=+TPESYSTEM, TPEIO, TPEOS
4. Click Save Changes.
5. Restart the Tuxedo Adapter.