TCPKEEPALIVE

Specifies whether to use the SO_KEEPALIVE mechanism for the TCP socket between the WRD or SRD servlet and the Uniface Router.

<init-param>
<param-name>
TCPKEEPALIVE</param-name>
<param-value>
True | False</param-value>
</init-param>

Default if omitted: False

Description

Enable this setting if you experience problems with queries and operations being terminated by timeouts that you cannot otherwise control.

According to the RFC 1122 requirement, the SO_KEEPALIVE mechanism:

... should only be invoked in server applications that might otherwise hang indefinitely and consume resources unnecessarily if a client crashes or aborts a connection during a network failure.

This is a socket option and is implemented by the TCP stack provided on the machine. Different vendors have different ideas about the meaning of this option and its behavior.

The TCPKEEPALIVE setting is analogous to the ka option of the TCP connector. It works on the TCP connection between the servlet and the Uniface Router.

Related Topics