Author |
Message
|
jblair |
Posted: Wed Jul 16, 2003 8:04 am Post subject: What is my default queue manager |
|
|
Newbie
Joined: 16 Jul 2003 Posts: 2
|
I'm using mqseries for the first time today and am having some trouble.....
I keep getting the following error:
"failed to access default queue manager"
I have definately got a queue manager running.
Is there an easy way to find out what the default queue manager is?
Thanks. |
|
Back to top |
|
 |
psanders |
Posted: Wed Jul 16, 2003 8:12 am Post subject: |
|
|
Apprentice
Joined: 02 Apr 2002 Posts: 27
|
It's an option at the time the queue manager is created. You can also set it in the mq services GUI. |
|
Back to top |
|
 |
mqonnet |
Posted: Wed Jul 16, 2003 8:21 am Post subject: |
|
|
 Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
You can find out the name of the defaultqueuemanager from mqs.ini file on many platforms and within the registry on windows. Look at the value of DefaultQueueManager under HKEY_LOCAL_MACHINE\SOFTWARE\IBM\MQSeries\CurrentVersion\Configuration\DefaultQueueManager
Usually this is the location, it may be different.
Note: If the value of this key shows blank, then you DO NOT have a default queue manager defined.
Cheers
Kumar
Last edited by mqonnet on Wed Jul 16, 2003 8:22 am; edited 1 time in total |
|
Back to top |
|
 |
jblair |
Posted: Wed Jul 16, 2003 8:21 am Post subject: |
|
|
Newbie
Joined: 16 Jul 2003 Posts: 2
|
Probably should have mentioned it's all running from unix.
It's not setting it I care about really, I just want to know what it *thinks* the
default is, so I can make sure that it is running.......
I'm not sure the default has been set properly in the first place. |
|
Back to top |
|
 |
Prahasith |
Posted: Wed Jul 16, 2003 8:48 am Post subject: |
|
|
 Disciple
Joined: 16 May 2003 Posts: 184 Location: Kansas City
|
Go through System administration guide chapter 9, page no 95
prahasith |
|
Back to top |
|
 |
mrlinux |
Posted: Wed Jul 16, 2003 8:59 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Well depending when this error happens it maybe a concern
if you use runmqsc and dont specify a qmgr name it will use the default qmgr, but if you have not configured a default then it wont ever work
you would always have to specify the queue manager
runmqsc QMGR_NAME
As rule if I have more than one Queue Manager on a given box, I dont
make a default, so that I dont forget to type in qmgr name, which if you are planning on creating/deleting objects could be bad. _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
|