|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
QueueManager object failing when running code |
« View previous topic :: View next topic » |
Author |
Message
|
jgwheeler |
Posted: Thu Oct 26, 2006 10:20 am Post subject: Check your JNDI Topic definition |
|
|
Newbie
Joined: 21 Sep 2006 Posts: 5
|
Hi,
I had a similar issue and finally realized that even though the JNDI topic was defined, the definition did not include the TOPIC parameter. When using JMSAdmin to define the topic, you must specify this parameter for static topics.
Based on your topic definition, it appears that you have the same issue that I did.
Thanks. |
|
Back to top |
|
 |
moe |
Posted: Tue Feb 26, 2008 4:48 pm Post subject: |
|
|
Apprentice
Joined: 05 Sep 2006 Posts: 33 Location: Sydney, Australia
|
Just wanted to say that jgwheeler's response to this is correct, after defining the topic in jmsadmin using define t(topicname) you must do:
alter t(topicname) topic(topicname) |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Feb 26, 2008 9:08 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
The topic uri definition is quite complex and contains a lot more information that is needed for subscription. The information needed for publication is way more simple.
You should look at all the parameters for the topic definition in JNDI using JMSAdmin. Play around with them, and yes it is ok to get some errors at the beginning (nobody was born an expert).
Before using the topic and after retrieving it from JNDI you might want to print (or display) it so that you know what the URI form looks like...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|