|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Problems with Client connection |
« View previous topic :: View next topic » |
Author |
Message
|
Keka |
Posted: Sat Dec 28, 2002 6:22 pm Post subject: Problems with Client connection |
|
|
Voyager
Joined: 28 Dec 2002 Posts: 96
|
Hi ,
Can anybody help me out.
I ahev MQ 5.3 installed on XP. My goal is to set up client and server on the same box and try running amqsputc to test.
I created server connection channel keka.svr.conn
I set the env variable in the same dos window as
set MQSERVER=keka.svr.conn/TCP/192.168.0.100
I ran amqsputc and it comes back with the error code 2058.
I tried setting the MQSERVER variable with SYSTEM.DEF.CONN but it still does not work..
Am I missing something here??
thanks for all the help
keka _________________ Keka |
|
Back to top |
|
 |
LuisFer |
Posted: Sat Dec 28, 2002 11:04 pm Post subject: Re: Problems with Client connection |
|
|
 Partisan
Joined: 17 Aug 2002 Posts: 302
|
The Svrconn channel definition is case sensitive , can be this one?
The Lstr is running?
You can change de MQSERVER env to keka.../TCP/LOCALHOST too
Sorry my bad english |
|
Back to top |
|
 |
clindsey |
Posted: Sun Dec 29, 2002 8:09 am Post subject: |
|
|
Knight
Joined: 12 Jul 2002 Posts: 586 Location: Dallas, Tx
|
If you do not specify a port number on the MQSERVER var, MQ uses the default 1414. Start a listener with "start runmqlsr -t TCP -m queuemanagername ". The queuemanagername is case sensitive.
Then try the default channel first with "set MQSERVER=SYSTEM.DEF.SVRCONN/TCP/localhost
Amqsputc should work for you now.
Next change MQSERVER to use your channel def and retry.
If you need to use a port other than the default, for example you have 2 queue managers, add "-p 1415" to the runmqlsr command and append the new port to the hostname on MQSERVER, i.e. localhost(1415).
Charlie |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|