如果tuxedo 中使用XA,出现如下错误的解决方法:
Tuxedo ULOG
144225.rs43p!BBL.24850: LIBTUX_CAT:262: INFO: Standard main starting
144240.rs43p!TMS_ORACLE.36242: 101300: TUXEDO Version 6.4 AIX 2 4
007025954C00. 144240.rs43p!TMS_ORACLE.36242: LIBTUX_CAT:262: INFO:
Standard main starting 144240.rs43p!TMS_ORACLE.36242: LIBTUX_CAT:466:
ERROR: tpopen TPERMERR xa_open re turned XAER_INVAL 144240.rs43p!
TMS_ORACLE.36242: LIBTUX_CAT:250: ERROR: tpsvrinit() failed
144240.rs43p!tmboot.39820: 101300: TUXEDO Version 6.4 AIX 2 4
007025954C00. 144240.rs43p!tmboot.39820: CMDTUX_CAT:825: ERROR:
Process TMS_ORACLE at SITE1 fa iled with /T tperrno (TPERMERR -
resource manager error) 144240.rs43p!TMS_ORACLE.38768: 101300: TUXEDO
Version 6.4 AIX 2 4 007025954C00. 144240.rs43p!TMS_ORACLE.38768:
LIBTUX_CAT:262: INFO: Standard main starting 144240.rs43p!
TMS_ORACLE.38768: LIBTUX_CAT:466: ERROR: tpopen TPERMERR xa_open
re
turned XAER_INVAL 144240.rs43p!TMS_ORACLE.38768: LIBTUX_CAT:250:
ERROR: tpsvrinit() failed 144240.rs43p!tmboot.39820: CMDTUX_CAT:825:
ERROR: Process TMS_ORACLE at SITE1 fa iled with /T tperrno (TPERMERR -
resource manager error)
有三个问题导致出现这样的错误:
(1)你的RM 配置文件是否有错误,通过buildtms 就可以测试出来。如果
buildtms 成功,则证明RM 配置没有问题。如果不能正确 buildtms 成功,请先
配置正确的RM 文件。
(2)XA 配置文件中Open string 配置出现错误,正确的格式:
OPENINFO="Oracle_XA:Oracle_XA+SqlNet=alias+Acc=P/un/pw+SesTm=10+Log
Dir=<xxx>"
(3)tuxedo device 没有正确的建立,请重新建立一遍。使用如下命令(例子,请
使用符合你的实际要求的做):
crdl -b 2000 -z /home/tuxedo/TLOG
crlog -m LMID