JMSCMQ0001: IBM MQ call failed with compcode ‘2’ (‘MQCC_FAILED’) reason ‘2278’ (‘MQRC_CLIENT_CONN_ERROR’).

I got this using a CCDT in a JMS program.

MQQueueConnectionFactory  mqQueueConnectionFactory = new MQQueueConnectionFactory();
java.net.URL ccdt;
//		mqQueueConnectionFactory.setQueueManager("QMA");
ccdt = new URL("https://127.0.0.1:9444/tls.py");
mqQueueConnectionFactory.setCCDTURL(ccdt);
qc = mqQueueConnectionFactory.createConnection("colinpaice","panthe0n");

If I uncommented the mqQueueConnectionFactory.setQueueManager(“QMA”); it worked.

My CCDT had

{
  "channel":
  [
    {
      
     "name": "QMACLIENT",
      "clientConnection":
      {
        "connection":
        [
          {
            "host": "127.0.01",
            "port": 1414
          }
        ],
        "queueManager": "QMA"
      },
      "type": "clientConnection"
    }
  ]
}

I think it should have picked up the “queueManager”: “QMA”.