Setting the WAS_HOME environment variable before updating
Set an environment variable that points to the WebSphere® Application Server installation directory before updating IBM® Connections.
Before you begin
About this task
To set the WAS_HOME environment variable, complete the following steps on the system that hosts the Deployment Manager:
Procedure
-
Open a command prompt and navigate to the following directory:
Linux: /opt/IBM/WebSphere/AppServer/profiles/profile_name/bin
Windows: drive:\Program Files\IBM\WebSphere\AppServer\profiles\profile_name\bin
Where profile_name is the profile name of the Deployment Manager (typically, this is Dmgr01) and drive: is the system drive on which the file directory is stored. For example: C: or D:.
-
Execute the following script:
Linux: ./setupCmdLine.sh Windows: setupCmdLine.batNote: This task does not apply to deployments on the AIX® operating system.
-
If running setupCmdLine on Linux does not export the $WAS_HOME variable then
run the following:
# export WAS_HOME=/opt/IBM/WebSphere/AppServer # echo $WAS_HOME /opt/IBM/WebSphere/AppServer