Tuxedo11g installation for Windows

Source: Internet
Author: User

OS: win7 Family Basic Edition

Compiler: Microsoft Visual Studio 2010

Tuxedo: tuxedo11gr1_32_win_2k8_x86_vs2008.exe

 

 

Tuxedo installation path: D:/bea11g/tuxedo11gr1

APP path: D:/src/simpapp

 

1) install Tuxedo: tuxedo11gr1_32_win_2k8_x86_vs2008.exe and run it as an administrator.

 

2) copy the simpapp sample program to: D:/src

 

3) Copy vcvars32.bat to the d:/src/simpapp file.

Microsoft Visual Studio 2010 is installed on the local machine.

The local vcvars32.bat is located at D:/program files/Microsoft Visual Studio 10.0/VC/bin/vcvars32.bat.

 

4) Modify setenv. cmd.

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
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 = D:/bea11g/tuxedo11gr1
Set wsnaddr = 192.168.166.111: 3050
Set appdir = D:/src/simpapp
Set Path = % tuxdir %/bin; % appdir %; % PATH %
Set tuxconfig = % appdir %/tuxconfig
Call D:/src/simpapp/vcvars32.bat

 

5) Modify ubbsimple

# (C) 2003 BEA Systems, Inc. All rights reserved.
# Ident "@ (#) samples/atmi/simpapp/ubbsimple $ revision: 1.7 $"

# Skeleton ubbconfig file for the tuxedo simple application.
# Replace the <bracketed> items with the appropriate values.

* Resources
# Ipckey <replace with a valid IPC key>

# Example:
Ipckey 123456

Domainid simpapp
Master simple
Maxaccessers 10
Maxservers 5
Maxservices 10
Model SHM
Ldbal n

* Machines
Default:
Appdir = "D:/src/simpapp"
Tuxconfig = "D:/src/simpapp/tuxconfig"
Tuxdir = "D:/bea11g/tuxedo11gr1"
# Example:
# Appdir = "/home/ME/simpapp"
# Tuxconfig = "/home/ME/simpapp/tuxconfig"
# Tuxdir = "/usr/tuxedo"

"THINKPAD-WM" lmid = simple # The THINKPAD-WM is the name of the Local Computer

# Example:
# Beatux lmid = simple

* Groups
Group1
Lmid = simple kgno = 1 openinfo = none

* Servers
Default:
Clopt = "-"

Simpserv srvgrp = group1 srvid = 1

* Services
Toupper

 

6) Run cmd as an administrator and execute the following command

D:/src/simpapp> dir
The volume in drive D has no labels.
The serial number of the volume is the DE8E-46C4

D:/src/simpapp directory

2011/05/25 14:19 <dir>.
<Dir> ..
2,943 readme
2,911 readme. NT
665 setenv. cmd
1,953 simpapp. NT
1,826 simpcl. c
1,632 simpserv. c
824 ubbsimple
2009/12/16 4,062 vcvars32.bat
16,816 bytes for 8 files
2 directories, 92,729,303,040 available bytes

D:/src/simpapp> setenv. CMD // execute Environment Variables

D:/src/simpapp> REM (c) 2003 BEA Systems, Inc. All rights reserved.

D:/src/simpapp> REM copyright (c) 2000 BEA Systems, Inc.

D:/src/simpapp> REM All Rights Reserved

D:/src/simpapp> REM this is unpublished proprietary source code

D:/src/simpapp> rem bea Systems, Inc.

D:/src/simpapp> REM the copyright notice above does not evisponany

D:/src/simpapp> REM actual or intended publication of such source code.

D:/src/simpapp> REM copyright (c) 2000 BEA Systems, Inc.

D:/src/simpapp> REM All Rights Reserved

D:/src/simpapp> REM ident "@ (#) apps/simpapp/setenv. CMD $ revision: 1.5 $
"

D:/src/simpapp> set tuxdir = D:/bea11g/tuxedo11gr1

D:/src/simpapp> set wsnaddr = 192.168.166.111: 3050

D:/src/simpapp> set appdir = D:/src/simpapp

D:/src/simpapp> set Path = D:/bea11g/tuxedo11gr1/bin; D:/src/simpapp; D:/Oracle/produ
CT/10.2.0/client_1/bin; C:/program files/common files/Microsoft shared/Windows Li
Ve; C:/Windows/system32; C:/windows; C:/Windows/system32/WBEM; C:/Windows/system32/W
Indowspowershell/V1.0/; C:/program files/ThinkPad/Bluetooth Software/; C:/Program
Files/ATI Technologies/Ati. ACE/Core-static; C:/program files/common files/Lenovo;
C:/program files/common files/Ulead systems/MPEG; C:/program files/Lenovo/Access
Connections/; C:/program files/Windows Live/shared; C:/program files/Lenovo/client
Security Solution; D:/program files/tortoisesvn/bin; C:/program files/Common File
S/thunder Network/Kankan/codecs; C:/program files/Microsoft SQL Server/100/tools/
Binn/; C:/program files/Microsoft SQL Server/100/DTS/binn/; D:/program files/Windo
Ws7master; D:/bea11g/tuxedo11gr1/bin; D:/bea11g/tuxedo11gr1/JRE/bin/server; D:/bea1
1g/tuxedo11gr1/JRE/bin; D:/program files/IDM computer solutions/ultraedit/

