Author |
Message
|
malika |
Posted: Tue Mar 09, 2010 2:03 am Post subject: MQServer vs MQClient |
|
|
Newbie
Joined: 08 Mar 2010 Posts: 6
|
I m having mqserver installed on my machine. I want to access the queue manager residing on other pc, for which I have created remote (q1)queue, tranmission queue, sender channel on my machine and receiver channel on other machine, but it throws me error 2059, which says my machine is not able to find the queue manager
I have chaecked everthing....port no, typo, etc..
but still the same error. Is this because I m using mqserver instead of mq client, Please help me on this.
Thanks |
|
Back to top |
|
 |
nathanw |
Posted: Tue Mar 09, 2010 2:48 am Post subject: |
|
|
 Knight
Joined: 14 Jul 2004 Posts: 550
|
ok firstly this is MQ 101 but i will put a few ideas for you to check
secondly 2059 means qm not available not that it cannot be found.
is the listener running on the qm?
have you tried putting the ipaddress of teh target qm insiead of a server name?
has the receiver channel been created?
DOES IT HAVE THE SAME NAME? _________________ Who is General Failure and why is he reading my hard drive?
Artificial Intelligence stands no chance against Natural Stupidity.
Only the User Trace Speaks The Truth  |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Mar 09, 2010 6:14 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Did you successfully PING (the MQ PING) from the Sender channel to Receiver channel? PING is an MQ script command. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Mar 09, 2010 6:21 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Moved to more relevant section _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Mar 09, 2010 6:23 am Post subject: Re: MQServer vs MQClient |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
malika wrote: |
Is this because I m using mqserver instead of mq client, |
Yes.
Having the server installed does not automatically mean that you have the client installed, nor does it mean the application is not built/linked/configured to use the client librairies even if they are installed. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Mar 09, 2010 2:30 pm Post subject: Re: MQServer vs MQClient |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
( 8 )
malika wrote: |
I m having mqserver installed on my machine. I want to access the queue manager residing on other pc, for which I have created remote (q1)queue, tranmission queue, sender channel on my machine and receiver channel on other machine, but it throws me error 2059, which says my machine is not able to find the queue manager
I have chaecked everthing....port no, typo, etc..
but still the same error. Is this because I m using mqserver instead of mq client, Please help me on this.
Thanks |
But to access the other qmgr remotely have you created a SVRCONN channel on that remote queue manager?
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Mar 09, 2010 3:18 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
And on the client, you need the appropriate environment variables set correctly.
Read through the WMQ Clients manual.
From the queue manager:
1) Post the SVRCONN channe definition on the qmgr.
2) Post the LISTENER object definition on the qmgr.
From the client:
3) Post your conversation from the c: or $ prompt
4) Post the environment variable settings. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Mar 09, 2010 8:51 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
( 2)
You say you have installed the server on machine A from which you want to remotely access the qmgr on machine B.
Review the installation of machine A and make certain that you installed the server AND the CLIENT. You may have to do a custom install instead of the standard one... If you can see amqsputc in the samples the likelihood that you did install the client is good.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|