domconfig如下:
-----------------------
*DM_RESOURCES
VERSION=U22
*DM_LOCAL_DOMAINS
nbtsyw2 GWGRP=GWGROUP
TYPE=TDOMAIN
DOMAINID="nbtsyw2"
BLOCKTIME=180
MAXDATALEN=4096
MAXRDOM=200
DMTLOGDEV="/usr/middle/axp/log/log/tuxedo/tuxedo.DLOG"
CONNECTION_POLICY=ON_STARTUP
COST_NB01 GWGRP=GROUP23
TYPE=TDOMAIN
DOMAINID="COST_NB01"
CONNECTION_POLICY=ON_STARTUP
RETRY_INTERVAL=100 MAXRETRY=MAXLONG
*DM_REMOTE_DOMAINS
TDOM1 TYPE=TDOMAIN DOMAINID="TDOM1"
new_his TYPE=TDOMAIN
DOMAINID="new_his"
ICSB02_TX01_FHS01 TYPE=TDOMAIN DOMAINID="ICSB02_TX01_FHS01"
ICSB02_TX01_FHS02 TYPE=TDOMAIN DOMAINID="ICSB02_TX01_FHS02"
COST_GWA1 TYPE=TDOMAIN DOMAINID="COST_GWA1"
COST_GWB1 TYPE=TDOMAIN DOMAINID="COST_GWB1"
*DM_TDOMAIN
TDOM1 NWADDR="//36.0.98.4:18011" NWDEVICE="/dev/tcp"
nbtsyw2 NWADDR="//36.0.98.3:9420"
new_his NWADDR="//36.0.98.5:33099"
NWDEVICE="/dev/tcp"
ICSB02_TX01_FHS01 NWADDR="//128.192.143.1:10560"
DMKEEPALIVE=180000
DMKEEPALIVEWAIT=10000
ICSB02_TX01_FHS02 NWADDR="//128.192.143.1:10561"
DMKEEPALIVE=180000
DMKEEPALIVEWAIT=10000
COST_NB01 NWADDR="//36.0.98.3:9101"
COST_GWA1 NWADDR="//128.96.96.140:8101"
COST_GWB1 NWADDR="//128.96.96.159:8101"
*DM_LOCAL_SERVICES
ipo
wtc_service
EAIBEXCHANGE
BSTUX
BSFILESVR
BF331DOTRAN
*DM_REMOTE_SERVICES
TRAN RDOM=TDOM1
hdwtc_ser RDOM=new_his
DOTRAN RDOM="ICSB02_TX01_FHS01" LDOM="nbtsyw2"
DOTRAN RDOM="ICSB02_TX01_FHS02" LDOM="nbtsyw2"
FILESVR_331 RDOM="ICSB02_TX01_FHS01" LDOM="nbtsyw2"
FILESVR_331 RDOM="ICSB02_TX01_FHS02" LDOM="nbtsyw2"
COSHDOTRAN RDOM="COST_GWA1" LDOM="COST_NB01"
COSHDOTRAN RDOM="COST_GWB1" LDOM="COST_NB01"
BF331DOTRAN LDOM="COST_NB01" RDOM="COST_GWA1"
BF331DOTRAN LDOM="COST_NB01" RDOM="COST_GWB1"
ubbconfig如下:
--------------------------------
*RESOURCES
IPCKEY 144001
MASTER nbtsyw2
MAXACCESSERS 1500
MAXSERVERS 300
MAXSERVICES 800
MODEL SHM
LDBAL Y
SCANUNIT 10
BLOCKTIME 30
MAXGTT 500
CMTRET COMPLETE
#SECURITY NONE
*MACHINES
DEFAULT:
"ibm550" LMID=nbtsyw2
APPDIR="/usr/middle/axp/axp/bin"
TUXCONFIG="/usr/middle/axp/etc/tuxconfig"
TUXDIR="/home/mw/tuxedo10/tuxedo10gR3"
TYPE="RS6000"
ULOGPFX="/usr/middle/axp/log/log/tuxedo/tuxedo.ULOG"
MAXWSCLIENTS=600
*GROUPS
GROUP16 LMID="nbtsyw2"GRPNO=16
GROUP17 LMID="nbtsyw2"GRPNO=17
GROUP18 LMID="nbtsyw2"GRPNO=18
GROUP19 LMID="nbtsyw2"GRPNO=19
GROUP22 LMID="nbtsyw2"GRPNO=22
GROUP23 LMID="nbtsyw2" GRPNO=23
GROUP24 LMID="nbtsyw2" GRPNO=24
WSLGRP1 LMID="nbtsyw2" GRPNO=6
DMGROUP LMID=nbtsyw2GRPNO=8
GWGROUP LMID=nbtsyw2GRPNO=9
*SERVERS
DEFAULT: RESTART=Y MAXGEN=255 GRACE=0
CLOPT="-A -e /usr/middle/axp/log/log/tuxedo/tuxstderr.log -o /usr/middle/axp/log/log/tuxedo/tuxstdout.log -- 4455 "
WSL SRVGRP=WSLGRP1 SRVID=6010
CLOPT="-A -t -- -n //36.0.98.3:32000 -c 512 -I 100 -T 50 -m 2 -M 4 -x 15 -K both"
DMADM SRVGRP=DMGROUP SRVID=8001
GWADM SRVGRP=GWGROUP SRVID=9001
GWTDOMAIN SRVGRP=GWGROUP SRVID=9002 REPLYQ=N
ipo SRVGRP=GROUP19 SRVID=1901 MIN=2 MAX=4
BSTUX SRVGRP=GROUP17 SRVID=1701 MIN=2 MAX=4
GWADM SRVGRP=GROUP23 SRVID=2301
GWTDOMAIN SRVGRP=GROUP23 SRVID=2302 REPLYQ=N
BF331DOTRAN SRVGRP=GROUP24 SRVID=2401 MIN=2 MAX=4
tuxfilesvr SRVGRP=GROUP18 SRVID=1801
CLOPT="-sBSFILESVR:FILESVR MIN=2 MAX=4"
wtc_service SRVGRP=GROUP22 SRVID=1908 MIN=2 MAX=4
*SERVICES
启动时候报错如下:
exec BF331DOTRAN -A -e /usr/middle/axp/log/log/tuxedo/tuxstderr.log -o /usr/middle/axp/log/log/tuxedo/tuxstdout.log -- 4455:
CMDTUX_CAT:1685: ERROR: Application initialization failure
日志错误如下:
154024.ibm550!BF331DOTRAN.1552558.1.0: TRACE:tr:dye
154024.ibm550!BF331DOTRAN.1552558.1.0: TRACE:tr:trace("*:ulog:dye")
154024.ibm550!BF331DOTRAN.1552558.1.0: TRACE:tr:dye
154024.ibm550!BF331DOTRAN.1552558.1.0: LIBTUX_CAT:262: INFO: Standard main starting
154024.ibm550!BF331DOTRAN.1552558.1.0: TRACE:at:{ tpsvrinit(19, "BF331DOTRAN -g 24 -i 2402 -u ibm550 -U /usr/mid
dle/axp/log/log/tuxedo/tuxedo.ULOG -m 0 -A -e /usr/middle/axp/log/log/tuxedo/tuxstderr.log -o /usr/middle/axp/log/
log/tuxedo/tuxstdout.log -- 4455 ")
154024.ibm550!BF331DOTRAN.1552558.1.0: argv[0]=[BF331DOTRAN]
154024.ibm550!BF331DOTRAN.1552558.1.0: TRACE:at:} tpsvrinit = -1
154024.ibm550!BF331DOTRAN.1552558.1.0: LIBTUX_CAT:250: ERROR: tpsvrinit() failed
BF331DOTRAN tpsvrinit() failed 先解决 。
请问下,tpsvrinit fail具体错误原因是什么?是我编译的BF331DOTRAN有问题吗?
需要看tpsvrinit()的代码
--转自