('MQCC_FAILED') reason '2035' ('MQRC_NOT_AUTHORIZED')

Caused by: 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:223)

... 20 more

 

Solution:

Run this command to grant right:

/home/lpp/mqm/script/setmcausr.sh QManager user

你可能感兴趣的:(MQ)