Author |
Message
|
garonne |
Posted: Thu Jun 15, 2006 4:17 am Post subject: durable subscription doesn't work on Linux |
|
|
Acolyte
Joined: 26 Jan 2006 Posts: 59
|
Hi,
My MDB with durable subscription doesn't work with Topic on Linux QueueManager (on the same machine with the Application Server and on a distant machine)
When I use QueueManager on Windows, the MDB works (No configuration of the MDB has been changed).
Does anyone have an answer.
Thanks. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Jun 15, 2006 7:33 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Define "doesn't work".
Did you create a pubsub broker on the Linux QMgr... _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
garonne |
Posted: Thu Jun 15, 2006 10:58 pm Post subject: |
|
|
Acolyte
Joined: 26 Jan 2006 Posts: 59
|
jefflowrey wrote: |
Define "doesn't work".
Did you create a pubsub broker on the Linux QMgr... |
I have done the follow commands:
strmqm venus.queue.manager
runmqsc venus.queue.manager < /opt/mqm/java/bin/MQJMS_PSQ.mqsc
strmqbrk -m venus.queue.manager
and start the listener.
My MDB works well with the Non-Durable Subscription !!! : it receive all message from the client application.
With Durable Subscription, no message arrive!!! The client application is always the same. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jun 16, 2006 2:50 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You do know that "venus.queue.manager" is a sample name, and should be replaced by the name of your queue manager, right?
I'm not trying to be smart mouthed here - we have people post questions that are at least that confused.
After you have started your publisher and your subscriber, what does the output of the amqspsd program show? It will be in the samples (/usr/mqm/samp/bin/, I think).
You'll have to do some one-time setup to get teh amqspsd program to run the first time - but it will tell you what you need to do. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
garonne |
Posted: Fri Jun 16, 2006 5:50 am Post subject: |
|
|
Acolyte
Joined: 26 Jan 2006 Posts: 59
|
jefflowrey wrote: |
You do know that "venus.queue.manager" is a sample name, and should be replaced by the name of your queue manager, right?
|
I know it , but I still use it to name my QueueManager
jefflowrey wrote: |
After you have started your publisher and your subscriber, what does the output of the amqspsd program show? It will be in the samples (/usr/mqm/samp/bin/, I think).
You'll have to do some one-time setup to get teh amqspsd program to run the first time - but it will tell you what you need to do. |
I think you means this amqspsd program
/opt/mqm/samp/bin/amqspsd
And here is the output:
WebSphere MQ Publish/Subscribe Dumper
Start time: Fri Jun 16 15:45:46 2006
MQCONN failed with reason=2059 80BX
preceding line 387
Please tell me what I can I do next.
Thanks |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jun 16, 2006 1:39 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You have to pass options to amqspsd, like the queue manager name.
Try the qmgr name as the first option, and see what it does. If it still gives the same error, try "-m venus.queue.manager". _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
garonne |
Posted: Sun Jun 18, 2006 11:37 pm Post subject: |
|
|
Acolyte
Joined: 26 Jan 2006 Posts: 59
|
jefflowrey wrote: |
You have to pass options to amqspsd, like the queue manager name.
Try the qmgr name as the first option, and see what it does. If it still gives the same error, try "-m venus.queue.manager". |
Thanks a lot, it works.
After run amqspsd -m venus.queue.manager, it tell me that :
AMQSPSD.PERMDYN.MODEL.QUEUE does not exist!
I run the command that it recommend to create this model queue and after that it works.
 |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Jun 19, 2006 3:05 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Great. Now does it show you the information you need to solve your original problem? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
garonne |
Posted: Mon Jun 19, 2006 4:42 am Post subject: |
|
|
Acolyte
Joined: 26 Jan 2006 Posts: 59
|
jefflowrey wrote: |
Great. Now does it show you the information you need to solve your original problem? |
Yeap, right after creating the model queue, my MDB can work with durable subscription!!!
Thanks.  |
|
Back to top |
|
 |
|