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 API Support » 2059 error code in sample applications

Post new topic  Reply to topic
 2059 error code in sample applications « View previous topic :: View next topic » 
Author Message
platondaniel
PostPosted: Mon Aug 05, 2002 1:39 am    Post subject: 2059 error code in sample applications Reply with quote

Novice

Joined: 04 Aug 2002
Posts: 12

hello...

I tried to run imqsgetc.exe app from C:\Program Files\MQSeries\tools\cplus\samples\bin\vn and I received an error like ImqQueueManager::connect failed with reason code 2059. The error log says the following:

08/05/2002 13:02:53
AMQ9203: A configuration error for TCP/IP occurred.

EXPLANATION:
Error in configuration for communications to host . Allocation of a TCP/IP
conversation to host was not possible.
ACTION:
The configuration error may be one of the following:

1.If the communications protocol is LU 6.2, it may be that one of the
transmission parameters (Mode, or TP Name) is incorrect. Correct the error
and try again. The mode name should be the same as the mode defined on host
. The TP name on should be defined.

2.If the communications protocol is LU 6.2, it may be that an LU 6.2 session
has not been established. Contact your systems administrator.

3.If the communications protocol is TCP/IP, it may be that the host name
specified is incorrect. Correct the error and try again.

4.If the communications protocol is TCP/IP, it may be that the host name
specified cannot be resolved to a network address. The host name may not be
in the nameserver.

The return code from the TCP/IP (connect) call was 10049 (X'2741').

Record the error values and tell the system administrator.
-------------------------------------------------------------------------------


I am using the server and the client on the same machine and I have configured a Server Connection channel, a Receiver channel and a Client Connection channel. Is there something wrong in my configuration ? Pls help me, i'm a bit newbie...


Thx in advance,
DAN
Back to top
View user's profile Send private message Yahoo Messenger
mrlinux
PostPosted: Mon Aug 05, 2002 4:51 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Did you set the MQSERVER env. variable ???

MQSERVER=SVRCONN_CHANNEL_NAME/TCP/HOSTNAME(PORT)
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
Gordon.Wang
PostPosted: Wed Aug 14, 2002 9:19 am    Post subject: Reply with quote

Newbie

Joined: 16 May 2002
Posts: 4
Location: Toronto, Canada

I had the same problem before. Specifying a correct port for the MQSERVER solved the problem.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » 2059 error code in sample applications
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.