Mq Error Completion Code 2 Reason 2085
Contents |
with WMQ V6 mq reason code 2085 while trying to open a queue mqminfo; MQJMS2006; 2085; MQJMS_PQS.MQSC com.ibm.mq.MQException 2085 javax.jms.JMSException MQJMS2006 0x00000825 mq reason 2085 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 mq reason code 2058 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
Mq Completion Code 2
queue. Resolving the problem Create the WebSphere MQ system object definitions using the script called 'MQJMS_PSQ.MQSC,' (location:
2030, 2033, 2035, 2080, 2085, 2092, 2110, 2189 2030 2033
Mq Reason Code 2033
2035 2080 2085 2085 2092 2110 2189 2053 PremiumSupportTips Technote mq error codes (troubleshooting) Problem(Abstract) WebSphere MQ program fails to process an MQ API call. MQ notifies the mqje001: completion code '1', reason '2068'. program of the failure, by returning a completion code (MQCC), and a reason code (MQRC). These completion codes, and reason codes are documented in the http://www-01.ibm.com/support/docview.wss?uid=swg21174885 WebSphere MQ Messages manual. Resolving the problem Completion codes The following is a list of the completion codes (MQCC) returned by WebSphere MQ. 0 Successful completion (MQCC_OK) 1 Warning (partial completion) (MQCC_WARNING) 2 Call failed (MQCC_FAILED) Reason codes For a list of reason codes, see Reason codes. You can also use http://www.ibm.com/support/docview.wss?uid=swg21167821 the MQRC utility program to display description of a reason code. Example: Details regarding the most common reason codes. This information is intended to document the most common causes for following reason codes. MQRC 2030 0x000007ee MQRC_MSG_TOO_BIG_FOR_Q MQRC 2033 0x000007f1 MQRC_NO_MSG_AVAILABLE MQRC 2035 0x000007f3 MQRC_NOT_AUTHORIZED MQRC 2080 0x00000820 MQRC_TRUNCATED_MSG_FAILED MQRC 2085 0x00000825 MQRC_UNKNOWN_OBJECT_NAME MQRC 2092 0x0000082c MQRC_XMIT_Q_USAGE_ERROR MQRC 2110 0x0000083e MQRC_FORMAT_ERROR MQRC 2189 0x0000088d MQRC_CLUSTER_RESOLUTION_ERROR Additional information For a list of reason codes, see Reason codes. For a list of feedback codes, see Feedback codes. Related information WebSphere MQ Recommended Fixes A Japanese translation is available Product Alias/Synonym WMQ MQ Document information More support for: WebSphere MQ Application / API Software version: 2.1.2, 3.0, 5.3.1, 6.0, 7.0, 7.0.1, 7.1, 7.5 Operating system(s): AIX, HP NonStop, HP-UX, IBM i, Linux, OpenVMS, Solaris, Windows, z/OS, z/VSE Reference #: 1167821 Modified date: 14 March 2006 Site availability Site assistance Contact and feedb
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 http://stackoverflow.com/questions/29774462/create-a-topic-in-ibm-mq-in-java-program « View previous topic :: View next topic » Author Message rasad74 Posted: Tue Oct 30, 2001 2:21 pm Post subject: NoviceJoined: 29 Oct 2001Posts: 10 Hi Fellows, I have been using MQ JMS classes code 2 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 .mq.MQException: MQJE001: Completion Code 2, Reason 2085 Any help is much appreciated. Thanks, Rehan Back to top StefanSievert Posted: Tue Oct 30, 2001 completion code 2 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: Completion Code 2, Reason 2085 Connection problem: javax.jms.JMSException: MQJMS2006: MQ problem: com.ibm .mq.MQException: MQJE001: Completion Code 2, Reason 2085 Any pointers? Thanks, Rehan Back to top StefanSievert Posted: Wed Oct 31, 2001 2:18 pm Post subject: PartisanJoined: 28 Oct 2001Posts: 333Location: San Francisco Rehan, I am nohere for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Create a topic in IBM MQ in java program up vote 2 down vote favorite 1 I want to create a topic with name "manipulation" in my Java application, but I get this error: Exception in thread "main" com.ibm.mq.MQException: MQJE001: Completion Code '2', Reason '2085' My code is: MQTopic subscriber = new MQTopic(queueManager, null, "manipulation",CMQC.MQTOPIC_OPEN_AS_SUBSCRIPTION, CMQC.MQSO_CREATE); as said here: Accessing queues, topics, and processes in IBM MQ classes for Java java message-queue websphere-mq mq share|improve this question edited Apr 26 '15 at 13:41 fnt 2,74421835 asked Apr 21 '15 at 14:01 Arman 143113 add a comment| 2 Answers 2 active oldest votes up vote 3 down vote accepted The code that you are using to create a subscription for topic needs slight modification to get it working: MQTopic subscriber = new MQTopic(queueManager, null, "manipulation",CMQC.MQTOPIC_OPEN_AS_SUBSCRIPTION, CMQC.MQSO_CREATE); In the above snippet you have specified the third parameter, i.e topic object name. When you specify a topic object name, then that object must exist before it can be used. In your case you have administratively create a topic object with name manipulation and then use above constructor to create a subscription. Because topic manipulation does not exist, an MQRC 2085 exception is being thrown. You have two options: 1) Administratively create a topic object "manipulation". 2)