Author |
Message
|
sureshwe |
Posted: Wed Jul 21, 2004 11:10 am Post subject: Trouble connecting to remote Queue on Windows, |
|
|
Newbie
Joined: 21 Jul 2004 Posts: 2
|
I Installed Evaluation Websphere MQ Server and Client (Version 5.3) on WinXP
machine (A). I used one of the sample CPP client (imqsput.cpp and imqsget.cpp)
to put and get messages from the default queue. It worked fine.
Now I try to use the same client from different WinXP machine (B) to connect to
the Websphere MQ queue on machine (A), it fails with 2058.
On the machine B I have set MQSERVER=SYSTEM.DEF.SVRCONN/TCP/IPAddress(1414)
for the environment variable.
Is there anything I am missing?
Pls provide me more details If I am wrong anywhere.
Thanks
Suresh |
|
Back to top |
|
 |
vennela |
Posted: Wed Jul 21, 2004 11:38 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
|
Back to top |
|
 |
sureshwe |
Posted: Wed Jul 21, 2004 11:46 am Post subject: |
|
|
Newbie
Joined: 21 Jul 2004 Posts: 2
|
I tried with imqsputc.exe to connect to remote queue it failed with 2058.
Could you pls proive me more details.
thanks
Suresh |
|
Back to top |
|
 |
vennela |
Posted: Wed Jul 21, 2004 12:11 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Did you specify the right QMGR name.
On machineB
After you:
SET MQSERVR=SYSTEM.DEF.SVRCONN/TCP/IPAddress(1414)
Try
amqsputc SYSTEM.DEFAULT.LOCAL.QUEUE QMGRonMachineA
If this works then you should try the C++ sample |
|
Back to top |
|
 |
kevinf2349 |
Posted: Thu Jul 22, 2004 4:28 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
A pretty obvious question here but.....have you started the listener ? |
|
Back to top |
|
 |
vennela |
Posted: Thu Jul 22, 2004 11:25 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
If the listener is not started I would expect 2059 |
|
Back to top |
|
 |
fschofer |
Posted: Thu Jul 22, 2004 10:31 pm Post subject: |
|
|
 Knight
Joined: 02 Jul 2001 Posts: 524 Location: Mainz, Germany
|
There was a E missing.
SET MQSERVER=SYSTEM.DEF.SVRCONN/TCP/IPAddress(1414)
Quote: |
SET MQSERVR=SYSTEM.DEF.SVRCONN/TCP/IPAddress(1414) |
Greetings
Frank |
|
Back to top |
|
 |
|