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:

  1. Log on to WebSphere Application Server Admin Console.
  2. 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.
  3. Under Additional Properties, click Process Definition.
  4. Under Additional Properties, click the Java Virtual Machine.
  5. 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.
  6. Click OK and then click Save to save the change.
  7. Reboot the WebSphere Application Server.

Copyright IBM Corp. 2004, 2005