Implementation > Message exchange services for integrations > Integration message queuing services: WebSphere > Configuration tasks > Copy jar files from WebSphere to Integrator

Copying jar files from WebSphere to Integrator

Overview

Some of the JAR files installed during the WebSphere MQ Series installation must be copied to the Integrator Server with which WebSphere exchanges messages. You must repeat this operation every time there is a change in the WebSphere installation.

Procedures

Copying JARS

Copy the following files from the lib directory of the WebSphere MQ installation folder, to a directory accessible by Integrator:

Editing classpath

You must also create references to the JAR files in the classpath definition of the Integrator installation. Open the <CORE_ROOT>/local/bin/core_setup file, and add the following lines at the end of the file:

CLASSPATH=$CORE_LOCAL/java/lib/com.ibm.mq.jar:$CLASSPATH

CLASSPATH=$CORE_LOCAL/java/lib/fscontext.jar:$CLASSPATH

CLASSPATH=$CORE_LOCAL/java/lib/jndi.jar:$CLASSPATH

CLASSPATH=$CORE_LOCAL/java/lib/com.ibm.mqjms.jar:$CLASSPATH

CLASSPATH=$CORE_LOCAL/java/lib/connector.jar:$CLASSPATH

CLASSPATH=$CORE_LOCAL/java/lib/jms.jar:$CLASSPATH

CLASSPATH=$CORE_LOCAL/java/lib/providerutil.jar:$CLASSPATH

export CLASSPATH

In the paths of the preceding example, we assume that the JAR files have been copied in the directory /java/lib.