6.21.1 Running simpapp to Verify the Oracle Tuxedo CORBA C++ Software Installation on a UNIX System

To configure and run the CORBA version of simpapp on a UNIX system, follow these steps:

  1. Log in to the target machine as the Oracle Tuxedo application administrator and open a command-line shell.
  2. Create a working directory for your sample application and change to it:
    
    prompt> cd /home/me 
    prompt> mkdir corba 
    prompt> cd corba
  3. Make sure that the product directory in which you installed the Oracle Tuxedo software is set in the TUXDIR environment variable. For example, if you installed the software in the /home/oracle/tuxedo12cR1 directory, set and export TUXCONFIG as follows:
    
    prompt> TUXDIR=/home/oracle/tuxedo12cR1 
    prompt> export TUXDIR
  4. Copy the simpapp files to your working directory and change the permissions on all files to allow full access. For example:
    
    prompt> cp $TUXDIR/samples/corba/simpapp/* . 
    prompt> chmod 777 *
  5. Ensure that make is in your path.
  6. To run simpapp automatically, enter ../runme.ksh. The simpapp application runs and prints the following messages:
    
    Testing simpapp 
    cleaned up 
    prepared 
    built 
    loaded ubb 
    booted 
    ran 
    shutdown 
    saved results 
    PASSED
  7. To run simpapp manually to observe the processes starting and stopping, follow these steps:
    1. prompt>ksh
    2. prompt>../results/setenv.ksh
    3. prompt>tmboot -y

      The application starts several processes.

    4. prompt>simple_client

      The prompt String? is displayed.

    5. prompt>enter_a_word_in_lowercase_letters

      The application converts the word to uppercase and then to lowercase letters and displays the results.

    6. prompt>tmshutdown -y
    7. The application shuts down the processes.
  8. To restore the directory to its original state, follow these steps:
    1. prompt>../results/setenv.ksh
    2. prompt>make -f makefile.mk clean