Chinaunix

标题: tuxedo配置 [打印本页]

作者: tyffly    时间: 2003-09-02 17:51
提示: 作者被禁止或删除 内容自动屏蔽
作者: 猫小    时间: 2003-09-03 10:52
标题: tuxedo配置
来源:http://e-docs.bea.com/wls/docs70 ... kstart.html#1109932



Configuring Tuxedo:

Use the following steps to configure your Tuxedo domain:


Your PATH environment variable needs to include the path of your C compiler. Use set PATH to check the status and add the path if necessary.

Copy the simpapp example from your Tuxedo installation and create a working Tuxedo simpapp directory.

Change directories to your working Tuxedo simpapp directory.

Set environment variables using the setEnv.cmd located at TUXDIR. Update the following parameters:
TUXDIR - base directory of the TUXEDO Software
APPDIR - base directory of the sample program


Build the clients:
     buildclient -o simpcl -f simpcl.c     buildserver -o simpserv -f simpserv.c -s TOUPPER

Copy the ubbdomain and dom1config files from the SAMPLES_HOME\src\examples\wtc\atmi\simpapp directory to your Tuxedo simpapp directory.

Copy the tolower.c file from the SAMPLES_HOME\src\examples\wtc\atmi\simpserv directory to your Tuxedo simpapp directory.

Modify the ubbdomain for your Tuxedo environment. This includes setting the pathnames for APPDIR, TUXCONFIG, and TUXDIR and setting the machine name. Replace all <braced>; items with information for your environment.
Example:

     APPDIR="\home\me\simpapp"     TUXCONFIG="\home\me\simpapp\tuxconfig""     TUXDIR="\usr\tuxedo"

Load the ubbdomain file: tmloadcf -y ubbdomain

Modify the dom1config for your Tuxedo environment. This includes creating log devices and updating the network addresses.
Example:

     DMTLOGDEV="d:\my_apps\tlog"     AUDITLOG="d:\my_apps\aud"     DMTLOGNAME="DMTLOG_TDOM1"     TDOM1 NWADDR="//TuxedoMachine:1234"     TDOM2 NWADDR="//WTCMachine:5678"

Load the dom1config file.
     set BDMCONFIG=d:\mydomain\simpapp\bdmconfig     dmloadcf -y dom1config

Build the tolower client
     buildclient -v -f tolower.c -o tolower

Boot the Tuxedo domain
     tmboot -y

Verify all processes have started using the tmadmin psc command.The following domain processes should have booted:

DMADM, GWADM, and GWTDOMAIN

The TOUPPER service offered by the simpserv server
The TOLOWER service is offered by the GWTDOMAIN server
作者: tyffly    时间: 2003-09-03 12:14
提示: 作者被禁止或删除 内容自动屏蔽
作者: heu    时间: 2003-09-07 21:57
标题: tuxedo配置
去http://dev2dev.bea.com.cn中的tuxedo版看吧。那里都有啊!




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2