Author |
Message
|
Vineet |
Posted: Fri Apr 06, 2007 2:40 pm Post subject: connecting to remote queue manager |
|
|
Newbie
Joined: 06 Apr 2007 Posts: 7
|
I have mq v6.0 installed on my system.There is a queue manager on a remote system which also has mq v6.0. The problem is I am not able to connect to that queue manager using server connection but I am able to add it to my mq explorer.
I am using
set MQSERVER=SYSTEM.DEF.SVRCONN/TCP/HOSTNAME(PORT)
amqsbcgc queue_name queue_manager_name
This is not working but I am able to add the qmgr into my mq explorer.
Please advise. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Apr 06, 2007 4:14 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
what does "not working" mean? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vineet |
Posted: Fri Apr 06, 2007 4:22 pm Post subject: |
|
|
Newbie
Joined: 06 Apr 2007 Posts: 7
|
It's giving the error.
MQCONN ended with reason code 2059 |
|
Back to top |
|
 |
Vineet |
Posted: Fri Apr 06, 2007 4:32 pm Post subject: |
|
|
Newbie
Joined: 06 Apr 2007 Posts: 7
|
Infact I am able to do the vice/versa means able to do connection from that remote queue manager to the queue manager on my system. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Apr 06, 2007 4:33 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Did you install MQ Client on your local machine? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vineet |
Posted: Fri Apr 06, 2007 4:38 pm Post subject: |
|
|
Newbie
Joined: 06 Apr 2007 Posts: 7
|
I do not know because I didn't do the installation.
Could you please advise how to find if mq client is installed or not? |
|
Back to top |
|
 |
Vineet |
Posted: Fri Apr 06, 2007 6:56 pm Post subject: |
|
|
Newbie
Joined: 06 Apr 2007 Posts: 7
|
mq client is not installed on my system as well as on remote system.
Infact I am able to connect to some queue managers on other remote systems.
But why is it that I am not able to connect to this remote system.
Please advise[/u] |
|
Back to top |
|
 |
jefflowrey |
Posted: Sat Apr 07, 2007 4:57 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Okay, if you are able to connect to any remote system using amqsbcgc, then you should be able to connect to the one you want to as well.
That means that the 2059 is a meaningful error code, as opposed to merely telling you that the MQ client libraries are not installed.
That means that either the port is wrong, the listener isn't running, the network is preventing the connection, or the qmgr isn't started. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vineet |
Posted: Mon Apr 09, 2007 11:56 am Post subject: |
|
|
Newbie
Joined: 06 Apr 2007 Posts: 7
|
I have mqserver installed on my system.
The listener,the queue manager all are runnig fine on the remote system.
I am giving port also correctly.
So could you tell what might be the problem in network. |
|
Back to top |
|
 |
kevinf2349 |
Posted: Mon Apr 09, 2007 12:00 pm Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Vineet wrote: |
So could you tell what might be the problem in network. |
A firewall |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Apr 09, 2007 12:03 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Wait.
You can't get the presupplied client binaries, like amqsbcgc, to establish client connections without having the MQ Client installed on the machine - this can coexist with the Server install.
I believe the MQ Explorer comes with all the java code it needs to establish a java client connection - but you can't use that from amqsbcgc.
But again, if you can use amqsbcgc from your machine to talk to SOME qmgr, but not THIS one, then the problem is with the network between the two machines, or with the remote qmgr. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vineet |
Posted: Mon Apr 09, 2007 3:10 pm Post subject: |
|
|
Newbie
Joined: 06 Apr 2007 Posts: 7
|
I am very well able to connect to other remote systems outside my workstation.
About this remote system it's placed just adjacent to my system in the same workstation.
I again say that I am able to ADD this queue manager into my mq explorer but am not able to connect to it using server connection variable
or client connection and amqclchl.tab file.
could it be some ssl problem.
Please advise. |
|
Back to top |
|
 |
|