|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQSeries client - 2059 |
« View previous topic :: View next topic » |
Author |
Message
|
shogan2003 |
Posted: Wed May 12, 2004 8:27 am Post subject: MQSeries client - 2059 |
|
|
Centurion
Joined: 03 Jul 2003 Posts: 133 Location: London
|
I define MQSERVER but when I run amqsputc, the response is 2059.
I have some Java apps which conenct just fine from the same client machine to the same MQ server. They don't depend on MQSERVER, however.
The environment variable MQSERVER does retain the value I assign it on the command-line, as evidenced when I echo $MQSERVER.
Also, when I attempt to define MQSERVER in my .profile (or on the command line) on the MQ client machine, the use of brackets around the port number is treated as a syntax error.
MQSERVER=SYSTEM.DEF.SVRCONN/TCP/172.21.13.21(1414);
export MQSERVER
Does the use of MQSERVER mean that something extra is required on the client machine or on the server machine ? For example, does the logon ID on the client machine be reproduced on the server machine ?
I have started the listener (on port 1414) on the server.
The client is MQSeries client 5.3
Do I need to install a CSD on the client and/or server for MQSERVER to work ? _________________ MQSI2 certified specialist
MQSeries certified specialist |
|
Back to top |
|
 |
EddieA |
Posted: Wed May 12, 2004 10:30 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
when I attempt to define MQSERVER in my .profile |
Guess you're running on some flavour of UNIX.
Quote: |
MQSERVER=SYSTEM.DEF.SVRCONN/TCP/172.21.13.21(1414); |
1414 is the default, so you don't actually need to specify it. But if you want to, then you'll have to "escape" the brackets. \( and \).
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
carthel |
Posted: Wed May 12, 2004 11:35 am Post subject: MQSeries client - 2059 |
|
|
Newbie
Joined: 12 May 2004 Posts: 1
|
I am pretty new to MQSeries but I am pretty sure that the IP address and port are required to be in ticks ('); plus, you shouldn't need a semi-colon.
e.g. MQSERVER=SYSTEM.DEF.SVRCONN/TCP/'172.21.13.21(1414)'
This should at least fix the error you get when adding it to your .profile
Good luck,
Scott |
|
Back to top |
|
 |
shogan2003 |
Posted: Thu May 13, 2004 12:32 am Post subject: |
|
|
Centurion
Joined: 03 Jul 2003 Posts: 133 Location: London
|
Thanks guys. Problem was the IP address. _________________ MQSI2 certified specialist
MQSeries certified specialist |
|
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
|
|
|
|