The following sections describe the procedure for bringing up bankapp, the Oracle Tuxedo system sample application, on a Windows or UNIX workstation:
• %TUXDIR%\samples\atmi\bankapp (Windows)
• $TUXDIR/samples/atmi/bankapp (UNIX)The following illustration shows the steps in bringing up bankapp on a Workstation client.Figure 4‑1 Steps in Bringing Up bankappInstall and build the bankapp software on the native site. The procedure for doing this is described in “Tutorial for bankapp, a Full C Application” in Tutorials for Developing Oracle Tuxedo ATMI Applications and in the following README files on the master machine where your Oracle Tuxedo system software is installed:
• %TUXDIR%\samples\atmi\bankapp\README.nt (Windows)
• You need to edit the configuration file you plan to use (either ubbshm or ubbmp) to specify the workstation listener (WSL) as a server in the GROUPS and SERVERS sections, and to specify MAXWSCLIENTS in the MACHINES section. When you edit the GROUPS section, put the entry for WSGRP ahead of the DEFAULT line or move the specifications for TMSNAME and TMSCOUNT to the server groups that use them; they should not be assigned to WSGRP. The new specifications should be in the following format.*MACHINES
DEFAULT: MAXWSCLIENTS=50
#
*GROUPS
WSGRP GRPNO=<next available group #> LMID=SITE1
#
*SERVERS
WSL SRVGRP=WSGRP SRVID=1
CLOPT=”-A — -n //machine:port -m 1 -M 5 -x 10"Also, remember to increase the MAXACCESSERS parameter in the RESOURCES or MACHINES section to cover the new Workstation clients.Before you can start using a Workstation client, you need to run tmloadcf(1) to load the configuration file into its binary form and tmboot(1) to start the application. These commands do not have to be run immediately; there is work to be done in getting the bankapp clients installed on your workstations and getting them built. However, the application must be running on the Oracle Tuxedo system native site when you attempt to join the application from a workstation. The steps for loading and booting bankapp on the native site are part of the overall procedure documented in “Tutorial for bankapp, a Full C Application” in Tutorials for Developing Oracle Tuxedo ATMI Applications.
• tmloadcf(1) in Oracle Tuxedo Command Reference
• WSL(5) in Oracle Tuxedo File Formats, Data Descriptions, MIBs, and System Processes Reference
• “Tutorial for bankapp, a Full C Application” in Tutorials for Developing Oracle Tuxedo ATMI Applications
• To set your environment to run bankapp, complete the following procedure on the Workstation client.
2. To run the bankapp client on the Workstation, complete the following procedure.
1. Verify that the value of WSNADDR on the Workstation client matches the value of the CLOPT -n option for the WSL in the SERVERS section of the configuration file on the native site.
2. If bankapp has not been booted on the native site, make sure it has been booted before you attempt to run a Workstation client.
3. Execute bankclt to run the Workstation client.