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 » ImqQueueManger Error 2059 on solaris HELP!!

Post new topic  Reply to topic
 ImqQueueManger Error 2059 on solaris HELP!! « View previous topic :: View next topic » 
Author Message
abalan
PostPosted: Mon Sep 23, 2002 9:23 am    Post subject: ImqQueueManger Error 2059 on solaris HELP!! Reply with quote

Newbie

Joined: 23 Sep 2002
Posts: 2

Hi,
I am trying to connect from Solaris (Client) to WinNT (Server)
The Client Connection Fails when I try to open a Connection to the QueueManger..
I am working off the imqsput.cpp sample..

The Code Works fine when I try to connect from NT(client) th NT(server).


main()
{

ImqQueueManager mgr; // Queue manager
ImqChannel * pchannel = 0 ; // Channel definition

pchannel -> setChannelName("CHANNEL1");
pchannel -> setTransportType(MQXPT_TCP);
pchannel -> setConnectionName( "myhost(1414)" );

mgr.setChannelReference( pchannel );

// Connect to queue manager
mgr.setName( argv[2] );
if ( ! mgr.connect( ) )
{
printf( "Connect failure %d\n", (int mgr.reasonCode( ) );
exit( (int)mgr.reasonCode( ) );
}

Any pointers?

Thanks!
Back to top
View user's profile Send private message
bower5932
PostPosted: Wed Sep 25, 2002 10:14 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

Did you link with the client version of the libraries?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » ImqQueueManger Error 2059 on solaris HELP!!
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.