UBB片断
#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
DOMAINID ATMDM
MASTER ydhltest
MAXACCESSERS 10
MAXSERVERS 5
MAXSERVICES 10
MODEL MP
LDBAL N
启动TUXEDO出现的错误如下:
191359.ydhltest!DMADM.1439.8192.0: LIBTUX_CAT:328: ERROR: No space in Bulletin Board for Service Table
191359.ydhltest!DMADM.1439.8192.0: LIBTUX_CAT:248: ERROR: System init function failed, Uunixerr = : msgctl: No such fil
or directory
191359.ydhltest!tmboot.1435.8192.-2: 01-13-2006: Tuxedo Version 8.0
191359.ydhltest!tmboot.1435.8192.-2: CMDTUX_CAT:825: ERROR: Process DMADM at ydhltest failed with /T tperrno (TPEOS - o
erating system error)
191359.ydhltest!GWADM.1440.8192.0: 01-13-2006: Tuxedo Version 8.0
191359.ydhltest!GWADM.1440.8192.0: LIBTUX_CAT:262: INFO: Standard main starting
191359.ydhltest!GWADM.1440.8192.0: CMDGW_CAT:2079: ERROR: Domain administrative service ..DMMIB not advertised: Can't g
t configuration: Exiting
191359.ydhltest!GWADM.1440.8192.0: LIBTUX_CAT:250: ERROR: tpsvrinit() failed
191359.ydhltest!tmboot.1435.8192.-2: CMDTUX_CAT:825: ERROR: Process GWADM at ydhltest failed with /T tperrno (TPENOENT
no entry found)
191359.ydhltest!GWTDOMAIN.1441.8192.0: 01-13-2006: Tuxedo Version 8.0
191359.ydhltest!GWTDOMAIN.1441.8192.0: LIBTUX_CAT:262: INFO: Standard main starting
191359.ydhltest!GWTDOMAIN.1441.8192.0: LIBGW_CAT:1031: ERROR: Domain administrative service GWA not advertised
191359.ydhltest!GWTDOMAIN.1441.8192.0: LIBTUX_CAT:250: ERROR: tpsvrinit() failed
错误原因是
MAXSERVERS 5
MAXSERVICES 10
值太小了啊,把UBB改成下面的样子成功了。
*RESOURCES
IPCKEY 123456 #共享内存ID
DOMAINID ATMDMSERV #
MASTER ydhltest
MODEL SHM
MAXACCESSERS 50 #最大访问BBL进程数,要大于License 数加Server数
MAXSERVERS 30 #最大的Server数
MAXSERVICES 50 #最大的Service数目,所有Server的服务总数
LDBAL Y #是否进行负载均衡
SCANUNIT 10 #BBL定期扫描所有服务的最小时间间隔,单位是秒
BLOCKTIME 1000
#OPTIONS LAN