![]() |
![]() |
|
|
Using the Keep-alive Option
Keep-alive is a networking operation that periodically checks the viability of a network connection between the Workstation handler and a Workstation client if no traffic has occurred over that connection within a specified period of time.
You can request the keep-alive option by adding the -K option to the WSL CLOPT entry in the SERVERS section of the UBBCONFIG file. The -K option accepts the following arguments: client, handler, both, or none.
Your entry in the UBBCONFIG file should look like the following.
WSL SRVGRP="WSLGRP" SRVID=1000 RESTART=Y GRACE=0
CLOPT="-A -- -n //ws.beasys.com:5120 -d /dev/tcp -K both"
In the example, -K turns on keep-alive checking on both the Workstation client and the server.
For details about the format of a WSL entry in UBBCONFIG, see WSL(5) in BEA Tuxedo File Formats and Data Descriptions Reference.
Note: Any timeout period that you specify applies to the entire system. If you specify a timeout with one application in mind, and you later change the amount of time specified, all applications that use keep-alive are also affected.
Limitations When Using the Keep-alive Option
The keep-alive option is supported only on platforms for which the BEA Tuxedo system uses sockets:
You cannot use this option on any other platform. The BEA Tuxedo system lets you specify the -K option for any server machine, but it will not execute it properly on any platform other than those previously listed. If you try to perform a keep-alive operation on any other platform, your attempt fails and a message is written to the userlog (once per process for the WSH). Processing continues normally.
Note: The keep-alive operation works only for TCP/IP communications.
![]() |
![]() |
![]() |
|
Copyright © 2000 BEA Systems, Inc. All rights reserved.
|