Author |
Message
|
kiran_mvr |
Posted: Tue Aug 30, 2005 11:44 am Post subject: QueueManager error 2058 |
|
|
Apprentice
Joined: 12 Dec 2004 Posts: 35
|
Hi,
I am trying to run a sample C program to read a message from the queue. I am getting 2058(QueueManager Error) return code.
But both QueueManager and Listener are running.
Thanks in Advance. _________________ Kiran_manny |
|
Back to top |
|
 |
Anirud |
Posted: Tue Aug 30, 2005 11:53 am Post subject: Re: QueueManager error 2058 |
|
|
 Master
Joined: 12 Feb 2004 Posts: 285 Location: Vermont
|
kiran_mvr wrote: |
I am trying to run a sample C program to read a message from the queue. I am getting 2058(QueueManager Error) return code. |
You must be connecting with a wrong queue manager name (queue manager name is case sensitive). |
|
Back to top |
|
 |
wschutz |
Posted: Tue Aug 30, 2005 12:02 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
2058 always means that you have specified a wrong qmgr name.
If you're connected with servier bindings, then you specified a qmgr name that doesn't exist on the system.
If you're connected with client bindings, the you probably are specifying a different queue manager than you are connecting to on the server. _________________ -wayne |
|
Back to top |
|
 |
kiran_mvr |
Posted: Tue Aug 30, 2005 12:49 pm Post subject: |
|
|
Apprentice
Joined: 12 Dec 2004 Posts: 35
|
Hi,
I took that C program from MQ samples. How to know it is related to server/client binding. Program name is "amqsget0.c".
thanks, _________________ Kiran_manny |
|
Back to top |
|
 |
bower5932 |
Posted: Tue Aug 30, 2005 12:56 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
It depends on how you link it. mqm.lib would be for server bindings and mqic32.lib would be for client. You could also try running the actual executables. The amqsget.exe is server and amqsgetC.exe is client. |
|
Back to top |
|
 |
|