JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2035' ('MQRC_NOT_AUTHORIZED')

I am using Websphere mq v 7.5. When I try to send message to Queue, I get following error :

JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2035' ('MQRC_NOT_AUTHORIZED') Provided Username and password are wrong.

I don't have any credentials to provide as it doesn't ask at time of installation. My camel-context configuration is given below:

 <bean> <property name="connectionFactory" ref="myConnectionFactory"/> </bean> <bean> <property name="hostName" value="mqhost"/> <property name="port" value="1417"/> <property name="queueManager" value="QM1"/> <property name="channel" value="SYSTEM.DEF.SVRCONN"/> <property name="transportType" value="1"/> </bean>
2

1 Answer

The 2035 error you received will have more information to explain it in the queue manager error log. The fact that the JMS error message mentions a user ID and password is misleading, it could be one of a number of security failures, not necessarily that one, I suspect you are being caught by a default security rule (CHLAUTH rule) that bans the use of SYSTEM channels.

Look in your queue manager AMQERR01.LOG and then read the following post for more help on how to deal with a failure caused by a CHLAUTH rule.

I'm being blocked by CHLAUTH - how can I work out why?

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like