For information about the operating system platforms supported by the product, see Installing the Oracle Tuxedo System.You need to set several parameters in the setenv and UBBCONFIG files in order for the University sample applications to work properly, as follows:
• The setenv file sets the system environment variables needed to build and run the sample applications. Each sample application directory contains a unique setenv file. The name of the setenv file designates which sample application the file is to be used with. For example, setenvb is for the Basic sample application. Each sample application directory contains a setenv file for the Windows and UNIX operating systems. For a list of the specific filenames for the setenv file, see Table 2‑1.
• The UBBCONFIG file is the configuration file for the sample application. The UBBCONFIG file defines parameters for how the client and server applications in the sample application should work. Each sample application directory contains a unique UBBCONFIG file. The name of the UBBCONFIG file designates which sample application the file is to be used with. For example, ubb_b is for the Basic sample application. Each sample application directory contains a UBBCONFIG file for the Windows and UNIX operating systems. For a list of the specific filenames for the UBBCONFIG file, see Table 2‑1.The information in the setenv and UBBCONFIG files must match. The following sections explain how to edit the setenv and UBBCONFIG files.Table 2‑1 describes the naming conventions for the setenv and UBBCONFIG files. The bold letter is the identifying letter for the sample application.
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
• Table 2‑2 lists the parameters you need to modify in the setenv file.
Table 2‑2 Parameters in the setenv File If you are using a CORBA C++ client application that does not reside on the same machine as the server application, enter the host and port of the machine where the server application runs. It must be specified exactly (including case) as it appears in the UBBCONFIG file for the machine. For example: //BEANIE:2500 USERID=username/password The instance ID of the Oracle database. On Windows, you do not need to specify the ORACLE_SID, the parameter automatically defaults to ORCL. Table 2‑3 lists the parameters you need to modify in the UBBCONFIG file.
Table 2‑3 Parameters in the UBBCONFIG File Full names must be included in quotation marks. For example: "beanie.bea.com". If you are using a remote instance of the Oracle database, the OPENINFO parameter is specified as follows:OPENINFO = "Oracle_XA:Oracle_XA+SqlNet=aliasname+Acc=P/account
/password+SesTM=100+LogDir=.+MaxCur=5"If you are using a local instance of the Oracle database, the OPENINFO parameter is specified as follows:Before you can use the University sample applications, you need to run the setenv script to ensure your system environment variables reflect all the changes made in the process of setting up the database and your configuration. Instructions for running the setenv command are included in the descriptions of building the individual sample applications.