While connecting to MQ I am getting error "com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2009' ('MQRC_CONNECTION_BROKEN')."
It looks like the issue is with channel connection sharing in IBM WebSphere MQ.
It seems there are 2 possible ways:
1. You can disable sharing connection option: set MQ QueueManager SHARECNV property to 0
2. Raise a support ticket with IBM the will solve connection sharing issue.
Refer: IBM IV00348: WEBSPHERE MQ V7 JMS CONNECTION FAILED WITH (MQCC_FAILED) REASON 2009 - United States for more details.
Apart from the reasons mentioned by Monika this can also be an issue due to missing jars, Check if you have all the MQ jars required in your lib folder.
I am pasting all the jars I have placed in my lisa installation as reference below, you can get mostof them from IBM java installation or from your websphere admin
Retrieving data ...