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 » General Discussion » queue manager alias with MQ client connection

Post new topic  Reply to topic
 queue manager alias with MQ client connection « View previous topic :: View next topic » 
Author Message
czaszek
PostPosted: Mon Aug 27, 2007 2:01 am    Post subject: queue manager alias with MQ client connection Reply with quote

Apprentice

Joined: 30 May 2006
Posts: 36
Location: Poland

Hi All

I am trying to establish MQ client connection to a queue manager, which name is changed/altered by queue manager alias.

The real queue manager alias is: QMEXTB, the name to which I am trying to connect is QMFRA3T1.
The queue manager alias looks like:
AMQ8409: Display Queue details.
QUEUE(QMFRA3T1) TYPE(QREMOTE)
ALTDATE(2007-07-25) ALTTIME(09.39.16)
CLUSNL( ) CLUSTER( )
CLWLPRTY(0) CLWLRANK(0)
DEFBIND(OPEN) DEFPRTY(0)
DEFPSIST(NO) DESCR( )
PUT(ENABLED) RQMNAME(QMEXTB)
RNAME( ) SCOPE(QMGR)
XMITQ( )


-bash-3.00$ /opt/mqm/samp/bin/amqscnxc -x XX.XX.XX.MyIP QMEXTB
Sample AMQSCNXC start
Connecting to queue manager QMEXTB
using the server connection channel SYSTEM.DEF.SVRCONN
on connection name 57.20.85.13.
Connection established to queue manager QMEXTB
Sample AMQSCNXC end

-bash-3.00$ /opt/mqm/samp/bin/amqscnxc -x XX.XX.XX.MyIP QMFRA3T1
Sample AMQSCNXC start
Connecting to queue manager QMFRA3T1
using the server connection channel SYSTEM.DEF.SVRCONN
on connection name 57.20.85.13.
MQCONNX ended with reason code 2058


Is there a bug in my definition. Or maybe the client connection can not use Queue Manager Aliases?

Thanks in advance for any help.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 27, 2007 2:58 am    Post subject: Re: queue manager alias with MQ client connection Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

czaszek wrote:
Or maybe the client connection can not use Queue Manager Aliases?


They can't. Aliases are used for routing.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Aug 27, 2007 7:44 am    Post subject: Reply with quote

Guest




It sounds from your post that your application program specified the wrong qmgr name ("badname") in the MQCONN call. If so, a qmgr alias won't work for you because the application must first successfully connect to a qmgr to find the qmgr alias.

However, the client channel table is a possible solution. In the CLNTCONN definition, you can specify a QMNAME=badname AND CONNAME=goodname.

Refer to the MQ Clients manual.
Back to top
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » queue manager alias with MQ client connection
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.