Mqput Error 2085
Contents |
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support
MQSeries.net websphere mq call failed with compcode 2 mqcc_failed reason 2085 mqrc_unknown_object_name Forum Index » General IBM MQ Support » MQ Series error 2085 MQ Series error 2085 « View previous topic :: View next topic » AuthorMqrc 2035
Message shubhrajit_c Posted: Fri Nov 02, 2001 3:15 am Post subject: NoviceJoined: 01 Nov 2001Posts: 14Location: India Hi, I am new to MQSeries and on a learning phase.I have installed MQ Series for NT https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_8.0.0/com.ibm.mq.tro.doc/q039190_.htm , created and started QueueManager , created a message queue and put enabled it. However whenever I am trying to put a message to the queue from my java client in the same machine, I am getting a MQSeries error 2085. I tried to use the sample qbrowser that comes with the product to browse my queue , I am getting the same error. What may be the http://www.mqseries.net/phpBB2/viewtopic.php?t=696 reason ???????? _________________Shubhrajit Chatterjee http://shubhra.4mg.com http://hum-sab.8m.net Back to top venkat kurra Posted: Fri Nov 02, 2001 6:13 am Post subject: MasterJoined: 18 Oct 2001Posts: 245Location: Bloomington , IL 2085 reason code for "unable to open queue for output".Verify your queue name is correct.mqseries objects are case sensitive so check uppercase and lower case.this queue should be local queue to this queue manager. Back to top shubhrajit_c Posted: Sun Nov 04, 2001 10:43 pm Post subject: NoviceJoined: 01 Nov 2001Posts: 14Location: India I have checked and found out that it is not a problem due to case sensitive nature of the qmgr and queue. And I have defined the queue as qlocal, so it is not that problem too. I have picked up the error log.It looks something like this.... 11/05/01 11:35:56 AMQ9208: Error on receive from host 'localhost (127.0.0.1)'. EXPLANATION: An error occurred receiving data from 'localhost (127.0.0.1)' over TCP/IP. This may be due to a communications failure. ACTION: Record the TCP/IP return code 10054 (X'2746') and tell the systems administrator. _________________Shubhrajit Chatterjee http://shubhra.4mg.com http://hum-sab.8m.net Back to top shubhrajit_c Posted: Sun Nov 04, 2001 11:43 pm Post subject: NoviceJoined: 01 Nov 2001Posts: 14Location: India Well I think I have solved the problem. I have
here 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 http://stackoverflow.com/questions/17076247/ibm-mq-issue-with-cluster-queue the company Business Learn more about hiring developers or posting ads with us Stack http://www.codeproject.com/Articles/14009/Interfacing-with-IBM-WebSphere-MQ-formally-IBM-MQS 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 IBM MQ issue with cluster queue up vote 1 down vote favorite 1 Not able to put a code 2 message to a cluster queue on a remote queue manager. I am using MQGetMessageOptions and MQPutMessageOptions. I am using 7.5 MQ server and client (7.5.0.1) It throws reason code - 2085- message -CompCode: 2, Reason: 2085 The queue and queue manager are connected using MQ clusters. mqQueue = mqQueueMgr.AccessQueue("queue name", MQC.MQOO_FAIL_IF_QUIESCING | MQC.MQOO_INPUT_SHARED | MQC.MQOO_BROWSE); I tried to put a test message using amqsput.exe it works fine there. Any thoughts? c# ibm reason code 2085 websphere-mq share|improve this question edited Jun 12 '13 at 22:25 asked Jun 12 '13 at 22:10 Sharpeye500 2,9921556107 add a comment| 1 Answer 1 active oldest votes up vote 4 down vote This call: mqQueue = mqQueueMgr.AccessQueue("queue name", MQC.MQOO_FAIL_IF_QUIESCING | MQC.MQOO_INPUT_SHARED | MQC.MQOO_BROWSE); opens the cluster queue for getting messages. To get messages, application must be connected to the local queue manager. A local queue manager means the queue manager to which your application is connected. The queue manager can be on the same machine as your application or on a different machine. Messages can't be got from a remote queue manager. Messages can be put a cluster queue when application is connected to a different queue manager in the cluster than the queue manager that hosts the cluster queue. AMQSPUT works because it is opening the queue for Put and not for Get. So to solve your problem the option must be changed as: mqQueue = mqQueueMgr.AccessQueue("queue name", MQC.MQOO_FAIL_IF_QUIESCING | MQC.MQOO_OUTPUT); share|improve this answer answered Jun 13 '13 at 4:40 Shashi 9,8221430 Thanks , can i add MQC.MQOO_OUTPUT at the end like shown below instead of removing other entries(so that this will work for both local and cluster queues)? mqQueue = mqQueueMgr.AccessQueue("queue name", MQC.MQOO_FAIL_IF_QUIESCING | MQC.MQOO_INPUT_SHARED | MQC.MQOO_BROWSE | MQC.MQOO_OUTPUT); –Sharpeye
Articles Technical Blogs Posting/Update Guidelines Article Help Forum Article Competition Submit an article or tip Post your Blog quick answersQ&A Ask a Question about this article Ask a Question View Unanswered Questions View All Questions... Linux questions C# questions ASP.NET questions SQL questions fabric questions discussionsforums All Message Boards... Application Lifecycle> Running a Business Sales / Marketing Collaboration / Beta Testing Work Issues Design and Architecture ASP.NET JavaScript C / C++ / MFC> ATL / WTL / STL Managed C++/CLI C# Free Tools Objective-C and Swift Database Hardware & Devices> System Admin Hosting and Servers Java .NET Framework Android iOS Mobile SharePoint Silverlight / WPF Visual Basic Web Development Site Bugs / Suggestions Spam and Abuse Watch features Competitions News The Insider Newsletter The Daily Build Newsletter Newsletter archive Surveys Product Showcase Research Library CodeProject Stuff communitylounge Who's Who Most Valuable Professionals The Lounge  The Insider News The Weird & The Wonderful The Soapbox Press Releases Non-English Language > General Indian Topics General Chinese Topics help What is 'CodeProject'? General FAQ Ask a Question Bugs and Suggestions Article Help Forum Site Map Advertise with us About our Advertising Employment Opportunities About Us Articles » Platforms, Frameworks & Libraries » Cross Platform » General ArticleBrowse CodeStatsRevisionsAlternatives Comments (26) Add your ownalternative version Tagged as C#.NETWindowsVisual-StudioDev Stats 454.7K views62 bookmarked Posted 4 May 2006 Interfacing with IBM WebSphere MQ (formally IBM MQSeries) from .NET Khalid Al-Hadlaq, 4 May 2006 5.00 (15 votes) 1 2 3 4 5 5.00/5 - 15 votes2 removedμ 4.69, σa 1.27 [?] Rate this: Please Sign up or sign in to vote. This article is targeting architects and developers who are looking for a way to integrate .NET applications / Servers with IB