6.1 Setting Environment Variables

Before you attempt to use TMA TCP Gateway, you must set the TUXDIR and PATH environment variables as the following example illustrates.

Listing 6‑1 Setting ROOTDIR and PATH Environment Variables

TUXDIR=/usr/tuxedo; export TUXDIR
PATH=$PATH:$TUXDIR/bin; export PATH
GWICONFIG=$APPDIR/gwiconfig;export GWICONFIG
BDMCONFIG=$APPDIR/bdmconfig;export BDMCONFIG
TUXCONFIG=$APPDIR/tuxconfig;export TUXCONFIG

You should set TUXDIR to the actual path where your Oracle Tuxedo and TMA TCP Gateway software is installed. Set APPDIR to the application directory, similar to the UBBCONFIG file. You may also need to set the LANG environment variable if you have generated custom mapping tables or message catalogs. Some platforms may require that LANG always is set. Consult your operating system documentation for the appropriate LANG value.