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

Complete this task only if you are installing interim fixes.

About this task

The update wizard is programmed to access the WebSphere® Application Server installation by reading the WAS_HOME environment variable in the system path.

To set the WAS_HOME environment variable, complete the following steps on the system that hosts the Deployment Manager:


  1. 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:.

  2. Execute the following script:
    Linux: ./

    Windows: setupCmdLine.bat
    Note: This task does not apply to deployments on the AIX® operating system.
  3. 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