Configuring Java CAPS Environment Components for Database Adapters

Connection Retry Settings for Non-Transactional Windows/Unix

The Connection Retry Settings section of the Outbound DB2 Adapter Environment contains the top-level parameters displayed in the following table.

Table 6 Outbound Non-Transactional Adapter Windows/Unix - Connection Retry Settings

Name 

Description 

Required Value 

ConnectionRetries 

Specifies the number of retries to establish a connection with the DB2 database upon a failure to acquire one. 

An integer indicating the number of attempts allowed to establish a connection. The configured default is 0.

ConnectionRetry Interval 

Specifies the milliseconds of pause before each attempt to access the database. This setting is used in conjunction with the ’Connection Retries’ setting. 

For example: In the event that the Adapter cannot connect to the Database, the Adapter will try to reconnect to the database in 5 second intervals, a total of 10 times, when the Connection Retries property is set at 10 and the Connection Retry Interval property is 5000. 

An integer indicating the configured length of the time (in milliseconds) before each reattempt to access the destination file. The configured default is 1000 (1 second).