title: MQ error code 2058 when connecting to queue manager JMS
body: <p>I am trying to connect to Queue Manager using MQ api and I am able to connect to queue manager</p>
  
  <pre><code>MQQueueManager queueManager=new MQQueueManager(qmgrName);
  queueManager.accessQueue(qName,MQOO_OUTPUT);
  </code></pre>
  
  <p>But when I try to connect to the same queue manager using JMS it fails with 2058 code.Not sure if I am missing something with JMS</p>
  
  <pre><code>    MQQueueConnectionFactory qcf=new MQQueueConnectionFactory();
      qcf.setQueueManager(qmgrName);
      qcf.setPort(1414);
      qcf.setHostname("localhost");
      qcf.createQueueConnection();
  </code></pre>