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:
- Log in to the target machine as the Oracle Tuxedo application administrator and open a command-line shell.
- Create a working directory for your sample application and change to
it:
prompt> cd /home/me prompt> mkdir corba prompt> cd corba - 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/tuxedo12cR1directory, set and exportTUXCONFIGas follows:prompt> TUXDIR=/home/oracle/tuxedo12cR1 prompt> export TUXDIR - Copy the
simpappfiles 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 * - Ensure that
makeis in your path. - To run
simpappautomatically, enter../runme.ksh. Thesimpappapplication runs and prints the following messages:Testing simpapp cleaned up prepared built loaded ubb booted ran shutdown saved results PASSED - To run
simpappmanually to observe the processes starting and stopping, follow these steps:- prompt>
ksh - prompt>
../results/setenv.ksh - prompt>
tmboot -yThe application starts several processes.
- prompt>
simple_clientThe prompt
String?is displayed. - prompt>
enter_a_word_in_lowercase_lettersThe application converts the word to uppercase and then to lowercase letters and displays the results.
- prompt>
tmshutdown -y - The application shuts down the processes.
- prompt>
- To restore the directory to its original state, follow these steps:
- prompt>
../results/setenv.ksh - prompt>
make -f makefile.mkclean
- prompt>