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 » durable subscription doesn't work on Linux

Post new topic  Reply to topic
 durable subscription doesn't work on Linux « View previous topic :: View next topic » 
Author Message
garonne
PostPosted: Thu Jun 15, 2006 4:17 am    Post subject: durable subscription doesn't work on Linux Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Jun 15, 2006 7:33 am    Post subject: Reply with quote

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
View user's profile Send private message
garonne
PostPosted: Thu Jun 15, 2006 10:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Fri Jun 16, 2006 2:50 am    Post subject: Reply with quote

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
View user's profile Send private message
garonne
PostPosted: Fri Jun 16, 2006 5:50 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Fri Jun 16, 2006 1:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
garonne
PostPosted: Sun Jun 18, 2006 11:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Mon Jun 19, 2006 3:05 am    Post subject: Reply with quote

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
View user's profile Send private message
garonne
PostPosted: Mon Jun 19, 2006 4:42 am    Post subject: Reply with quote

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

MQSeries.net Forum Index » IBM MQ Java / JMS » durable subscription doesn't work on Linux
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.