Handling the Loss of Thin Client Connections

When a thin client connection is lost, the presentation client displays a message box that has one of the following button combinations, so that you can programmatically retry the connection or programmatically close it.

The full process is therefore as follows.

  1. When the connection is lost, Jade attempts to reconnect for the timeout value specified in the ReconnectTimeout parameter in the [JadeThinClient] section of the Jade initialization file on a local presentation client (which defaults to 40 seconds).

  2. If no connection attempt succeeds in the reconnect timeout period, the appropriate message box (documented in the list earlier in this section) is displayed.

  3. For a retry to succeed, the setup requires that the application server waits for an appropriate length of time before giving up on the reconnection and terminating the application.

  4. If a connection succeeds but the session cannot be continued because the application server has already terminated the session, the message box that is displayed will not have a Retry button.

The text for the displayed messages is taken from the jadmsgs.eng file (as are most Jade error messages). You can translate or modify this file, if required. For details, see "Translating Messages", in Chapter 12 of the Development Environment User's Guide.