|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
[Solved] why non 1414 port cannot run? |
« View previous topic :: View next topic » |
Author |
Message
|
mqquester |
Posted: Tue Dec 09, 2003 8:51 am Post subject: [Solved] why non 1414 port cannot run? |
|
|
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 |
|
 |
vmcgloin |
Posted: Tue Dec 09, 2003 8:55 am Post subject: |
|
|
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 |
|
 |
mqonnet |
Posted: Tue Dec 09, 2003 8:56 am Post subject: |
|
|
 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 |
|
 |
mqquester |
Posted: Tue Dec 09, 2003 10:47 am Post subject: |
|
|
Apprentice
Joined: 27 Nov 2003 Posts: 35
|
I got it.
Thanks both of you. |
|
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
|
|
|
|