C. Building Tuxedo Programs on UNIX : How You Create a Tuxedo Application : Step 2: Edit the Application Configuration File
 
Share this page                  
Step 2: Edit the Application Configuration File
The following section describes entries in the Tuxedo configuration file (“ubbconfig”) that are relevant to the Ingres DTP for Tuxedo product. Refer to the Tuxedo Transaction Monitor Administrator's Guide for more information.
The *MACHINES Section
The ENVFILE entry in the Tuxedo configuration file enables you to specify a file of environment variables to be set in the application server's process space. In this file you can specify settings for any of the Ingres environment variables. For a full listing of Ingres environment variables, see the System Administrator Guide.
To direct Tuxedo to perform transaction management on behalf of your application by using the XA interface, your application must specify a TLOGDEVICE (a logging file used by Tuxedo for transaction management). For instructions on specifying a TLOGDEVICE, refer to the Tuxedo Transaction Monitor Administrator's Guide.
The *GROUPS Section
The TMS_NAME parameter must be set to the name of the Ingres TMS executable “TMS_INGRES”.
The OPENINFO parameter must be specified as follows:
INGRES:[vnodename::]databasename [as connection_name] with tmgroup groupname [options = flag {, flag}]
In the example above, groupname is an alphanumeric string of up to 24 characters in length. Within a particular application, the first four characters of the TMGROUP parameter must be unique. For example:
*GROUPS
DEFAULT:   TMSNAME=TMS_INGRES        TMSCOUNT=3     LMID=SITE1
BANKB1     GRPNO=1 OPENINFO="INGRES:bankdl1 WITH TMGROUP dl1bank"
BANKB2     GRPNO=2 OPENINFO="INGRES:bankdl2 WITH TMGROUP dl2bank"
BANKB3     GRPNO=3 OPENINFO="INGRES:bankdl3 WITH TMGROUP dl3bank"