Technical data

3 Node Manager
3-12 Administration Guide
Setting Up the Environment
Before starting the Node Manager, there are a number of environment variables that
need to be set. One way to set the environment variables would be to run the scripts
provided with the WebLogic Server software. The script is called
setEnv.sh on
UNIX and
setEnv.cmd on Windows. This script is located in the directory
install_dir/config/domain_name, where install_dir is the directory where
you installed WebLogic and
domain_name is the name of the domain.
Note: If you use the Node Manager start scripts (
startNodeManager.cmd on
Windows,
startNodeManager.sh on UNIX) to start the Node Manager, you
do not need to set the environment variables as these are set by the Node
Manager start script. For more information, see Starting the Node Manager
Using Start Scripts.
Setting the Environment Variables on Windows
Make sure that the JAVA_HOME environment variable points to the root directory where
you installed the JDK that you are using for the Node Manager. For example:
set JAVA_HOME=D:\bea\jdk131
Node Manager has the same JDK version requirements as the WebLogic Server.
You also need to set the
WL_HOME environment variable. For example:
set WL_HOME=D:\bea\wlserver6.1
In addition, you need to set your PATH environment variable to access the Node
Manager classes and the
java executable. For example:
set PATH=%WL_HOME%\bin;%JAVA_HOME%\bin;%PATH%
Setting the Environment Variables on UNIX
Assuming you have set the WL_HOME environment variable to point to the directory
where you installed WebLogic, the following is an example of setting the
PATH
variable to point to the WebLogic and JDK software:
PATH=$WL_HOME/bin;$JAVA_HOME/jre/bin:$JAVA_HOME/bin:$PATH