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:

Procedure

  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: ../setupCmdLine.sh

    Windows: setupCmdLine.bat
    Note: This task does not apply to deployments on the AIX® operating system.

For IBM i

About this task

For IBM i the environment variable for IBM i platform is WAS_PROD_HOME.

Procedure

  1. Start Qshell by entering STRQSH in the command line.
  2. Use export to set the environment variable, for example:
    export WAS_PROD_HOME=/QIBM/ProdData/WebSphere/AppServer/<VERSION>/ND