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 » 'DEF TOPIC' command occurs AMQ8405 error

Post new topic  Reply to topic
 'DEF TOPIC' command occurs AMQ8405 error « View previous topic :: View next topic » 
Author Message
kun.leeing
PostPosted: Tue Nov 11, 2008 9:08 am    Post subject: 'DEF TOPIC' command occurs AMQ8405 error Reply with quote

Disciple

Joined: 27 Sep 2008
Posts: 171

'DEF TOPIC('myTopic') TOPSTR('myTopic') ' in MQSC got an error 'AMQ8405'

My MQ version is V6.0. I try to download MA0C,but could not find it.
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Tue Nov 11, 2008 9:12 am    Post subject: Re: 'DEF TOPIC' command occurs AMQ8405 error Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

kun.leeing wrote:
'DEF TOPIC('myTopic') TOPSTR('myTopic') ' in MQSC got an error 'AMQ8405'

My MQ version is V6.0. I try to download MA0C,but could not find it.


Are you sure you are not trying to run MQV7 commands on an MQV6 qmgr??
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kun.leeing
PostPosted: Tue Nov 11, 2008 5:08 pm    Post subject: Reply with quote

Disciple

Joined: 27 Sep 2008
Posts: 171

So how can i define a TOPIC on an MQV6 qmgr?

It seems the command 'def topic' can not work.
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Tue Nov 11, 2008 8:55 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Try def t('mytopic') topic('mytopic')
display t('mytopic') [all]

and lookup the syntax here
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kun.leeing
PostPosted: Wed Nov 12, 2008 12:30 am    Post subject: Reply with quote

Disciple

Joined: 27 Sep 2008
Posts: 171

I can not run the sample of Pub/Sub in the folder '\WebSphere MQ\tools\jms\samples' using client mode on my MQ 6.0.

The name of sample is 'JmsConsumer.java'.

When using it as a consumer of Topic, I change the destination to topic string and then I got a error 'javax.jms.JMSException: MQJMS1111: JMS1.1'.
I've started the QMgr's broker on MQ server and created a stream queue.

How can I use this sample program and what should I set?
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Wed Nov 12, 2008 2:01 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

you should know now that we need the provider specific linked exception and that the JMSException is of little use.

Also you did not describe the modification for your topic... (hint: I'm no mentalist)

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 Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » 'DEF TOPIC' command occurs AMQ8405 error
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.