Posted: 23 Dec 2019 10:00 EST Last activity: 31 Dec 2019 12:17 EST
Class not found exception when trying to establish MQ server connectivity
I am trying to do POC on MQ. I have imported the below jar files into PEGA.
After importing these files, I have had the server restarted and created a MQ server instances and provided details on required fields. When I am trying to hit the Test connectivity button, getting a Class not found exception. Attaching screen shot for reference.
NOTE: the class that is shown in exception message has been imported as part of com.ibm.mq.jar file.
The class which is throwing error exists in com.ibm.mq.jar.Is that import successful?Can you please verify pr_engineclasses table, check for these jars in pzjar column.If it is not present then you need to reimport it.
Please install other jars as well from below list.Download connector & dhb core jar from outside if it is not shipped.Restart both prpc & MQ server & then verify.
I have verified the pr_Engineclasses table and the import for com.ibm.mq.jar is successful. Which version of jar file should I install for dhbcore and connector.jar files? Is there any link to get the latest version?
Also when I do the test connectivity now, I am not able to establish the initial context. Attached the screenshot and log file details.
Caused by: java.io.IOException: Broken pipe
at sun.nio.ch.FileDispatcherImpl.write0(Native Method) ~[?:1.8.0_212]
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) ~[?:1.8.0_212
Can you please verify whether your MQ server is up and running or not.Can you try to consume it from any other application.Is it accessible.Please check connectivity from pega server to MQ server using ping command.