ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » MQSeries client - 2059

Post new topic  Reply to topic
 MQSeries client - 2059 « View previous topic :: View next topic » 
Author Message
shogan2003
PostPosted: Wed May 12, 2004 8:27 am    Post subject: MQSeries client - 2059 Reply with quote

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
View user's profile Send private message Send e-mail
EddieA
PostPosted: Wed May 12, 2004 10:30 am    Post subject: Reply with quote

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
View user's profile Send private message
carthel
PostPosted: Wed May 12, 2004 11:35 am    Post subject: MQSeries client - 2059 Reply with quote

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
View user's profile Send private message
shogan2003
PostPosted: Thu May 13, 2004 12:32 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » MQSeries client - 2059
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.