Setting the MQ_INSTALL_ROOT environment variable

Set the MQ_INSTALL_ROOT environment variable value in the WebSphere Application Server Administrative Console to direct WebSphere Application Server to where IBM MQ is installed.

Before you begin

  • Ensure that WebSphere Application Server is running.

Procedure

  1. Open the WebSphere Application Server Administrative Console.
  2. In the navigation tree, expand Environment and select WebSphere Variables.
  3. Enter the MQ_INSTALL_ROOT value:
    1. Click MQ_INSTALL_ROOT.
    2. In the Value field, enter WAS_installdir/lib/WMQ/.
      This directory contains your IBM MQ client libraries.
    3. Click OK.
    4. Click Save in the administrative console taskbar.
    5. On the Save page, select Synchronize changes with node.
    6. On the Save page, click Save.
  4. Close the WebSphere Application Server Administrative Console.
  5. Restart WebSphere Application Server.