Author |
Message
|
QueenBee |
Posted: Thu Mar 18, 2004 8:59 am Post subject: Error Msg |
|
|
Apprentice
Joined: 28 May 2003 Posts: 43 Location: Grand Rapids, MICHIGAN
|
I have an application on Windows that run MQ 5.1. When I try to run my app.exe, I get this error. What could be wrong? Pls help.
"MQAX200.MQSession::AccessQueueManager CompletionCode = 2, ReasonCode = 2059, ReasonName = MQRC_Q_MGR_NOT_AVAILABLE" |
|
Back to top |
|
 |
kevinf2349 |
Posted: Thu Mar 18, 2004 10:22 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Is the qmgr actually running?
Have you spelled the name correctly (remember case sensitivity!)
Finally....you may want to consider upgrading from 5.1....I believe 5.3 is the only support version now. |
|
Back to top |
|
 |
bower5932 |
Posted: Thu Mar 18, 2004 10:50 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Are you trying to connect as a client? Is the listener running? |
|
Back to top |
|
 |
QueenBee |
Posted: Thu Mar 18, 2004 11:21 am Post subject: |
|
|
Apprentice
Joined: 28 May 2003 Posts: 43 Location: Grand Rapids, MICHIGAN
|
Is the qmgr actually running? - yes it is.
Have you spelled the name correctly (remember case sensitivity!) - yes I have.
Finally....you may want to consider upgrading from 5.1....I believe 5.3 is the only support version now. - yes i know but this is in production and our upgrade project isn't that far yet.
Are you trying to connect as a client? Is the listener running? - no. The program.exe resides at the server box. |
|
Back to top |
|
 |
Missam |
Posted: Fri Mar 19, 2004 12:32 pm Post subject: |
|
|
Chevalier
Joined: 16 Oct 2003 Posts: 424
|
Is this the first time you are running the application on that box.?
See WebSphere MQ Clients Chapter 13)Running applications on Websphere MQ Clients |
|
Back to top |
|
 |
Stuart_Johnston |
Posted: Tue Mar 23, 2004 7:43 am Post subject: |
|
|
Newbie
Joined: 13 Jan 2003 Posts: 6
|
Greetings,
You could be running the client connection code or you have not defined your MQSERVER variable or defined a channel tab file.
on NT
MQSERVER=<CHANNEL-NAME>/TCP/<HOST-ADDRESS / IP>(<PORT>)
MQSERVER=SYSTEM.DEF.SVRCONN/TCP/10.1.10.11(1414)
Try the IBM samples
amqsputc (client)
amqsput (Server)
amqsputc QMGR1 SYSTEM.DEAD.LETTER.QUEUE
Also make sure that the SVRCONN channel exits
Finally the listener has to be running and on the correct port number.
Best Rgds
Stuart |
|
Back to top |
|
 |
Heinz57 |
Posted: Tue Mar 23, 2004 2:20 pm Post subject: |
|
|
 Apprentice
Joined: 21 Jan 2004 Posts: 26 Location: Syracuse, NY
|
Do you have your qmgr hard coded in your program ? If so, make sure it is the correct qmgr that you're trying to connect to. If you don't have it coded, make sure the qmgr that your running is set to be the default qmgr for that box. |
|
Back to top |
|
 |
|