BEA Logo BEA Tuxedo Release 7.1

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy

 

   Tuxedo Doc Home   |   Getting Started   |   Topic List   |   Previous   |   Next   |   Contents

   Tutorials for Developing a BEA Tuxedo Application

Step 4: Editing and Loading the Configuration File

How to Edit the Configuration File

  1. In a text editor, familiarize yourself with the configuration file for CSIMPAPP.

    CSIMPAPP Configuration File


    #Skeleton UBBCONFIG file for the BEA Tuxedo COBOL Simple Application.
    #Replace the <bracketed> items with the appropriate values.

    *RESOURCES
    IPCKEY <Replace with a valid IPC Key>

    #Example:
    #IPCKEY 123456

    DOMAINID UBBCSIMPLE
    MASTER simple
    MAXACCESSERS 5
    MAXSERVERS 5
    MAXSERVICES 10
    MODEL SHM
    LDBAL N

    *MACHINES
    DEFAULT:
    APPDIR="<Replace with the current pathname>"
    TUXCONFIG="<Replace with TUXCONFIG Pathname>"
    TUXDIR="<Root directory of BEA Tuxedo (not /)>"
    ENVFILE="<pathname of file of environment vars>"
    #Example:
    # APPDIR="/home/me/simpapp"
    # TUXCONFIG="/home/me/simpapp/TUXCONFIG"
    # TUXDIR="/usr/tuxedo"
    # ENVFILE="/home/me/simpapp/envfile"
    <Machine-name> LMID=simple

    #Example:
    #usltux LMID=simple

    *GROUPS
    GROUP1
    LMID=simple GRPNO=1 OPENINFO=NONE

    *SERVERS
    DEFAULT:
    CLOPT="-A"

    CSIMPSRV           SRVGRP=GROUP1   SRVID=1

    *SERVICES
    CSIMPSRV


  2. For each string (that is, for each string shown in italic between angle brackets), substitute an appropriate value:

How to Load the Configuration File

  1. Run tmloadcf to load the configuration file.

    $ tmloadcf UBBCSIMPLE
    Initialize TUXCONFIG file: /usr/me/CSIMPDIR/TUXCONFIG [y, q] ? y
    $

  2. Check the results by displaying a list of the files in your current directory.

    $ ls
    CSIMPCL CSIMPCL.o CSIMPSRV.int TPSVRINIT.int
    CSIMPCL.cbl CSIMPSRV CSIMPSRV.o TPSVRINIT.o
    CSIMPCL.idy CSIMPSRV.cbl TPSVRINIT.cbl TUXCONFIG
    CSIMPCL.int CSIMPSRV.idy TPSVRINIT.idy UBBCSIMPLE

    We now have a file called TUXCONFIG (a new file system under the control of the BEA Tuxedo system).

See Also