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 » Reading a qManager name possible?

Post new topic  Reply to topic
 Reading a qManager name possible? « View previous topic :: View next topic » 
Author Message
treywalker
PostPosted: Wed Jun 26, 2002 8:35 am    Post subject: Reading a qManager name possible? Reply with quote

Newbie

Joined: 26 Jun 2002
Posts: 2
Location: Charlotte, NC

I am deploying a package on multiple servers. Each server has it's own MQSeries installed with it's own qManager & channel names. I want to be able to "read" the qManager name from each server rather than change the properties file on each server. Can I do this? I thought that maybe I could check the port that MQ is running on and sort of say "hey, who are you", but I have been unable to find evidence of this. Please, any suggestions would help. Thank you!
Back to top
View user's profile Send private message
bower5932
PostPosted: Wed Jun 26, 2002 1:58 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

Can you run the dspmq command and parse the output to get the qmgr names?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
treywalker
PostPosted: Wed Jun 26, 2002 2:25 pm    Post subject: Clarification Reply with quote

Newbie

Joined: 26 Jun 2002
Posts: 2
Location: Charlotte, NC

I'm a little confused. Could you give a little more detail? Thanks!
Back to top
View user's profile Send private message
Coz
PostPosted: Wed Jun 26, 2002 10:27 pm    Post subject: Reply with quote

Apprentice

Joined: 20 Feb 2002
Posts: 44
Location: Basel CH

If the servers only have one Queue manager one crude way would be to look in the <mq_install_dir> for the directory which is not @system. This would be effective for most of the OSes but would expect common install dirs on all servers with the same OS.
e.g. Program Files\MQSeries\Qmgrs - NT, /var/mqm/qmgrs - Linux etc
Back to top
View user's profile Send private message
nimconsult
PostPosted: Thu Jun 27, 2002 1:07 am    Post subject: Reply with quote

Master

Joined: 22 May 2002
Posts: 268
Location: NIMCONSULT - Belgium

Cannot you work with the default queue manager of the server?

If this is the case then you do not need to know the queue manager name.

If your objective is to fill in a property file, then you just set the queue manager name to blank and the application will connect to the default queue manager of the server where it resides.
_________________
Nicolas Maréchal
Senior Architect - Partner

NIMCONSULT Software Architecture Services (Belgium)
http://www.nimconsult.be
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 » Reading a qManager name possible?
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.