Run-time Connection Tab

The settings available in the Run-time Connection tab must be configured before you start the adapter at run time. After configuring these settings, click Test Connection to establish a connection to the database. When the dialog indicating successful connection is displayed, click OK. Click Apply to apply the changes before leaving this tab. See the following figure:

Figure 64: Adapter Instance: Run-time Connection Tab

The following table lists and explains the fields on the Run-time Connection tab:

Run-time Connection Tab

Field

Description

JDBC Driver

Specifies the name and URL of the JDBC driver used during runtime configuration. JDBC Drivers and URLs lists all the supported JDBC drivers and the associated URLs. For detailed parameter descriptions, see your JDBC driver documentation.

JDBC URL

User Name

This is the database user that the adapter at run time uses to connect to the database. This field is automatically populated when you select a template as described in Using Connection Settings Templates. It can be changed if the Use Design-time Connection For Run-time check box is cleared.

Password

This is the password for the database user. This field is automatically populated when you select a template as described in Using Connection Settings Templates. It can be changed if the Use Design-time Connection For Run-time check box is cleared.

Default Schema

Specifies the schema name for the current user. Usually the value is the same as the database name. For example, when using a Teradata database, the default schema must be the name of the database you connect to. But the schema name can be different for some specific databases. For example, when using Microsoft SQL Server, the default schema is DBO. When using a PostgreSQL database, the default schema is Public.

The default schema cannot use global variables.

For more information, see Default Schema.

Maximum Number of Reconnect Attempts

The total number of reconnection attempts to be made after the adapter is suspended. When this number is reached, the runtime adapter or adapter service is terminated. See the following two examples:

The value of 3 indicates that reconnection attempts continue 3 times.
The value of -1 indicates that reconnection attempts continue indefinitely.

To prevent data loss, it is best practice to configure the preregistered listeners for the Rendezvous Certified (RVCM) transport type.

When a database connection is lost, reconnection attempts vary according to different adapter services:

Publication Service obtains an exception immediately and attempts to reconnect to the database.
Subscription Service and Request-Response Service do not obtain an exception until the services receive a message. After that, they attempt to reconnect to the database.

Note:

If you set the value for the adb.RetryTotal <total reconnection attempts> property in the adbagent.tra file, then the value you set in TIBCO Designer is replaced.

Number of Reconnect Attempts Before Suspending Impacted Service(s)

Specifies the number of reconnection attempts to be made before suspending a service. This value is 1 and cannot be changed.

Interval between Reconnect Attempts (milliseconds)

Specifies the time interval (in milliseconds) between every two reconnection attempts.

Note: If you set the value for the adb.SleepBetweenRetries <milliseconds of sleep between two reconnection attempts> parameter in the adbagent.tra file, then the value you set in TIBCO Designer will be replaced.

Adapter Termination Criteria (after max number of reconnect attempts)

The adapter and all of its services are stopped if any one of its services cannot re-establish a connection after the maximum number of reconnection attempts have been made. This option cannot be changed.

Test Connection

This button is enabled if the Use Design-time Connection For Run-time check box is cleared. Otherwise, this button is unavailable.