|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Error (reasonCode=2059) on connection to MQ |
« View previous topic :: View next topic » |
Author |
Message
|
vbajwa |
Posted: Tue Feb 20, 2007 9:00 am Post subject: Error (reasonCode=2059) on connection to MQ |
|
|
Newbie
Joined: 31 Jan 2007 Posts: 8
|
I am using the C++ interface, MQ version 5.3.0.5. Specifying the channel reference while connecting. Not using the MQSERVER env variable (because I need to connect to multiple QMs). Any suggestions appreciated! The log is below (some names masked): Basically the code is calling setChannelName, setTransportType (MQXPT_TCP) and setConnectionName(), in addition to setting the name of the QM. Tne it just calls connect.
thd1: 02/20 11:12:25 INF AppSender.cpp:31 AppSender:initializing MQManager
thd1: 02/20 11:12:25 INF MQUtils.cpp:61 Connecting to MQManager: ZEUS_QM
thd1: 02/20 11:12:25 INF MQUtils.cpp:62 Connection name=infra1.xyz.nsroot.net(1515), channel=ZEUS_CHL, transport=MQXPT_TCP
thd1: 02/20 11:12:25 FTL MQUtils.cpp:72 Error connecting to MQ: ZEUS_QM reason code: 2059 |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Feb 20, 2007 10:07 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Make sure you can use amqscnxc to establish the same connection from the same machine.
Make sure you are setting the right port in the Connection Name. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Feb 21, 2007 12:34 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Failing that, do a search of the forum. 2059 is one of the common problem and is often discussed in here. Bear in mind it's not necessarially caused by your code. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|