Configure RepConnector for IBM WebSphere MQ

This section describes how to set up the RepConnector environment so that RepConnector can communicate with the IBM WebSphere MQ or MQ JMS Messaging System.

Sybase recommends that you configure your environment before you configure the RepConnector connection. This enables you to ping the IBM Websphere MQ Messaging System during configuration to verify that you have configured it properly. If you do not configure your RepConnector environment before configuring the RepConnector connection, RepConnector Manager allows you to create the connection even if the ping has failed. You must go back to verify this once you have set up the RepConnector environment.

StepsConfiguring IBM WebSphere MQ

To configure your environment for IBM WebSphere MQ:

  1. Verify that the lines in repra_env.bat (Windows) or repra_env.sh (UNIX) that define the IBMMQ_HOME environment variable are not commented out and point to the installation location for the IBM Websphere MQ environment.

  2. Verify that the lines that define the directory structure for the IBM WebSphere MQ library files, mq.jar and mqbind.jar, are not commented out and are defined correctly for your environment.

  3. If you are connecting to the remote MQ daemon, verify that the MQ Server environment variable is defined correctly in repra_env.bat (Windows) or repra_env.sh (UNIX). If the environment variable is not defined correctly, modify it as follows:

    See Chapter 4, “Configuring the Messaging System,” for more information.

  4. To effect the changes, restart your application server.

NoteTo configure EAServer, see the EAServer documentation.

StepsConfiguring MQ JMS

To configure your environment for MQ JMS:

  1. Verify that the lines in repra_env.bat (Windows) or repra_env.sh (UNIX) that define the IBMMQ_HOME environment variable are not commented out and point to the installation location for the IBM WebSphere MQ JMS.

  2. Verify that the lines that define the directory structure for the IBM WebSphere MQ JMS library files, mq.jar and mqbind.jar, are not commented out and are defined correctly for your environment.

  3. If you are connecting to the remote MQ daemon, verify that the MQ Server environment variable is defined correctly in repra_env.bat (Windows) or repra_env.sh (UNIX). If the environment variable is not defined correctly, modify it as follows:

    See Chapter 4, “Configuring the Messaging System,” for more information.

  4. To effect the changes, restart your application server.