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 it is configured correctly.
Verify that the lines in repra_env.sh that define the IBMMQ_HOME environment variable are not commented out and point to the installation location for the IBM WebSphere MQ environment.
IBMMQ_HOME=/opt/mqm
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.
REPRA_CLASSPATH=$IBMMQ_HOME/java/lib/com.ibm.mq.jar REPRA_CLASSPATH=$IBMMQ_HOME/java/lib/com.ibm.mqbind.jar:$REPRA_CLASSPATH CLASSPATH=$CLASSPATH:$REPRA_CLASSPATH BOOTCLASSPATH=$BOOTCLASSPATH:$REPRA_CLASSPATH
If you are connecting to the remote MQ daemon, verify that the MQ Server environment variable is defined correctly in repra_env.sh. If the environment variable is not defined correctly, modify it as follows:
At the command line, where CHANNEL1 is the name you have defined for the channel for the server connection, enter:
MQSERVER=CHANNEL1/TCP/'mymachine1(1414)' export MQSERVER
Restart your application server.
To configure EAServer, see the
EAServer documentation.
Verify that the line in repra_env.sh that defines the IBM MQ_HOME environment variable is not commented out and points to the installation location for the IBM WebSphere MQ JMS.
IBMMQ_HOME=/opt/mqm
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.
REPRA_CLASSPATH=$IBMMQ_HOME/java/lib/com.ibm.mq.jar REPRA_CLASSPATH=$IBMMQ_HOME/java/lib/com.ibm.mqbind.jar:$REPRA_CLASSPATH REPRA_CLASSPATH=$IBMMQ_HOME/java/lib/com.ibm.mqjms.jar:$REPRA_CLASSPATH REPRA_CLASSPATH=$IBMMQ_HOME/java/lib:$REPRA_CLASSPATH CLASSPATH=$CLASSPATH:$REPRA_CLASSPATH BOOTCLASSPATH=$BOOTCLASSPATH:$REPRA_CLASSPATH
If you are connecting to the remote MQ daemon, verify that the MQ Server environment variable is defined correctly in repra_env.sh. If the environment variable is not defined correctly, modify it as follows:
At the command line, where CHANNEL1 is the name you have defined for the channel for the server connection, enter:
MQSERVER=CHANNEL1/TCP/'remotemachine1(1414)' export MQSERVER
Restart your application server.