Author |
Message
|
jimmyanand |
Posted: Fri May 31, 2002 1:45 am Post subject: MQSeries client programming with COM(MQAX) and Vb |
|
|
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 |
|
 |
mrlinux |
Posted: Fri May 31, 2002 2:56 am Post subject: |
|
|
 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 |
|
 |
dpchiesa |
Posted: Mon Jun 03, 2002 3:37 pm Post subject: |
|
|
 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 |
|
 |
ravishanker |
Posted: Mon Jun 03, 2002 11:19 pm Post subject: Re: MQSeries client programming with COM(MQAX) and Vb |
|
|
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 |
|
 |
StefanSievert |
Posted: Tue Jun 04, 2002 8:54 am Post subject: Re: MQSeries client programming with COM(MQAX) and Vb |
|
|
 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 |
|
 |
|