Service Virtualization

  • 1.  MQ connection issue

    Posted Mar 16, 2017 03:32 PM

    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').



  • 2.  Re: MQ connection issue
    Best Answer

    Posted Mar 16, 2017 04:18 PM

    Hi Dilip, 

     

    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.



  • 3.  Re: MQ connection issue

    Posted Apr 28, 2017 02:35 AM

    Hi,

     

    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.

     

    Thanks,

    Sai



  • 4.  Re: MQ connection issue

    Posted Apr 28, 2017 02:37 AM

    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

     

    com.ibm.mq.axis2.jar
    com.ibm.mq.commonservices.jar
    com.ibm.mq.defaultconfig.jar
    com.ibm.mq.headers.jar
    com.ibm.mq.jar
    com.ibm.mq.jmqi.jar
    com.ibm.mq.jms.Nojndi.jar
    com.ibm.mq.pcf.jar
    com.ibm.mq.postcard.jar
    com.ibm.mq.soap.jar
    com.ibm.mq.tools.ras.jar
    com.ibm.mqetclient.jar
    com.ibm.mqjms.jar