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 » IBM MQ Installation/Configuration Support » Connecting MQ Client (Win XP) with MQ Server (Tru64 UNIX)

Post new topic  Reply to topic
 Connecting MQ Client (Win XP) with MQ Server (Tru64 UNIX) « View previous topic :: View next topic » 
Author Message
drupey
PostPosted: Tue Apr 27, 2004 3:07 am    Post subject: Connecting MQ Client (Win XP) with MQ Server (Tru64 UNIX) Reply with quote

Newbie

Joined: 27 Apr 2004
Posts: 5

Hi,

I'm having trouble connecting MQ Client 5.3 (installed on WinXP Pro) with MQ Server (installed on Compaq Tru64 UNIX 5.1A). Server is up, queue mgr started (only 1, default), queue created, and server-connection channel CHANNEL1 defined. Listener is started on port 1414 (TCP being used).

On the client, I've set the system environment variable MQSERVER using CHANNEL1 and pointing to server's IP & port #.
Ping to the server works fine (and vice versa), and telneting to server port # (1414) also works. Telneting from server to client to 1414 does not work (is that supposed to work, anyway?)
Running a "set" in command prompt on client displays the MQSERVER variable being set OK (all lettelrs capital).

However, when I try to put a message on the server's queue, it displays reason code 2059. MQJExplorer returns pretty much the same error. Smth like not being able to connect to qmgr.

What am I doing wrong here? Perhaps I'm supposed to start an listener on client XP too? Or some sort of service? Or did I miss smth out on the server side?

BTW, I'm doing all this to set up a GUI like MQJExplorer, so I could administer MQ Server remotely from XP.

Thx in advance,
Bob
Back to top
View user's profile Send private message
gunter
PostPosted: Tue Apr 27, 2004 3:54 am    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2004
Posts: 307
Location: Germany, Frankfurt

On XP, you have to install the client software and to set the enviroment. There s no special service nessessary.
Maybe your problem is MQSERVER, please post it and the definition of CHANNEL1.
_________________
Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3
Back to top
View user's profile Send private message
drupey
PostPosted: Tue Apr 27, 2004 4:18 am    Post subject: Reply with quote

Newbie

Joined: 27 Apr 2004
Posts: 5

Well, the variable is:
MQSERVER=CHANNEL1/TCP/144.250.10.20(1414)

As I said, ping and telnet from client to server DO work.

On the server side, channel is defined as:
display channel (CHANNEL1)
22 : display channel (CHANNEL1)
AMQ8414: Display Channel details.
CHANNEL(CHANNEL1) CHLTYPE(SVRCONN)
TRPTYPE(TCP) DESCR( )
SCYEXIT( ) MAXMSGL(4194304)
SCYDATA( ) HBINT(300)
MCAUSER( ) ALTDATE(2004-04-26)
ALTTIME(18.11.34)
SENDEXIT( )
RCVEXIT( )
SENDDATA( )
RCVDATA( )
Back to top
View user's profile Send private message
fschofer
PostPosted: Tue Apr 27, 2004 4:34 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi, for MQJExplorer to work you have to start the command server on the unix box:
strmqcsv <QMname>

And you have to create the SVRCONN channel:
SYSTEM.ADMIN.SVRCONN


Which program do you use to put messages ?

Please try:
amqsputc <queue name> <QM name>
Back to top
View user's profile Send private message Send e-mail
drupey
PostPosted: Tue Apr 27, 2004 5:09 am    Post subject: Reply with quote

Newbie

Joined: 27 Apr 2004
Posts: 5

Yes, I forgot to write it, I started the command server on UNIX with strmqcsv aswell. However, if I understood it well, it is only necessary for MQJexplorer, not for simple PUT program amqsputc (which doesn't work either).

Yes, I use the "amqsputc Q1 QMR1", and Q1 is a well defined queue, and QMR1 is a queue manager.

It returns 2059 reason code.
Back to top
View user's profile Send private message
fschofer
PostPosted: Tue Apr 27, 2004 5:37 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi,
i can find no error in your settings.

Can you define the MQSERVER variable on the server machine
and start the amqsputc programm there, so that we can see if there's
a problem with the network or the mq config.

Greetings
Frank
Back to top
View user's profile Send private message Send e-mail
gunter
PostPosted: Tue Apr 27, 2004 12:25 pm    Post subject: Reply with quote

Partisan

Joined: 21 Jan 2004
Posts: 307
Location: Germany, Frankfurt

I also not, it looks ok.

Only an idea, maybe not very good.
You have a connection from client to server, but is the tcp/ip route from server to client ok ?
_________________
Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3
Back to top
View user's profile Send private message
drupey
PostPosted: Tue Apr 27, 2004 11:21 pm    Post subject: Reply with quote

Newbie

Joined: 27 Apr 2004
Posts: 5

I defined the MQSERVER variable on the server, tried the amqsputc there, browsed the messages I've put, and it works. So the server side is OK.

PING from Tru64 server to WinXP client works aswell. There should be no problem, they're on LAN (same switch, actually). However, telneting from server to port 1414 on XP client does NOT work.
Is the MQ client software on WinXP machine supposed to open port 1414 or not? When I do a "netstat -an" on WinXP client, the port 1414 is NOT opet.
Maybe this is the problem? BTW, I have NO firewalls on the client, everything's open.
Back to top
View user's profile Send private message
JasonE
PostPosted: Wed Apr 28, 2004 12:56 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

No, clients dont open a server socket - They just open a socket to a specific port on a remote machine, which will show up in netstat on the XP box as any random local port number.

Do you have any error messages (or fdc's) logged in the client amqerr01.log file?
Back to top
View user's profile Send private message
drupey
PostPosted: Mon May 03, 2004 12:35 am    Post subject: Reply with quote

Newbie

Joined: 27 Apr 2004
Posts: 5

Yes!

I checked the client's log file - there was a problem with mismatching CCSID on the server - it wasn't supported on the client. So I changed it, and now amqsputc works fine. I can put a message on a sever's queue, and see it on the server.

However, MQJExplorer STILL reports reason 2059. I've created the SYSTEM.ADMIN.SVRCONN on the server, and started the command server. I've also set the MQSERVER variable on the client, now being MQSERVER=SYSTEM.ADMIN.SVRCONN/TCP/144.250.10.20(1414).

When I try to connect with MQJExplorer, I use "QMR1" as a remote qmgr, and "SYSTEM.ADMIN.SVRCONN" as a connection name.

Why can't MQJExplorer connect to the qmgr? DO I perhaps have to create user mqm on a WinXP client machine?
Back to top
View user's profile Send private message
fschofer
PostPosted: Mon May 03, 2004 1:24 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi,
MQJExplorer is a java application and so does not use the MQSERVER environment variable.
You have to define the client connection settings within MQJExplorer.

Use "Show remote queue Manager"
Queue Manager Name => name of your QM
Connection Name => hostname(port) => 144.250.10.20(1414)

The channel SYSTEM.ADMIN.SVRCONN is choosen internally.

Greetings
Frank
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 » IBM MQ Installation/Configuration Support » Connecting MQ Client (Win XP) with MQ Server (Tru64 UNIX)
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.