BEA Logo BEA Tuxedo Release 7.1

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

 

   Tuxedo Doc Home   |   Administration   |   Topic List   |   Previous   |   Next   |   Contents

   Administering a BEA Tuxedo Application at Run Time

How to Set Your Environment

Being able to access the BEA Tuxedo executables and data libraries is essential to the job of managing a BEA Tuxedo application. For example, the commands needed to start up or shut down an application are located in $TUXDIR/bin on a UNIX host machine, and in %TUXDIR%\bin on a Windows NT host machine.

On a UNIX host machine, set and export the following environment variables to set up your environment.

TUXCONFIG=path_name_of_TUXCONFIG_file
TUXDIR=path_name_of_BEA_Tuxedo_system_root_directory
APPDIR=path_name_of_BEA_Tuxedo_application_root_directory
PATH=$APPDIR:$TUXDIR/bin:/bin:$PATH
LD_LIBRARY_PATH=$APPDIR:$TUXDIR/lib:/lib:/usr/lib:$LD_LIBRARY_PATH
export TUXCONFIG TUXDIR APPDIR PATH LD_LIBRARY_PATH

On this platform . . .

Make this change . . .

SunOS

Add /usr/5bin as the first directory in your PATH, as shown in the following example: PATH=/usr/5bin:$APPDIR:$TUXDIR/bin:/bin:$PATH

AIX on the RS/6000

Use LIBPATH instead of LD_LIBRARY_PATH

HP-UX on the HP 9000

Use SHLIB_PATH instead of LD_LIBRARY_PATH

Replace the substitutable strings (italicized) with the absolute path names appropriate for your installation.

Note: The application administrator defines the TUXCONFIG, TUXDIR, and APPDIR environment variables in the MACHINES section of the UBBCONFIG file or the T_MACHINE class of the TM_MIB for each machine in an application. See the UBBCONFIG(5) or TM_MIB(5) reference page for a description of these environment variables.

On a Windows NT host machine, enter the following commands at the MS-DOS prompt to set up your environment.

set TUXCONFIG=path_name_of_TUXCONFIG_file
set TUXDIR=path_name_of_BEA_Tuxedo_system_root_directory
set APPDIR=path_name_of_BEA_Tuxedo_application_root_directory
set PATH=%APPDIR%;%TUXDIR%\bin;%PATH%

Replace the substitutable strings (italicized) with the absolute path names appropriate for your installation.

Windows NT accesses the required dynamically loadable library files through its PATH variable setting. Specifically, Windows NT searches for dynamically loadable library files in the following order:

  1. The directory from which the BEA Tuxedo application was loaded

  2. The current directory

  3. The Windows system directory (for example, C:\Winnt\System32)

  4. The Windows directory (for example, C:\Winnt)

  5. The directories listed in the PATH environment variable