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 » javax.jms.JMSException: MQJMS2008: failed to open MQ queue

Post new topic  Reply to topic
 javax.jms.JMSException: MQJMS2008: failed to open MQ queue « View previous topic :: View next topic » 
Author Message
ravishanker
PostPosted: Tue May 28, 2002 10:37 pm    Post subject: javax.jms.JMSException: MQJMS2008: failed to open MQ queue Reply with quote

Newbie

Joined: 28 May 2002
Posts: 5
Location: Hyderabad, India

I am trying to Publish a message on a Topic and get the above error. The Topic properties that i have mentioned using JMSAdmin are as follows
InitCtx> display t(MyT)

BROKERVER(V1)
CCSID(1208)
PERSISTENCE(APP)
TARGCLIENT(JMS)
BROKERDURSUBQ(SYSTEM.JMS.D.SUBSCRIBER.QUEUE)
EXPIRY(APP)
BROKERCCDURSUBQ(SYSTEM.JMS.D.CC.SUBSCRIBER.QUEUE)
ENCODING(NATIVE)
VERSION(1)
PRIORITY(APP)
TOPIC(MQJS/MyT/Information)

Is there anything wrong in the above????

Kindly help me...
_________________
Ravi Shanker
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
StefanSievert
PostPosted: Tue May 28, 2002 11:19 pm    Post subject: Reply with quote

Partisan

Joined: 28 Oct 2001
Posts: 333
Location: San Francisco

Can you get the linkedException from the JMS exception which contains the MQSeries reason code?
There is probably some queue definition missing or you get a security error accessing the queue; the MQ reason code will tell...
Stefan
_________________
Stefan Sievert
IBM Certified * WebSphere MQ
Back to top
View user's profile Send private message
ravishanker
PostPosted: Wed May 29, 2002 12:28 am    Post subject: Reply with quote

Newbie

Joined: 28 May 2002
Posts: 5
Location: Hyderabad, India

Hi Stefan;

Thanks for the response

The linked exception is
linked exception : com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2085

How do I solve it

Thanks
_________________
Ravi Shanker
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
mrlinux
PostPosted: Wed May 29, 2002 6:12 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

The 2085 is a queue object not found error, typically a mistyped queue name or the queue has not been defined.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
bower5932
PostPosted: Wed May 29, 2002 9:30 am    Post subject: Reply with quote

Jedi Knight

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

Make sure that you have defined the JMS System Queues. They are in MQJMS_PSQ.mqsc. There is a small section in the Using Java manual Chapter 4 under Additional setup for Publish/Subscribe mode.
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 » javax.jms.JMSException: 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.