Question

1
Replies
216
Views
GANAPATHY-1 Member since 2012 3 posts
Tcs
Posted: September 26, 2017
Last activity: October 16, 2018
Closed

Could not initialize class com.ibm.mq.MQEnvironment

We are using Tomcat 7.0.81 and MQ version 7.1.0.7 server. When trying to test connectivity via Connect-MQ following error is thrown.

Statusfail
MessageCould not initialize class com.ibm.mq.MQEnvironment

While searching for the class using SMA the class is not present in pega.

Following steps are tried to overcome but the problem still exists

1) Creation of Common folder added all the MQ related jars, given the path in compiler/defultpaths .Refreshed the jars.

usr/local/apache-tomcat-7.0.81/Common/com.ibm.mq.commonservices.jar;/usr/local/apache-tomcat-7.0.81/Common/com.ibm.mq.axis2.jar;/usr/local/apache-tomcat-7.0.81/Common/com.ibm.mq.headers.jar;/usr/local/apache-tomcat-7.0.81/Common/com.ibm.mq.defaultconfig.jar;/usr/local/apache-tomcat-7.0.81/Common/com.ibm.mq.jar;/usr/local/apache-tomcat-7.0.81/Common/com.ibm.mq.jmqi.jar;/usr/local/apache-tomcat-7.0.81/Common/com.ibm.mq.pcf.jar;/usr/local/apache-tomcat-7.0.81/Common/com.ibm.mq.jms.Nojndi.jar;/usr/local/apache-tomcat-7.0.81/Common/com.ibm.mqjms.jar;/usr/local/apache-tomcat-7.0.81/Common/com.ibm.mq.soap.jar;/usr/local/apache-tomcat-7.0.81/Common/com.ibm.mq.postcard.jar;/usr/local/apache-tomcat-7.0.81/Common/com.ibm.mq.tools.ras.jar

2) Import the jars directly into Pega, restart the server.

Please let me know if any other steps can be taken to address the issue.

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Low-Code App Development Upgrades
Moderation Team has archived post
Share this page LinkedIn