D:/src/simpapp> set tuxconfig = D:/src/simpapp/tuxconfig

D:/src/simpapp> call D:/src/simpapp/vcvars32.bat
Setting environment for using Microsoft Visual Studio 2010x86 tools.

D:/src/simpapp> buildserver-O simpserv-F simpserv. C-s toupper-V // compile the server program
CL/MD-I "% tuxdir %"/include-fesimpserv BS-1a34.c simpserv. c "% tuxdir %"/lib/Li
Btux. lib "% tuxdir %"/lib/libbuft. lib "% tuxdir %"/lib/libfml. lib "% tuxdir %"/lib/
Libfml32.lib "% tuxdir %"/lib/libengine. Lib wsock32.lib kernel32.lib advapi32.lib
User32.lib gdi32.lib comdlg32.lib winspool. Lib-link-implib: BS-1a34.lib
Microsoft (r) 32-bit C/C ++ optimization compiler 16.00.30319.01 for 80x86
Copyright (c) Microsoft Corporation. All rights reserved.

BS-1a34.c
Simpserv. c
Generating code...
Microsoft (r) incremental linker version 10.00.30319.01
Copyright (c) Microsoft Corporation. All rights reserved.

/Out: simpserv.exe
-Implib: BS-1a34.lib
BS-1a34.obj
Simpserv. OBJ
D:/bea11g/tuxedo11gr1/lib/libtux. Lib
D:/bea11g/tuxedo11gr1/lib/libbuft. Lib
D:/bea11g/tuxedo11gr1/lib/libfml. Lib
D:/bea11g/tuxedo11gr1/lib/libfml32.lib
D:/bea11g/tuxedo11gr1/lib/libengine. Lib
Wsock32.lib
Kernel32.lib
Advapi32.lib
User32.lib
Gdi32.lib
Comdlg32.lib
Winspool. Lib

D:/src/simpapp> buildclient-O simpcl-F simpcl. C-V // compile the client program
CL/MD-I "% tuxdir %"/include-fesimpcl simpcl. c "% tuxdir %"/lib/libtux. lib "%
Tuxdir % "/lib/libbuft. lib" % tuxdir % "/lib/libfml. lib" % tuxdir % "/lib/libfml32.lib
"% Tuxdir %"/lib/libengine. Lib wsock32.lib kernel32.lib advapi32.lib user32.lib g
Di32.lib comdlg32.lib winspool. Lib-link-implib: BC-1b6c.lib
Microsoft (r) 32-bit C/C ++ optimization compiler 16.00.30319.01 for 80x86
Copyright (c) Microsoft Corporation. All rights reserved.

Simpcl. c
Microsoft (r) incremental linker version 10.00.30319.01
Copyright (c) Microsoft Corporation. All rights reserved.

/Out: simpcl.exe
-Implib: BC-1b6c.lib
Simpcl. OBJ
D:/bea11g/tuxedo11gr1/lib/libtux. Lib
D:/bea11g/tuxedo11gr1/lib/libbuft. Lib
D:/bea11g/tuxedo11gr1/lib/libfml. Lib
D:/bea11g/tuxedo11gr1/lib/libfml32.lib
D:/bea11g/tuxedo11gr1/lib/libengine. Lib
Wsock32.lib
Kernel32.lib
Advapi32.lib
User32.lib
Gdi32.lib
Comdlg32.lib
Winspool. Lib

D:/src/simpapp> tmloadcf-y ubbsimple // use ubbsimple to generate tuxconfig

D:/src/simpapp> tmboot-y // start tuxedo
Booting all admin and server processes in D:/src/simpapp/tuxconfig
Info: Oracle tuxedo, version 11.1.1.1.0, 32-bit, patch level (none)

Booting admin processes...

Exec BBL-:
Process id = 9912... started.

Booting server processes...

Exec simpserv-:
Process id = 4252... started.
2 processes started.

D:/src/simpapp> dir
The volume in drive D has no labels.
The serial number of the volume is the DE8E-46C4

D:/src/simpapp directory

2011/05/26 21:00 <dir>.
<Dir> ..
2011/05/25 14:21 <dir>. Adm
362 access.052511
181 access.052611
2,943 readme
2,911 readme. NT
665 setenv. cmd
1,953 simpapp. NT
1,826 simpcl. c
6,144 simpcl.exe
2,141 simpcl. OBJ
1,632 simpserv. c
6,144 simpserv.exe
876 simpserv. OBJ
0 stderr
0 stdout
407,040 tuxconfig
824 ubbsimple
1,061 ulog.052511
520 ulog.052611
2009/12/16 4,062 vcvars32.bat
19 files, 441,285 bytes
3 directories, 92,716,027,904 available bytes

D:/src/simpapp> simpcl.exe weiming
Returned string is: weiming

 

 

 

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.