This section provides instructions for setting up the RepConnector environment so that RepConnector can communicate with the following JMS Messaging Systems:
WebLogic Server (WLS) JMS
SonicMQ JMS
Instructions for EAServer JMS and TIBCO JMS messaging
systems are not included in this section:
No other instruction is required for EAServer JMS if you are running RepConnector on EAServer.
Instructions for TIBCO JMS are in “Configuring RepConnector for TIBCO”.
Sybase recommends that you configure your environment before you proceed with configuring the RepConnector connection. This enables you to ping the JMS 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. However, you must go back to verify this once you have set up the RepConnector environment.
Configuring WebLogic Server JMS
If you are using RepConnector on EAServer and you are configuring a RepConnector connection to send events to a WebLogic JMS server, modify the RepConnector batch or script file to correctly configure a connection to a WebLogic server using JMS queues.
No additional steps are required if you are running RepConnector on WebLogic Server.
Verify that the lines in repra_env.bat (Windows) or repra_env.sh (UNIX) that add the weblogic.jar library file to the CLASSPATH/BOOTCLASSPATH variable setting are not commented out and are correct for your environment:
On Windows:
d:\bea\weblogic81\server\lib\weblogic.jar;%CLASSPATH% d:\bea\weblogic81\server\lib\weblogic.jar;%BOOTCLASSPATH%
On UNIX:
/work/bea/weblogic81/server/lib/weblogic.jar:$CLASSPATH /work/bea/weblogic81/server/lib/weblogic.jar:$BOOTCLASSPATH
To effect the changes, restart EAServer.
Create a RepConnector connection or, if one already exists, use RepConnector Manager to validate the connection configuration. See “Creating RepConnector connections” for more information.
Configuring for SonicMQ JMS
Verify that the path to the SonicMQ library files are defined correctly in the RepConnector environment batch or script files:
Verify that the lines in repra_env.bat (Windows) or repra_env.sh (UNIX) that define the SONICMQ_HOME environment variable are not commented out and point to the installation location for SonicMQ.
On Windows:
set SONICMQ_HOME=c:\SonicSoftware\SonicMQ
On UNIX:
SONICMQ_HOME= /work/SonicSoftware/SonicMQ
Verify that the lines that define the directory structure for the SonicMQ library file, sonic_Client.jar, are not commented out and are correct for your environment.
On Windows:
CLASSPATH=%CLASSPATH%;%SONICMQ_HOME%\lib\sonic_Client.jar BOOTCLASSPATH=%BOOTCLASSPATH%;%SONICMQ_HOME%\lib\sonic_Client.jar
On UNIX:
REPRA_CLASSPATH=$SONICMQ_HOME/lib/sonic_Client.jar CLASSPATH=$CLASSPATH:$REPRA_CLASSPATH BOOTCLASSPATH=$BOOTCLASSPATH:$REPRA_CLASSPATH
To effect the changes, restart your application server.