当前位置:首页 > 在线留言 >

Tuxedo简单实例

Tuxedo简单实例

我们就拿Tuxedo提供的例子做下修改吧,首先说明运行系统是windows环境下。

1.设置环境变量

setenv.cmd


[html]
rem (c) 2003 BEA Systems, Inc. All Rights Reserved.
rem Copyright (c) 2000 BEA Systems, Inc.
rem All Rights Reserved

rem THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF
rem BEA Systems, Inc.
rem The copyright notice above does not evidence any
rem actual or intended publication of such source code.

rem Copyright (c) 2000 BEA Systems, Inc.
rem All rights reserved
rem ident "@(#) apps/simpapp/setenv.cmd $Revision: 1.5 $"

set TUXDIR=C:\bea\tuxedo8.1
set APPDIR=C:\bea\tuxedo8.1\samples\atmi\simpapp
set PATH=%TUXDIR%\bin;%APPDIR%;%PATH%
set TUXCONFIG=F:\Liwei\Tuxedo\dbread\tuxconfig1

rem(c) 2003 BEA Systems, Inc. All Rights Reserved.
rem Copyright (c) 2000 BEA Systems, Inc.
rem All Rights Reserved

rem THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF
rem BEA Systems, Inc.
rem The copyright notice above does not evidence any
rem actual or intended publication of such source code.

rem Copyright (c) 2000 BEA Systems, Inc.
rem All rights reserved
rem ident"@(#) apps/simpapp/setenv.cmd$Revision: 1.5 $"

set TUXDIR=C:\bea\tuxedo8.1
set APPDIR=C:\bea\tuxedo8.1\samples\atmi\simpapp
set PATH=%TUXDIR%\bin;%APPDIR%;%PATH%
set TUXCONFIG=F:\Liwei\Tuxedo\dbread\tuxconfig1


2.修改ubbsimple,需要改动的我标记了,ubbsimple配置文件最为重要,一定要修改对了

[html]
# (c) 2003 BEA Systems, Inc. All Rights Reserved.
#ident "@(#) samples/atmi/simpapp/ubbsimple $Revision: 1.5 $"

#Skeleton UBBCONFIG file for the TUXEDO Simple Application.
#Replace the <bracketed> items with the appropriate values.

*RESOURCES
IPCKEY 223357 ##########此处需要改动,采集软件,范围:32769到262126

#Example:
#IPCKEY 123456

DOMAINID simpapp
MASTER simple
MAXACCESSERS 10
MAXSERVERS 5
MAXSERVICES 10
MODEL SHM
LDBAL N

*MACHINES
DEFAULT:
APPDIR="C:\bea\tuxedo8.1\samples\atmi\simpapp" ######需改动,应用程序目录
TUXCONFIG="F:\Liwei\Tuxedo\dbread\tuxconfig1" ######需改动,生成配置文件目录
TUXDIR="C:\bea\tuxedo8.1" ######需改动,TUXEDO安装目录
#Example:
# APPDIR="/home/me/simpapp"
# TUXCONFIG="/home/me/simpapp/tuxconfig"
# TUXDIR="/usr/tuxedo"

UUG87MMYP9NXUFL LMID=simple ######需改动,UUG87MMYP9NXUFL为你计算机名


#Example:
#beatux LMID=simple

*GROUPS
GROUP1
LMID=simple GRPNO=1 OPENINFO=NONE

*SERVERS
DEFAULT:
CLOPT="-A"

simpserv SRVGRP=GROUP1 SRVID=1


*SERVICES
TOUPPER

# (c) 2003 BEA Systems, Inc. All Rights Reserved.
#ident "@(#) samples/atmi/simpapp/ubbsimple $Revision: 1.5 $"

#Skeleton UBBCONFIG file for the TUXEDO Simple Application.
#Replace the <bracketed> items with the appropriate values.

*RESOURCES
IPCKEY 223357 ##########此处需要改动,范围:32769到262126

#Example:
#IPCKEY 123456

企业建站2800元起,携手武汉肥猫科技,做一个有见地的颜值派!更多优惠请戳:武汉网站设计 http://www.feimao666.com

上一篇:python使用get在百度搜索并保存第一页搜索结果

下一篇:最后一页

相关文章