I am using WMQ (IBM Websphere Message Queue) and am facing the below error:
Root Exception was: MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused. Type: class com.ibm.mqservices.MQInternalException
ERROR 2017-04-21 11:36:52,212 [main] org.mule.module.launcher.application.DefaultMuleApplication:
********************************************************************************
Message : MQJMS2005: failed to create MQQueueManager for '172.17.65.24:RQACBRKB'
JMS Code : MQJMS2005
Element : /WMQ2 @ app:config.xml:14 (WMQ)
--------------------------------------------------------------------------------
Root Exception stack trace:
com.ibm.mqservices.MQInternalException: MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused
at com.ibm.mq.MQInternalCommunications.createSocketConnection(MQInternalCommunications.java:2316)
at com.ibm.mq.MQv6InternalCommunications$1.run(MQv6InternalCommunications.java:157)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.mq.MQv6InternalCommunications.initialize(MQv6InternalCommunications.java:154)
I have imported below jars. I came to know some modifications need to be done on anypoint studio.
com.ibm.mq.jar
com.ibm.mqetclient.jar (if using Transactions)
com.ibm.mq.jmqi.jar
com.ibm.mqjms.jar
dhbcore.jar
com.ibm.mq.headers.jar