MQJE001: An MQException occurred: Completion Code 2, Reason 2009

Discussions

EJB design: MQJE001: An MQException occurred: Completion Code 2, Reason 2009

  1. Hi all,

    I am getting the following exception while getting a message from MQ local queue.

    MQJE001: An MQException occurred: Completion Code 2, Reason 2009
    MQJE016: MQ queue manager closed channel immediately during connect
    Closure reason = 2009
    MQJE001: An MQException occurred: Completion Code 2, Reason 2009
    MQJE016: MQ queue manager closed channel immediately during connect
    Closure reason = 2009
    com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2009
    MQJE016: MQ queue manager closed channel immediately during connect
    Closure reason = 2009
    at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:239)
    at com.ibm.mq.MQClientManagedConnectionFactoryJ11._createManagedConnection(MQClientManagedConnectionFactoryJ11.java:276)An MQ Error Occurred: Completion Code is : 2

     The Reason Code is : 2009

    at com.ibm.mq.MQClientManagedConnectionFactoryJ11.createManagedConnection(MQClientManagedConnectionFactoryJ11.java:296)
    at com.ibm.mq.StoredManagedConnection.<init>(StoredManagedConnection.java:80)
    at com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionManager.java:171)
    at com.ibm.mq.MQQueueManager.obtainBaseMQQueueManager(MQQueueManager.java:737)
    at com.ibm.mq.MQQueueManager.construct(MQQueueManager.java:671)
    at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:400)
    at com.smk.mq.PtpReciever.main(PtpReciever.java:47)


    Please Help !!!

    Thanx,
    Sumukh
  2. Am also facing the same problem..Any one help ME
  3. It is because the Channel doesn't exist. Note : Channel != Queue
  4. com.ibm.mq.MQException: MQJE001: An MQException occurred: Completion Code 2, Reason 2009
    MQJE016: MQ queue manager closed channel immediately during connect
    Closure reason = 2009


    i have also this error, what is the reason, please give me a immediate answer
  5. Due to comfiguration at Queue Manager[ Go to top ]

    Hi,

    It might be due to configuration done at queue manager. Something which is denying connection to queue manager due to SSL problem or un-identified IP address (known IP address list is maintained by QM for security purpose).