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 » MQSeries client programming with COM(MQAX) and Vb

Post new topic  Reply to topic
 MQSeries client programming with COM(MQAX) and Vb « View previous topic :: View next topic » 
Author Message
jimmyanand
PostPosted: Fri May 31, 2002 1:45 am    Post subject: MQSeries client programming with COM(MQAX) and Vb Reply with quote

Newbie

Joined: 31 May 2002
Posts: 1

I am new to MQSeries.
I have a problem of connecting to queue on a MQseries Server fromn client machine where i always get a message (Reason code 2058) no QMgr error.
Can anyone please let me know the reason.

I am also stupified as MQAX does not have any class which takes in the (IP for the Server) or (port for the QMgr. Listener)
Back to top
View user's profile Send private message
mrlinux
PostPosted: Fri May 31, 2002 2:56 am    Post subject: Reply with quote

Grand Master

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

Well getting 2058 means that you are connecting to a queue manager
but the name for the Queue manager you are passing in doesnt match with the name of the queue manager you connected too.
_________________
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
dpchiesa
PostPosted: Mon Jun 03, 2002 3:37 pm    Post subject: Reply with quote

Apprentice

Joined: 29 May 2002
Posts: 46

Quote:
I am also stupified as MQAX does not have any class which takes in the (IP for the Server) or (port for the QMgr. Listener)


The concept of the Queue Manager (and its name) does the mapping for you.
_________________
-dpchiesa
Back to top
View user's profile Send private message
ravishanker
PostPosted: Mon Jun 03, 2002 11:19 pm    Post subject: Re: MQSeries client programming with COM(MQAX) and Vb Reply with quote

Newbie

Joined: 28 May 2002
Posts: 5
Location: Hyderabad, India

SInce u are trying to connect a client to a server ;

If u r using MQSeries Base classes check whether u have created the Server Channel. If not create a Server Connection Channel using MQSeries Explorer with default configurations. Use MQEnvironment class to set the environment viz. hostname, channel, port etc. It will work like hot knive on butter.

If u r using MQJMS via Ldap set the Transport property as CLIENT on the queueconnectionfactory u have defined on JMSAdmin. This will make it work.

Usually 2058 is thrown if the Qmgr or any other object is not found. The reasons why they are not found has to be explored.


Refer CSQZAW08.pdf provided by IBM for configurations

jimmyanand wrote:
I am new to MQSeries.
I have a problem of connecting to queue on a MQseries Server fromn client machine where i always get a message (Reason code 2058) no QMgr error.
Can anyone please let me know the reason.

I am also stupified as MQAX does not have any class which takes in the (IP for the Server) or (port for the QMgr. Listener)

_________________
Ravi Shanker
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
StefanSievert
PostPosted: Tue Jun 04, 2002 8:54 am    Post subject: Re: MQSeries client programming with COM(MQAX) and Vb Reply with quote

Partisan

Joined: 28 Oct 2001
Posts: 333
Location: San Francisco

ravishanker wrote:
Usually 2058 is thrown if the Qmgr or any other object is not found. The reasons why they are not found has to be explored.

Ravi,
is it possible that this comment is referring to a 2085 rather than a 2058?
Stefan
_________________
Stefan Sievert
IBM Certified * WebSphere MQ
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 » IBM MQ API Support » MQSeries client programming with COM(MQAX) and Vb
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.