Author |
Message
|
Beaula |
Posted: Tue Mar 04, 2003 8:13 am Post subject: Unable to start the channel |
|
|
Apprentice
Joined: 11 Sep 2002 Posts: 39 Location: Infotech, Madhapur,India
|
I have problem with starting the channel. I defined a sender receiver channel with the same name on Queue managers on the same machine. I gave the machine name properly in the sender channel.
I get retrying or binding status most of the time. Can somebody explain why I face this problem ....... |
|
Back to top |
|
 |
vennela |
Posted: Tue Mar 04, 2003 8:27 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Did you give the right port number?
Is the listener running?
-------
Venny |
|
Back to top |
|
 |
bbeardsley |
Posted: Tue Mar 04, 2003 2:15 pm Post subject: |
|
|
 Acolyte
Joined: 17 Dec 2001 Posts: 52 Location: Dallas, TX, USA
|
Does the machine name given in your sender channel resolve? Can you ping the receiver machine? |
|
Back to top |
|
 |
Beaula |
Posted: Tue Mar 11, 2003 8:56 pm Post subject: Channel not Starting |
|
|
Apprentice
Joined: 11 Sep 2002 Posts: 39 Location: Infotech, Madhapur,India
|
bbeardsley wrote: |
Does the machine name given in your sender channel resolve? Can you ping the receiver machine? |
I created two queue managers on the same machine and defined a sender-receiver channel pair. The Listeners are running on both the queue managers and I am able to ping (because the queue managers are on the same machine).
Please guide me to start the channels.......... |
|
Back to top |
|
 |
vennela |
Posted: Tue Mar 11, 2003 9:38 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Suppose if you have two queue managers on the same box
For example:
QM1 listening on port 1414
QM2 listening on port 1415
The SDR channel on QM1 should be defined such that the conname attribute is localhost(1415). If you just give conname as "localhost" it would default to 1414.
-------
Venny |
|
Back to top |
|
 |
Beaula |
Posted: Thu Mar 13, 2003 4:55 am Post subject: |
|
|
Apprentice
Joined: 11 Sep 2002 Posts: 39 Location: Infotech, Madhapur,India
|
vennela wrote: |
Suppose if you have two queue managers on the same box
For example:
QM1 listening on port 1414
QM2 listening on port 1415
The SDR channel on QM1 should be defined such that the conname attribute is localhost(1415). If you just give conname as "localhost" it would default to 1414.
-------
Venny |
Thanks for the reply. This is working now.
I require some query. I am creating a remote defintion of queue on my local machine for the local queue on the remote machine. When i define the sender channel, how should i give the connection name, if i am having two queue managers on the remote machine.
I defined the connection name with the IP address and the port, but the channel is not starting.
Can you please tell me where i went wrong ..... |
|
Back to top |
|
 |
bbeardsley |
Posted: Thu Mar 13, 2003 5:41 am Post subject: |
|
|
 Acolyte
Joined: 17 Dec 2001 Posts: 52 Location: Dallas, TX, USA
|
Are the channel names (sdr & rcvr) the same? |
|
Back to top |
|
 |
vennela |
Posted: Thu Mar 13, 2003 2:40 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Beaula:
It shouldn't matter whether the queue managers are on the same machine or are on different machine ( the latter being not uncommon at all), distributed queing and intercommunication concept is same.
If you have this scenario:
1 Machine1
a. Host: hostname1
b. QMGR: QM1
c. listener port for QM1: 1414
d. conname on SDR channel (say QM1.TO.QM2) could be hostname2 or hostname2(1414)
2 Machine2
a. Host: hostname2
b. QMGR: QM2
c. listener port for QM2: 1414
d. RCVR channel with the name QM1.TO.QM2
Look at the following post or the intercommunication manual for more detailed steps.
http://www.mqseries.net/phpBB2/viewtopic.php?t=6802
If you have employed the same techniques of distributed queuing on two different machines as you did on one machine and if you have problems working with two machines make sure you can ping one box from the other.
-------
Venny |
|
Back to top |
|
 |
|