search cancel

Connection Broken Error on Portal for MQ

book

Article ID: 255699

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

Hi Team,

We are getting connection broken error for MQ services.

Q_managers are using MQ client version:  9.2.3.0.

in Devtest 10.7.0 we are using IBM MQ all client jar com.ibm.mq.allclient-9.1.2.0

Please let us know if need to change the jar to client version at MQ side. Also help to advise any other changes to address this issue.

Please help to share the corresponding JAR file.

Error:

 

 Completion Code 2 (MQCC_FAILED), Reason Code 2009 (MQRC_CONNECTION_BROKEN)
============================================================================
| Step:        Live Invocation
----------------------------------------------------------------------------
| Message:     Completion Code 2 (MQCC_FAILED), Reason Code 2009 (MQRC_CONNECTION_BROKEN)
----------------------------------------------------------------------------
| Trapped Exception: Completion Code 2 (MQCC_FAILED), Reason Code 2009 (MQRC_CONNECTION_BROKEN)
| Trapped Message:   

============================================================================
| Exception: 
============================================================================
| Message:     Completion Code 2 (MQCC_FAILED), Reason Code 2009 (MQRC_CONNECTION_BROKEN)
----------------------------------------------------------------------------
| Trapped Exception: Completion Code 2 (MQCC_FAILED), Reason Code 2009 (MQRC_CONNECTION_BROKEN)
| Trapped Message:   

============================================================================
| Exception: 
============================================================================
| Message:     Completion Code 2 (MQCC_FAILED), Reason Code 2009 (MQRC_CONNECTION_BROKEN)
----------------------------------------------------------------------------
| Trapped Exception: MQJE001: Completion Code '2', Reason '2009'.
| Trapped Message:   com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason '2009'.
----------------------------------------------------------------------------
STACK TRACE
com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason '2009'.
 at com.ibm.mq.MQDestination.internalMQPUT(MQDestination.java:1384)
 at com.ibm.mq.MQDestination.put(MQDestination.java:1234)
 at com.itko.lisa.messaging.providers.ibmmq.IbmMqUtils.put(IbmMqUtils.java:279)

 

Environment

Release : 10.7

Resolution

We need to get the MQ jar files according to the MQ version you use. So, you need to get the com.ibm.mq.allclient.jar & com.ibm.mq.commonservices.jar files from the MQ team and use it in Devtest.