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 IBM MQ Support » [Solved] why non 1414 port cannot run?

Post new topic  Reply to topic
 [Solved] why non 1414 port cannot run? « View previous topic :: View next topic » 
Author Message
mqquester
PostPosted: Tue Dec 09, 2003 8:51 am    Post subject: [Solved] why non 1414 port cannot run? Reply with quote

Apprentice

Joined: 27 Nov 2003
Posts: 35

Hi buddy,

This is a simple question, but I am too stupid to solve it.

Two QMgrs on one PC Win for connection.
Create QM1, QM2, XmitQ(QM2), XmitQ(QM1), CHL(QM1_TO_QM2)(SDR & RCVR), CHL(QM2_TO_QM1)(SDR & RCVR).
I just want to let two channels run, so I don't need QL & QR for transferring data.
If I just runmqlsr on one QM, and runmqchl on the other QM. It is working. The reverse is also fine. (port 1414)
The problem is if I "runmqlsr -t tcp -p 1415 -m QM1" on MQ1, when I "runmqchl -m QM2 -c QM2_TO_QM1" on QM2. It said "Remote host xxx (1414) not available, retry later".
Why?

The port number is just assigned at runmqlsr, right? How does channel know the listener is running on which port? search one by one?

Thanks in advance for any help
Back to top
View user's profile Send private message
vmcgloin
PostPosted: Tue Dec 09, 2003 8:55 am    Post subject: Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

Quote:
How does channel know the listener is running on which port?


The port is also in the Connection Name of the sender channel, e.g '1.23.45.6(1415)' or 'hostname(1415)'. I guess you are not specifying the port so it is trying to use the default of 1414.

Cheers,
Vicky


Last edited by vmcgloin on Tue Dec 09, 2003 8:56 am; edited 1 time in total
Back to top
View user's profile Send private message
mqonnet
PostPosted: Tue Dec 09, 2003 8:56 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

You need to change the CONNAME parameter of the SDR channel definition to include the new port number. If one is not specified, it assumes default 1414.

alter chl(<chlname>) chltype(SDR) conname('<IP(port no)>')

Cheers
Kumar
Back to top
View user's profile Send private message Send e-mail Visit poster's website
mqquester
PostPosted: Tue Dec 09, 2003 10:47 am    Post subject: Reply with quote

Apprentice

Joined: 27 Nov 2003
Posts: 35

I got it.
Thanks both of you.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » [Solved] why non 1414 port cannot run?
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.