Java connection MQ error, channel negotiation failure MQJE001: Completion code is "2", The reason is "2059__java

Source: Internet
Author: User

I have also encountered this error, when the queue manager, queues, channels are all created, but is an error

hostname=192.168.8.46
Channel=ch1
Qmanager=wnms3_qm

MQJE001: The completion code is "2" and the reason is "2059".
COM.IBM.MQ.MQEXCEPTION:MQJE001: The completion code is "2" and the reason is "2059".
At Com.ibm.mq.mqmanagedconnectionj11.<init> (mqmanagedconnectionj11.java:229)
At Com.ibm.mq.mqclientmanagedconnectionfactoryj11._createmanagedconnection ( MQCLIENTMANAGEDCONNECTIONFACTORYJ11.JAVA:500)
At Com.ibm.mq.MQClientManagedConnectionFactoryJ11.createManagedConnection ( mqclientmanagedconnectionfactoryj11.java:541)
At Com.ibm.mq.storedmanagedconnection.<init> (storedmanagedconnection.java:95)
At Com.ibm.mq.MQSimpleConnectionManager.allocateConnection (mqsimpleconnectionmanager.java:182)
At Com.ibm.mq.MQQueueManagerFactory.obtainBaseMQQueueManager (mqqueuemanagerfactory.java:870)
At Com.ibm.mq.MQQueueManagerFactory.procure (mqqueuemanagerfactory.java:756)
At Com.ibm.mq.MQQueueManagerFactory.constructQueueManager (mqqueuemanagerfactory.java:704)
At Com.ibm.mq.MQQueueManagerFactory.createQueueManager (mqqueuemanagerfactory.java:169)
At Com.ibm.mq.mqqueuemanager.<init> (mqqueuemanager.java:594)
At Testsend.main (testsend.java:32)
caused by:com.ibm.mq.jmqi.jmqiexception:cc=2; rc=2059; AMQ9503: Channel negotiation failed. [3=ch1]
At Com.ibm.mq.jmqi.remote.internal.system.RemoteConnection.initSess (remoteconnection.java:1435)
At Com.ibm.mq.jmqi.remote.internal.system.RemoteConnection.connect (remoteconnection.java:991)
At Com.ibm.mq.jmqi.remote.internal.system.RemoteConnectionPool.getConnection (remoteconnectionpool.java:293)
At Com.ibm.mq.jmqi.remote.internal.RemoteFAP.jmqiConnect (remotefap.java:1371)
At Com.ibm.mq.MQSESSION.MQCONNX_j (mqsession.java:924)
At Com.ibm.mq.mqmanagedconnectionj11.<init> (mqmanagedconnectionj11.java:224)
... Ten more

Solution: After my careful analysis, and on some of the IBM official website to view the data, should be the program to create a queue manager set up the character set encoding problem.

Mqenvironment.ccsid = 1383; MQ Server installs the default character set encoding

Article from: http://blog.csdn.net/lizhitao/article/details/6039462

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.