our applications fail to connect to MQ and we see the following
errors in the SystemOut.log:
A connection could not be made to WebSphere MQ for the following
reason: JMSCMQ0001: WebSphere MQ call failed with compcode ‘2’
(‘MQCC_FAILED’) reason ‘2035’ (‘MQRC_NOT_AUTHORIZED’).”
com.ibm.msg.client.jms.DetailedJMSSecurityException: JMSWMQ2013: The
security authentication was not valid that was supplied for
QueueManager ‘XXXQueueManager’ with connection mode ‘Client’ and
host name ‘N.N.N.N(port)’.
Please check if the supplied username and password are correct on the
QueueManager to which you are connecting.
..
—- JMS Linked Exception
com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with
compcode ‘2’ (‘MQCC_FAILED’) reason ‘2035’ (‘MQRC_NOT_AUTHORIZED’).
at
com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:204)