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 » Issue while connecting to Queue Managers via QTP

Post new topic  Reply to topic
 Issue while connecting to Queue Managers via QTP « View previous topic :: View next topic » 
Author Message
5555harsha
PostPosted: Wed Jun 18, 2014 5:35 am    Post subject: Issue while connecting to Queue Managers via QTP Reply with quote

Newbie

Joined: 05 Jun 2014
Posts: 2

Hi,

We are exploring the possibility of putting messages to MQ queues via COM/API instead of using tools like SOATEST.

We have loaded the MQ DLL in the path "C:\Program Files (x86)\ibm\WebSphere MQ\bin\MQAX200.dll"

When we try to execute the below piece of code.
Set MQSess = CreateObject("MQAX200.MQSession")
Set QMgr = CreateObject("MQAX200.MQQueueManager")
Set qm= MQSess.AccessQueueManager(QUEUE_NAME)

We are getting the error :
MQAX200.MQSession::AccessQueueManager CompletionCode = 2, ReasonCode = 2393, ReasonName = Not found in retcode translation table (959) (2393)

Can anyone please throw some light on this?

Please let us know if this can be due to SSL Authentication issue? If yes, any idea how we can handle this?

Thanks

NOTE :
*) We have set MQSERVER as an environment variable.
*) We are using the jks keystore (Same keystore is being used in Parasoft SOATEST and it is working fine)
Back to top
View user's profile Send private message
5555harsha
PostPosted: Wed Jun 18, 2014 5:36 am    Post subject: Reply with quote

Newbie

Joined: 05 Jun 2014
Posts: 2

Please note we are using QTP while running the piece of code
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jun 18, 2014 5:40 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

What's QTP?

Why are you using the deprecated and ugly COM API rather than the .NET API?
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jun 18, 2014 5:41 am    Post subject: Re: Issue while connecting to Queue Managers via QTP Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

5555harsha wrote:
We have loaded the MQ DLL in the path "C:\Program Files (x86)\ibm\WebSphere MQ\bin\MQAX200.dll"


Isn't that the old ActiveX dll that's been depreciated for ever? What version of WMQ are you using and what programming language? VB6???

5555harsha wrote:
Please let us know if this can be due to SSL Authentication issue?


Given that if you look up a 2393 reason code it comes back "SSL Initialization Error" I'd say it's a good bet.

5555harsha wrote:
If yes, any idea how we can handle this?


Use SSL for your connection.

5555harsha wrote:
*) We have set MQSERVER as an environment variable.


This does not support for use of SSL in a client connection. Because this doesn't specify but implies the client side of the connection, it doesn't set up the SSL parameters the connection needs on the client side.

5555harsha wrote:
*) We are using the jks keystore (Same keystore is being used in Parasoft SOATEST and it is working fine)


I'm sure it brings you lots of joy. How exactly are you "using" this keystore within your application? Referenced by it? Stored on the same server as your application? In the same building as your application?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jun 18, 2014 6:38 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

Since when does a com api / .net api use a java (jks ) keystore?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Wed Jun 18, 2014 7:00 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

fjb_saper wrote:
Since when does a com api / .net api use a java (jks ) keystore?


Hence my question......
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » Issue while connecting to Queue Managers via QTP
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.