Mq Error Mqje001 Completion Code 2 Reason 2085
Contents |
with WMQ V6 mq reason 2085 mqminfo; MQJMS2006; 2085; MQJMS_PQS.MQSC com.ibm.mq.MQException 2085 javax.jms.JMSException MQJMS2006 0x00000825
Mq Reason Code 2085 While Trying To Open A Queue
MQRC_UNKNOWN_OBJECT_NAME SYSTEM.JMS.MODEL.QUEUE Technote (troubleshooting) Problem(Abstract) Your WebSphere MQ (WMQ) V6 (or earlier) JMS mqje001 completion code 2 reason 2085 websphere client application could not connect to WebSphere MQ queue manager. You get the following errors when creating the topic connection: com.ibm.mq.MQException: Completion mqje001: completion code '1', reason '2068'. Code 2, Reason 2085 javax.jms.JMSException: MQJMS2006: MQ problem: com.ibm.mq.MQException: Completion Code 2, Reason 2085 Symptom 2085 0x00000825 MQRC_UNKNOWN_OBJECT_NAME Cause A WMQ trace of the failure shows that one of your WMQ system queues is missing. In this particular case, it was the SYSTEM.JMS.MODEL.QUEUE
Mqopen Ended With Reason Code 2085
queue. Resolving the problem Create the WebSphere MQ system object definitions using the script called 'MQJMS_PSQ.MQSC,' (location:
2085 MQRC_UNKNOWN_OBJECT_NAME MQRC_UNKNOWN_OBJECT_NAME MQRC_UNKNOWN_OBJECT_NAME unknown object name Technote (troubleshooting) Problem(Abstract) Your WebSphere MQ application program fails with reason code 2085 (MQRC_UNKNOWN_OBJECT_NAME) mqje001 completion code 2 reason 2396 when you attempt to open a queue. 2085 0x00000825 MQRC UNKNOWN OBJECT mq 2019 NAME Cause This reason code is issued when an application opens a queue, and the queue manager cannot
Mq Completion Code 2
resolve to a queue name specified in the MQOPEN object descriptor (MQOD). The most likely reason is that a wrong queue name was specified on the MQOPEN API call. Resolving the http://www-01.ibm.com/support/docview.wss?uid=swg21174885 problem Debugging techniques: If the queue is a locally defined queue: Verify that your program is connecting to the correct queue manager. Use the MQSC dis ql(*) command to determine if the target queue is defined. Make sure that your program specifies the correct queue name in the correct case. If the queue is a cluster queue: Same general rules as http://www.ibm.com/support/docview.wss?uid=swg21166940 above. If you expect the MQOPEN to resolve to a cluster queue that is not locally defined, you must not specify the ObjectQMgrName in the object descriptor (MQOD). 2085 may indicate WebSphere MQ cluster configuration problems. Ensure that the cluster queue managers have working channel connections to, and from the repository queue manager using: MQSC dis chs(*) command. Ensure that the queue is shared in the cluster using: MQSC dis ql(*) command. 2085 opening a cluster queue for input is not supported. Corrective actions Specify the correct queue name Define the queue Do not specify ObjectQMgrName in the object descriptor (MQOD) Resolve cluster channel issues Share the queue in the cluster Example: In this test we successfully put a message to target queue SVR.LQ. This works as expected. Notice what happens when we specify this same queue name in lower case. We fail with 2085. Related information WebSphere MQ Library A Japanese translation is available Cross reference information Segment Product Component Platform Version Edition Business Integration WebSphere MQ Express Capability Linux, Windows 5.3 Product Alias/Synonym WMQ MQ Document information More supp
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support
MQSeries.net Forum Index » IBM MQ Java / JMS » MQJE001: Completion Code 2, Reason 2085 MQJE001: Completion Code 2, Reason 2085 « View previous topic :: View next topic » Author Message rasad74 Posted: Tue Oct 30, 2001 2:21 pm Post code 2 subject: NoviceJoined: 29 Oct 2001Posts: 10 Hi Fellows, I have been using MQ JMS classes with JNDI technique. When I test my application I get the following error any clues what I am doing wrong? (I have MA88 support pack and ma0c_win.zip pack for pub/sub function) MQJE001: Completion Code 2, Reason 2085 Connection problem: javax.jms.JMSException: MQJMS2006: MQ problem: com.ibm completion code 2 .mq.MQException: MQJE001: Completion Code 2, Reason 2085 Any help is much appreciated. Thanks, Rehan Back to top StefanSievert Posted: Tue Oct 30, 2001 3:16 pm Post subject: PartisanJoined: 28 Oct 2001Posts: 333Location: San Francisco 2085 = MQRC_UNKNOWN_OBJECT_NAME Make sure that the queue name that you are referencing through the JNDI lookup is spelled correctly and that the queue has been defined within your MQ QMgr. Be aware that MQSeries object names are case-sensitive. HTH, Stefan Back to top rasad74 Posted: Wed Oct 31, 2001 7:00 am Post subject: NoviceJoined: 29 Oct 2001Posts: 10 Thanks Stefan for the reply. But I am only referencing TopicConnectionFacotry and TopicName from JNDI. Do I need to define queues in JNDI too. Here is code snippet: topicConnectionFactory =(TopicConnectionFactory) SampleUtilities.jndiLookup(SampleUtilities.TOPICCONFAC); System.out.println("Now topicConnection factory is: " + topicConnection); // The above line of code executes // successfully and does give me // MQTopicConnectionFactory object from // JNDI topicConnection = topicConnectionFactory.createTopicConnection(); // The above line of code never executes // and the following error occurs: Now topicConnectionFactory factory is: com.ibm.mq.jms.MQTopicConnectionFac tory@e3b33cfb MQJE001: Co