Author |
Message
|
kun.leeing |
Posted: Tue Nov 11, 2008 9:08 am Post subject: 'DEF TOPIC' command occurs AMQ8405 error |
|
|
 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 |
|
 |
fjb_saper |
Posted: Tue Nov 11, 2008 9:12 am Post subject: Re: 'DEF TOPIC' command occurs AMQ8405 error |
|
|
 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 |
|
 |
kun.leeing |
Posted: Tue Nov 11, 2008 5:08 pm Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Tue Nov 11, 2008 8:55 pm Post subject: |
|
|
 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 |
|
 |
kun.leeing |
Posted: Wed Nov 12, 2008 12:30 am Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Wed Nov 12, 2008 2:01 pm Post subject: |
|
|
 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 |
|
 |
|