Attempting to Reconnect following a TCP/IP Connection Failure

The [JadeAppServer] and [JadeThinClient] sections of the JADE initialization file contain the AttemptReconnect parameter, which specifies whether presentation clients attempt to reconnect to the application server when a TCP/IP connection failure occurs. By default, this parameter is set to true on both the application server and presentation clients.

Set the AttemptReconnect parameter to false in the [JadeThinClient] section on a presentation client if you want the application server to generate an exception when a TCP error is detected and then terminate the presentation client.

When the AttemptReconnect parameter is set to true in both JADE initialization file sections on both the application server and presentation client, use the ReconnectTimeout parameter in the [JadeThinClient] section of the JADE initialization file to specify the number of seconds that the presentation client continues to attempt to reconnect to the application server. (By default, reconnection is attempted for 40 seconds.)

The reconnection form displays the application server and application to which reconnection is being attempted.

For details about the actions that you can perform when a disconnect event occurs (for example, so that you can programmatically retry the connection or programmatically close it), see "Handling the Loss of Thin Client Connections", in Chapter 2.