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 » QueueManager object failing when running code

Post new topic  Reply to topic Goto page Previous  1, 2
 QueueManager object failing when running code « View previous topic :: View next topic » 
Author Message
jgwheeler
PostPosted: Thu Oct 26, 2006 10:20 am    Post subject: Check your JNDI Topic definition Reply with quote

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
View user's profile Send private message
moe
PostPosted: Tue Feb 26, 2008 4:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Tue Feb 26, 2008 9:08 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ Java / JMS » QueueManager object failing when running code
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.