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 » WebSphere Message Broker (ACE) Support » Subscription problem

Post new topic  Reply to topic
 Subscription problem « View previous topic :: View next topic » 
Author Message
rmah
PostPosted: Thu Sep 24, 2009 2:55 pm    Post subject: Subscription problem Reply with quote

Centurion

Joined: 04 May 2007
Posts: 142

Hi all,

We're facing an issue in production.

I want to make 1 queue subscribe to 2 topics, like this:

| 2008-11-17 15:12:0600124 | ANY:q1 | *Unlimited Expiry * | 2008-11-18 00:11:06 | 772 | topic1/# | | | applIdentityData mqm |

| 2008-11-17 15:12:0600148 | ANY:q1 | *Unlimited Expiry * | 2008-11-18 00:11:14 | 772 | topic2/# | | | applIdentityData mqm |



"ANY" is a queue manager alias for my 2 brokers, broker1 and broker2. The above example is from a non-prod enviornment.

However, when I try to recreate the above in production, I cannot. When I try to create the second subscriptions with q1 and topic 2, nothing happens. Instead, I have to explicitly state the queue manager name instead of using "ANY". Therefore, it looks like this:

| 2008-11-17 15:12:0600124 | ANY:q1 | *Unlimited Expiry * | 2008-11-18 00:11:06 | 772 | topic1/# | | | applIdentityData user1 |

| 2008-11-17 15:12:0600148 | broker2:q1 | *Unlimited Expiry * | 2008-11-18 00:11:14 | 772 | topic2/# | | | applIdentityData mqm |

There aren't any error logs anywhere...
Could it be that the first q1/topic1 was created by a different user?

Anyone know why this happens? Thanks!
_________________
MQ 6.0.2.3
Broker 6.0.0.7
for Linux
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Sep 24, 2009 3:21 pm    Post subject: Reply with quote

Grand High Poobah

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

Is ANY a cluster alias accessible from both brokers?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
rmah
PostPosted: Thu Sep 24, 2009 3:24 pm    Post subject: Reply with quote

Centurion

Joined: 04 May 2007
Posts: 142

fjb_saper wrote:
Is ANY a cluster alias accessible from both brokers?


The remote queue definition is not clustered in non-prod or prod, but the subscriptions work in non-prod.
_________________
MQ 6.0.2.3
Broker 6.0.0.7
for Linux
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Sep 24, 2009 3:41 pm    Post subject: Reply with quote

Grand High Poobah

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

rmah wrote:
fjb_saper wrote:
Is ANY a cluster alias accessible from both brokers?


The remote queue definition is not clustered in non-prod or prod, but the subscriptions work in non-prod.

OK so is ANY a qmgr alias defined in both broker qmgrs in dev and only in 1 qmgr in prod?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
rmah
PostPosted: Thu Sep 24, 2009 3:43 pm    Post subject: Reply with quote

Centurion

Joined: 04 May 2007
Posts: 142

fjb_saper wrote:
rmah wrote:
fjb_saper wrote:
Is ANY a cluster alias accessible from both brokers?


The remote queue definition is not clustered in non-prod or prod, but the subscriptions work in non-prod.

OK so is ANY a qmgr alias defined in both broker qmgrs in dev and only in 1 qmgr in prod?


Queue manager alias "ANY" is defined on all brokers in the cluster in prod and non-prod. So broker1 has remote queue definition "ANY" and broker2 has remote queue definition "ANY", not clustered.
_________________
MQ 6.0.2.3
Broker 6.0.0.7
for Linux
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Sep 24, 2009 7:46 pm    Post subject: Reply with quote

Grand High Poobah

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

Apparently qmgr ALIAS was not understood on qmgr broker2 or you did not send the right subscription message...
Try deleting the subscription and registering again...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
rmah
PostPosted: Fri Sep 25, 2009 12:55 pm    Post subject: Reply with quote

Centurion

Joined: 04 May 2007
Posts: 142

fjb_saper wrote:
Apparently qmgr ALIAS was not understood on qmgr broker2 or you did not send the right subscription message...
Try deleting the subscription and registering again...


I figured it out!
The pre-existing subscription was created with another username.
I got rid of it, re-created it, and then I was able to create subsequent subscriptions 'ANY' as a QM alias, and where a queue can subscribe to more than one topic.
_________________
MQ 6.0.2.3
Broker 6.0.0.7
for Linux
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 » WebSphere Message Broker (ACE) Support » Subscription problem
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.