I am not able to connect to IBM MQ using MQ classes for JMS way from my java client. The error log says
com.ibm.msg.client.jms.DetailedJMSSecurityRuntimeException: JMSWMQ2013: The security authentication was not valid that was supplied for QueueManager 'TESTQUEUE' with connection mode 'Client' and host name 'xxxx'
Caused by: com.ibm.mq.MQException: JMSCMQ0001: IBM MQ call failed with compcode '2' ('MQCC_FAILED') reason '2035' ('MQRC_NOT_AUTHORIZED').
I do not have any credentials to provide as there is no authentication enabled. My other application which is trying to connect to IBM MQ using MQ classes for java is working fine. Am i missing something here?
I read all other posts related to this error and did some research but I haven't got proper solution anywhere and hence posting this question. Let me know if you need any more details
Edit: I do not have acccess to AMQERR01.LOG/server or MQExplorer.
IBM MQ Queue manager version: 8.0.0.11
IBM MQ classes for JMS JAR: com.ibm.mq.allclient-9.1.0.0.jar
Code sample :
jmsConFac.connectionsetIntProperty(WMQConstants.WMQ_CONNECTION_MODE, WMQConstants.WMQ_CM_CLIENT);
jmsConFac.setBooleanProperty(WMQConstants.USER_AUTHENTICATION_MQCSP, false);
JMSContext context = jmsConFac.createContext();
TESTQUEUEqueue manger'sAMQERR01.LOGfile when the JMS application receives this error? What version of IBM MQ is the queue manger? What version are your IBM MQ classes for JMS jar files from? How do you connect? Do you callcreateQueueConnectionorcreateConnection. Do you pass any parameters? - JoshMcAMQERR01.LOG, then please ask the MQ admin for this information. The 2035 on the client side is a generic error that can have multiple causes, the queue manager log will tell what the specific cause was. - JoshMc