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 » Unable to connect to an Alias queue using JMS. RC2082

Post new topic  Reply to topic
 Unable to connect to an Alias queue using JMS. RC2082 « View previous topic :: View next topic » 
Author Message
girish_tharwani
PostPosted: Wed Apr 14, 2004 9:56 am    Post subject: Unable to connect to an Alias queue using JMS. RC2082 Reply with quote

Voyager

Joined: 01 Aug 2001
Posts: 88
Location: Pune, India

Software versions : MQ 5.3, WAS 5

Three queue manager QM1, QM2 and QM3 are in a cluster. QM1 and QM2 have one local queue each with same name (say LQ). Both LQs are shared in the cluster so they are visible on QM3. App is on the same box as QM3. App connects to QM3 using JMS and tries to put messages on clus q LQ. Messages go to QM1 and QM2 in round robin. so far so good. Now I create an alias queue (ALQ) on QM3 (alias to clus q LQ) and app tries to connect to ALQ. Call fails and RC is 2082 (unable to resolve base Q name). Any idea, why? is this a known problem with JMS or MQ5.3? I know a few other projects in my company which faced the same problem but could not resolve it.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Apr 14, 2004 10:02 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Create local aliases on QM1 and QM2 to your queue, and then share the alias in the cluster, not the actual local queue.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
girish_tharwani
PostPosted: Wed Apr 14, 2004 10:04 am    Post subject: Reply with quote

Voyager

Joined: 01 Aug 2001
Posts: 88
Location: Pune, India

This seems to be a good work around but why am I getting error the way I am trying it?
Is there anything fundamantely wrong with my approach?
Back to top
View user's profile Send private message
mqonnet
PostPosted: Wed Apr 14, 2004 10:46 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

Few pointers other than this from the manual.

"MQRC_UNKNOWN_ALIAS_BASE_Q
An MQOPEN or MQPUT1 call was issued specifying an alias queue as the target, but the BaseQName in the alias queue attributes is not recognized as a queue name.

This reason code can also occur when BaseQName is the name of a cluster queue that cannot be resolved successfully.

Corrective action: Correct the queue definitions.
"

-Did you spell the name of the cluster queue that is published to qm3, correctly.
-Are your clussdr channels up and running and can you see all the qmgrs in cluster if you issue dis clusqmgr(*)
-What type of app are you using to put messages to this queue. Is that app doing something funny in the od, like specifying a hardcoded qm name or queue name

Cheers
Kumar
Back to top
View user's profile Send private message Send e-mail Visit poster's website
girish_tharwani
PostPosted: Wed Apr 14, 2004 11:01 am    Post subject: Reply with quote

Voyager

Joined: 01 Aug 2001
Posts: 88
Location: Pune, India

To Answer your question:
1. Did you spell the name ........
Yes, I checked the Alias queue defination
2. Are your clussdr channels up ..................
Yes, As I said ealier, if I use the cluster queue name directly instead of Alias queue name, messages flow successfully
3. What type of app are ..............
Well, App is not doing anything to OD and if it was, the opening of clus queue directly should have been impacted also. But as I said its working fine.
Back to top
View user's profile Send private message
mqonnet
PostPosted: Wed Apr 14, 2004 11:16 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

Could you post the following defs here.

-QA def
-Clusterq Def
-Output of dis qcluster(*) on qm3.
-Output of dis clusqmgr(*)
-if you have and can, post the open/put code.
-What api call is throwing, is it mqopen.
-Did you try amqsput to put message to this alias queue. whats the result.

Well, assumptions should never be made and hence i asked the 3rd question. I know if you use the same app on both queues, then the question of OD does not arise. :)


Cheers
Kumar
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Unable to connect to an Alias queue using JMS. RC2082
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.