Setting up the class path for the WebSphere MQ client jars
You must set up a class path for the WebSphere MQ client
jars. Follow these steps to do so:
- Log on to WebSphere Application Server Admin Console.
- From the left navigation pane, click Servers > Application
Servers > <Server Name> where the <Server
Name> is the name of the server on the right hand pane.
- Under Additional Properties, click Process Definition.
- Under Additional Properties, click the Java Virtual Machine.
- In the Class Path, set the following:
<MQ_Client>/lib;<MQ_Client>/lib/providerutil.jar;
<MQ_Client>/lib/com.ibm.mq.jar;<MQ_Client>/lib/com.ibm.mqbind.jar;
<MQ_Client>/lib/jms.jar;<MQ_Client>/lib/jndi.jar;
<MQ_Client>/lib/com.ibm.mqjms.jar;<MQ_Client>/lib/fscontext.jar;
<MQ_Client>/lib/connector.jar;<MQ_Client>/lib/jta.jar;
<MQ_Client>/lib/postcard.jar;
Where <MQ_Client> is the installed directory of
the WebSphere MQ Client.
- Click OK and then click Save to save the change.
- Reboot the WebSphere Application Server.
