Author |
Message
|
ravishanker |
Posted: Tue May 28, 2002 10:37 pm Post subject: javax.jms.JMSException: MQJMS2008: failed to open MQ queue |
|
|
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 |
|
 |
StefanSievert |
Posted: Tue May 28, 2002 11:19 pm Post subject: |
|
|
 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 |
|
 |
ravishanker |
Posted: Wed May 29, 2002 12:28 am Post subject: |
|
|
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 |
|
 |
mrlinux |
Posted: Wed May 29, 2002 6:12 am Post subject: |
|
|
 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 |
|
 |
bower5932 |
Posted: Wed May 29, 2002 9:30 am Post subject: |
|
|
 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 |
|
 |
|