# WSNAT_CAT:1287
WSNAT_CAT:1287: WARN: Forced shutdown of client; user name ''; client name ''; workstation address '//10.11.118.102:2395'
## 원인
1.WSH의 Session 설정 시간을 초과한 경우에 발생.
2.WSL과 Session을 맺을때 User-ID, Password가 다른 경우에 발생
## 조치
1.WSH의 Session 설정 시간을 늘이든지, UBB file의 WSL에 정의된 T option을 없앤다.
2.TPINIT 하는 부분의 User-ID, Password를 확인하여 설정한다.
WSL SRVGRP="identifier" SRVID="number" CLOPT="[ -A ] [ servopts options ] -- -n netaddr [ -d device ] [ -w WSHname ] [ -t timeout-factor ] [ -T Client-timeout ] [ -m minh ] [ -M maxh ] [ -x mpx-factor ] [ -p minwshport ] [ -P maxwshport ] [ -I init-timeout ] [-c compression-threshold] [-k compression-threshold] [-K {client|handler|both|none}] [ -z bits ] [ -Z bits ] [-H external netaddr ]"
[-T client-timeout] Client-timeout is the amount of time (in minutes) a client is allowed to stay idle. If a client does not make any requests within this time period, the WSH disconnects the client. The option can be used for client platforms that are unstable (such as a personal computer that might be turned off without calling tpterm()). Note that the option also affects clients that get unsolicited message notifications and do not follow up on them. If -T is specified without an argument, there is no timeout.
1. WSL 에 -T 옵션
-T 옵션은 분 단위임.
WSL의 -T 옵션으로는 60초를 주었고
TOUPPER서비스를 가진 server 프로세스의 sleep 값으로 65초를 줬다.
T 옵션은 client가 tpinit이 된 상태에서 설정된 '분' 동안 서비스 호출이 없다면
자동으로 client와 disconnect하는 옵션이다.
2. 클라이언트에서 서비스를 호출하였다.
타임아웃에러가 나옴.
3. 클라이언트의 서비스 호출을 강제로 종료하니 해당 LOG가 찍힘
ctrl + c 로 했다.
반대로 WSL에 T 옵션이 없는 경우에는 client가 Forced shutdown 된다는 log가 떨어지지 않는다.
server에 sleep 값을 주지 않아도 된다.
T 옵션에 1분을 주고
client에서 서비스를 호출하였을 때, tperrno=10 에러가 나온다.
하지만 ctrl+c 로 클라이언트를 종료했을 때도
force shutdown 에러로그와 함께 server가 restart된다...
이유는 잘 모르겠다.....
계속 진행중인 테스트.......
참고문헌
https://docs.oracle.com/cd/E13203_01/tuxedo/tux65/refman/sect5/sect572.html
'TroubleShooting' 카테고리의 다른 글
[Tuxedo] SHM 모드에서 BBL의 상태가 DEAD 일 때 (0) | 2022.12.08 |
---|---|
[Tuxedo] WARN: Server(42271008) processing terminated with SIGTERM after SVCTIMEOUT (0) | 2022.12.08 |
[Tuxedo] CMDTUX_CAT:1685: ERROR: Application initialization failure (0) | 2022.12.05 |
[Tuxedo] CMDTUX_CAT:1685: ERROR: Application initialization failure (0) | 2022.12.01 |
[Tuxedo] LIBTUX_CAT:563 / LIBTUX_CAT:555 에러 (0) | 2022.11.25 |