在局域网内的两台机子,分别代表服务端和客户端
使用的就是TUXEDO自带的例子,simpcl和simpserv
配置文件如下:
#ident "@(#) apps/simpapp/ubbsimple $Revision: 1.3 $"
#Skeleton UBBCONFIG file for the TUXEDO Simple Application.
#Replace the <bracketed> items with the appropriate values.
*RESOURCES
IPCKEY 123456
#Example:
#IPCKEY 123456
DOMAINID simpapp
MASTER simple
MAXACCESSERS 10
MAXSERVERS 5
MAXSERVICES 10
MODEL SHM
LDBAL N
*MACHINES
DEFAULT:
APPDIR="D:\bea\tuxedo8.0\samples\atmi\simpapp"
TUXCONFIG="D:\bea\tuxedo8.0\samples\atmi\simpapp\tuxconfig"
TUXDIR="D:\bea\tuxedo8.0"
#Example:
# APPDIR="/home/me/simpapp"
# TUXC
# TUXDIR="/usr/tuxedo"
WARZEALOT LMID=simple
#Example:
#beatux LMID=simple
*GROUPS
GROUP1
LMID=simple GRPNO=1 OPENINFO=NONE
*SERVERS
DEFAULT:
CLOPT="-A"
simpserv SRVGRP="GROUP1" SRVID=1
CLOPT="-A"
RQADDR=simpserv
RQPERM=0660 REPLYQ=Y RPPERM=0660 MIN=5 MAX=5 CONV=N
MAXGEN=1 GRACE=86400 RESTART=N
WSL SRVGRP=GROUP1 SRVID=1116
CLOPT="-A -- -n //192.168.0.118:8888 -m 2 -M 5 -x 6"
*SERVICES
TOUPPER
LOAD=50 PRIO=50
BUFTYPE="ALL"
TRANTIME=30
AUTOTRAN=N
客户端的机子也配了环境变量MSNADDR //192.168.0.118:8888
问题是:如果都在一太机子上的话,交互都没问题,把客户端程序搞到另外那台用做客户端的机子上就提示连接不上
请问是不是我哪里没配置好或者没有配置。
看了看ULOG才发现是WSL的问题以下是错误提示:
160317.WARZEALOT!WSL.2596.2860.0: LIBTUX_CAT:1122: ERROR: No space in Bulletin Board
160317.WARZEALOT!WSL.2596.2860.0: LIBTUX_CAT:582: ERROR: Unable to register, registry table full
160317.WARZEALOT!WSL.2596.2860.0: LIBTUX_CAT:248: ERROR: System init function failed, Uunixerr =
160317.WARZEALOT!tmboot.4052.3440.-2: 04-14-2008: Tuxedo Version 8.0 32-bit Windows.
160317.WARZEALOT!tmboot.4052.3440.-2: CMDTUX_CAT:825: ERROR: Process WSL at simple failed with /T tperrno (TPENOENT - no entry found)
解决方案:
在MACHINES节中加上:
MAXWSCLIENTS = 150
MAXACCESSERS = 400
在RESOURCES调整:
MAXSERVERS 50
MAXSERVICES 300
重新tmloadcf
--转自