Posted: 12 Jan 2017 10:41 EST Last activity: 29 Jan 2017 21:45 EST
Using MQ connector in Pega 7.1.8
Hi Pega Support Team,
We have Pega Platform 7.1.8 and IBM WebSphere Application Server 22.214.171.124.
When we trying to connect to external MQ server, we create MQ server instance, MQ connector in Pega to enable the connection.
Af first, we always have "MQException cannot be resolved" error. To solve it, we place the "com.ibm.mq.jmqi.jar" file on the disk of the application server and update the dynamic system settings of "compiler/defaultPaths" to point to that jar file. Then the problem got solved.
However, it is more like a workaround instead of a formal solution, especially for production environment.
And per our understanding, for IBM WAS 126.96.36.199, it is not necessary to include any additional jar file outside Pega.
Could you please advise us which is a formal way or best practise for solving this problem? Or do we need to open a SR to apply for a hotfix for this problem?
Thanks and Regards,
***Updated by moderator: Lochan to add Categories***
To connect to MQ Queue / Queue manager you need following jar files to be present in PRPC classloader path so that MQ Rules could reference them on compile /run time. you can do this by importing the jars by
Designer Studio - > Application - > Distribution - > Import
Jar file list -
By changing the default path to server directory you did the same thing but it is not the correct way to do it if jar file is going to be part of your product feature.
Let me know if you have any further question on this.
It seems this solution works for me. Thank you so much!
One more thing is, when I add "com.ibm.mq.MQException" in the compiler/defaultclasses, it works; when I removed it from compiler/defaultclasses and restart the web application server, I found the MQ connection still works. It seems the configuration has been cached. Do you know the exact way Pega cache it?
Thanks a lot!
Posted: 5 years ago
Posted: 13 Jan 2017 1:04 EST
Penchalanarasimhulu Vendipalli (Narasimha522)
Senior Technical Solutions Engineer