ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » MQJMS2008: failed to open MQ queue

Post new topic  Reply to topic
 MQJMS2008: failed to open MQ queue « View previous topic :: View next topic » 
Author Message
mdc
PostPosted: Tue Apr 22, 2008 5:15 pm    Post subject: MQJMS2008: failed to open MQ queue Reply with quote

Novice

Joined: 08 Apr 2008
Posts: 12

Attempting to retrieve a MessageConsumer like follows:

session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);
System.out.println("Session="+session);

consumer = session.createConsumer(destination);



Session=com.ibm.mq.jms.MQQueueSession@336bb4bc
MQJMS2008: failed to open MQ queue
com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2085

I have understood this to mean something is wrong with the Queue configured on the Queue Manager. Does someone have an example of what a configuration should look like in JMSAdmin and on the MQ Server side.
Back to top
View user's profile Send private message
bower5932
PostPosted: Tue Apr 22, 2008 5:54 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I guess the Links entry is a double-post that will probably get deleted. Here is my append from there:

A 2085 is an undefined object. I'd guess that you either didn't create the actual WMQ queue that you wanted to use or you didn't run the MQJMS_PSQ.mqsc file against the queue manager.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MQJMS2008: failed to open MQ queue
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.