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 » General IBM MQ Support » MQ C++ program client connection MRQC 2058

Post new topic  Reply to topic
 MQ C++ program client connection MRQC 2058 « View previous topic :: View next topic » 
Author Message
David.Partridge
PostPosted: Fri Oct 10, 2008 12:38 am    Post subject: MQ C++ program client connection MRQC 2058 Reply with quote

Master

Joined: 28 Jun 2001
Posts: 249

A third party C++ application was working just fine when connecting to the QMGR using the MQSERVER environment variable.

When we changed the user's profile to specify the connection using MQCHLLIB, MQCHLTAB, and MQSSLKEYR, it gets MQRC 2058.

I realise that the C++ code will use MQCONNX under some circumstances, but does it always do so, or only if the application uses ImqQueueManager.setChannelReference()?

Put another way, is it possible to make a simple change to the C++ application code to enable the use of MQCHLLIB, MQCHLTAB, and MQSSLKEYR, or does the third party vendor need to change their code to specify all the parameters of the SSL client connection in the IMQChannel object?

Thanks
Dave Partridge
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Oct 10, 2008 1:36 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

If the channel table was built leaving the QM name blank , and the app specifies the QM name on the MQCONN call, even the correct one!, it will give you a 2058.

I think the reverse is true too. Not 100% sure.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
David.Partridge
PostPosted: Sun Oct 12, 2008 11:31 pm    Post subject: Reply with quote

Master

Joined: 28 Jun 2001
Posts: 249

Hi Peter,

The QM name is specified in the channel table file. I'm not certain at this point whether the application specifies the QM name on the ctor (or uses ImqObject.setName() to do the equivalent) or not. I believe that it does.

My guess is that the application is creating an ImqChannel object, partially populating it and setting into the channel reference of the queue manager obect prior to issuing the ImqQueueManager.connect() method. I suspect that if the MQSERVER environment variable is set, then it (the application) uses the information to complete the population of the ImqChannel object prior to issuing the connect request, and this enables it to work when MQSERVER is set, but fail when using the MQCHLLIB/MQCHLLTAB/MQSSLKEYR definition of the connection.
_________________
Cheers,
David C. Partridge
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQ C++ program client connection MRQC 2058
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.