title: MQJE001: Completion Code '2', Reason '2495
body: <p>I want to receive some messages from IBM MQ based on java. So I write a very simple code to test what I want. Here is the sample code below. </p>
  
  <pre><code>    Const.MQ_QMANAGER = "QM.CREDITWEB3T.PC";
      Const.MQ_QUEUE_RECEIVE = "MQ.AIRPORTS";
  
      MQSimpleConnectionManager myConnMan = new MQSimpleConnectionManager();
      myConnMan.setActive(MQSimpleConnectionManager.MODE_AUTO);
  
      MQQueueManager qMgr = new MQQueueManager(Const.MQ_QMANAGER,
                      myConnMan);
  </code></pre>
  
  <p>When I new the <code>MQQueueManager</code>. It’s throw an error message. <br><br>
  The error message is </p>
  
  <blockquote>
    <p>MQJE001: Completion Code '2', Reason '2495'</p>
  </blockquote>
  
  <p>May someone help me to figure out what’s wrong here? Thanks a lot. </p>