Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

MQEnvironment ClassNotFound exception

SA-6362

Summary



We are setting up new environment and we are having issues when trying to connect MQ Server from PRPC.

Error Messages



com.ibm.mq.MQEnvironment class not found exception

Steps to Reproduce



Not Applicable

Root Cause



MQ jars were not added in the PRPC CLASSPATH.

Resolution



Following approaches can be taken to make MQ jars available to PRPC
Import the below MQ 7 jars by using PRPC. Application / Import:

     com.ibm.mq.jmqi.jar

     com.ibm.mq.jar
     com.ibm.mq.pcf.jar
     com.ibm.mq.headers.jar
     com.ibm.mq.commonservices.jar
     connector.jar
 
Or, Add the MQ client jars in a WebSphere shared library/tomcat classpath which can be picked up at runtime by the PRPC.

We updated catalina.properties of the tomcat to add the MQ client jars in the CLASSPATH.

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us