uCosminexus Application Server, EJB Container Functionality Guide

[Contents][Glossary][Index][Back][Next]

3.3.4 Specifying the environment variables required for executing an EJB client application

This subsection describes the setup of environment variables of an EJB client application. The environment variables required for executing an EJB client application are as follows:

Table 3-6 Environment variables required for executing an EJB client application (in Windows)

Environment variable Value Commands
cjclstartap vbj
PATH#1 Cosminexus-installation-directory\jdk\bin -- Y
Cosminexus-installation-directory\TPB\bin Y --
Cosminexus-installation-directory\PRF\bin -- Y
VBROKER_ADM Cosminexus-installation-directory\TPB\adm Y Y
PRFSPOOL#2 Cosminexus-installation-directory\PRF\spool O O
TZ JST-9 (In the case of Japan) Y Y

Legend:
Y: The environment variables must be specified in the command. Specification is mandatory.
O: Specified during installation. Specification is optional.
--: Specification is not required.

#1
Specify Cosminexus-installation-directory\jdk\bin at the beginning of the environment variable PATH.

#2
The Cosminexus Performance Tracer log is output under the PRFSPOOL environment variable set by the installer. However, if the PRF daemon is not allocated to the machine on which the EJB client application is running, the module trace increases monotonically.
Do not set the PRFSPOOL environment variable when the PRF daemon is not allocated.
Use one of the following methods:
- Delete the PRFSPOOL environment variable from the system environment variables.
- Disable the PRFSPOOL environment variable when you execute the EJB client.

Table 3-7 Environment variables required for executing an EJB client application (in UNIX)

Environment variable Value Commands
cjclstartap vbj
LIBPATH, or LD_LIBRARY_PATH#1 /opt/Cosminexus/TPB/lib
/opt/Cosminexus/PRF/lib
Y Y
PATH#2 /opt/Cosminexus/jdk/bin -- Y
/opt/Cosminexus/TPB/bin Y --
/bin
/usr/bin
-- Y
VBROKER_ADM /opt/Cosminexus/TPB/adm Y Y
PRFSPOOL#3 /opt/Cosminexus/PRF/spool O O
TZ JST-9 (In the case of Japan) Y Y

Legend:
Y: The environment variables must be specified in the command. Specification is mandatory.
O: Specification is optional.
--: Specification is not required.

#1
The name of the environment variable used differs depending on the OS.
LIBPATH: In AIX
LD_LIBRARY_PATH: In HP-UX (IPF), Linux, or Solaris

#2
Specify /opt/Cosminexus/jdk/bin at the beginning of the environment variable PATH.

#3
The Cosminexus Performance Tracer log is output under the PRFSPOOL environment variable. However, if the PRF daemon is not allocated to the machine on which the EJB client application is running, the module trace increases monotonically.
Do not set the PRFSPOOL environment variable when the PRF daemon is not allocated. Specifically disable the PRFSPOOL environment variable when you execute the EJB client.

If AIX is the execution environment, apart from the environment variables described in the above table, you must specify environment variables specific to AIX. For details, see 4.1.11 Items to be checked when setting system environment variables in the uCosminexus Application Server System Setup and Operation Guide.