Author |
Message
|
Guava72 |
Posted: Fri Jan 30, 2004 9:46 am Post subject: problem with loopback (127.0.0.1) in WMQ 5.3 for Solaris? |
|
|
 Apprentice
Joined: 06 Jun 2003 Posts: 46 Location: Champaign, IL
|
Hi, I'm using Websphere MQ 5.3 (base product) on SunOS 5.8.
I'm trying to start a channel to itself, but it gets stuck in "Retrying" mode. I am using "127.0.0.1" for the Connection Name. I have done this exact same setup before and it worked, but there I was using MQSeries 5.2.1 CSD05 on Windows 2000.
In the AMQERR01.LOG, I see that it is trying to connect to "127.0.0.1(1414). This is not the port of my QM. Before when this worked on the Windows machines, those QM's were not on port 1414 and I had no problem.
Are there any problems with the use of the loopback address in 5.3 for Solaris, or is there some setting I can tweak, or...??? Thanks for any help. |
|
Back to top |
|
 |
MQRR |
Posted: Fri Jan 30, 2004 9:53 am Post subject: |
|
|
Centurion
Joined: 10 Aug 2003 Posts: 110
|
|
Back to top |
|
 |
vennela |
Posted: Fri Jan 30, 2004 10:03 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Your conname should be hostname(port)
like
127.0.0.1(1420) assuming your receiver QMGR's listener is running on 1420. If you do not specify anything in the port it will default to 1414. |
|
Back to top |
|
 |
EddieA |
Posted: Fri Jan 30, 2004 10:05 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
MQRR. That problem, and 'workaround' is for Windows boxes only. It's a known problem with Microsoft's TCP/IP stack that they refuse to fix.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
Guava72 |
Posted: Fri Jan 30, 2004 10:48 am Post subject: |
|
|
 Apprentice
Joined: 06 Jun 2003 Posts: 46 Location: Champaign, IL
|
MQRR...thanks for the ultra-fast reply! But, alas, Eddie seems to be correct. I exported MQNOREMPOOL=1 in the user's .bash_profile that starts the QM, re-executed it and restarted the QM. I got the exact same results.
Since there is no QM on this machine with port 1414 anyway, I tried manually running a listener (runmqlsr) for the QM using TCP/IP and port 1414, but it died shorly thereafter with
Code: |
AMQ9502: Type of channel not suitable for action requested. |
Eddie...IBM knows about this and hasn't put the fix in any 5.3 CSD? :-? |
|
Back to top |
|
 |
bower5932 |
Posted: Fri Jan 30, 2004 11:12 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
The problem is a Microsoft TCP/IP problem, so IBM can't fix it in an WMQ CSD.
One of your comments has me confused:
Quote: |
Since there is no QM on this machine with port 1414 anyway, I tried manually running a listener (runmqlsr) for the QM using TCP/IP and port 1414, but it died shorly thereafter with |
Are you saying there is no queue manager on the machine that you want to loopback to? If so, this won't work. If you are saying that you are using a different port, you have to specify this on your MQSERVER environment variable.
The final error leads me to believe that you have your program attempting to use a channel of the wrong type. What is the name and type of channel that you are using? I would have expected you to be using a server connection or client connection channel. |
|
Back to top |
|
 |
vennela |
Posted: Fri Jan 30, 2004 11:29 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Maybe he is trying to create a SDR and RCVR on the same QMGR
Quote: |
I'm trying to start a channel to itself, but it gets stuck in "Retrying" mode. |
|
|
Back to top |
|
 |
Guava72 |
Posted: Fri Jan 30, 2004 12:23 pm Post subject: |
|
|
 Apprentice
Joined: 06 Jun 2003 Posts: 46 Location: Champaign, IL
|
Right. The QM is on this box, and I'm creating a Sender and Receiver channel pair and XMITQ. I was just trying to copy a setup that was done on 5.2.1 on Windows. So I was surprised today when I tried the exact same thing on 5.3 on Solaris but ran into trouble. Since MQ is an IBM product, and Solaris is a Sun product, where does Microsoft come into play? |
|
Back to top |
|
 |
vennela |
Posted: Fri Jan 30, 2004 12:44 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
|
Back to top |
|
 |
bower5932 |
Posted: Fri Jan 30, 2004 1:34 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Microsoft came into the discussion because of the MQNOREMPOOL. It is an MQ work-around to the listener pool that takes care of the Microsoft tcp/ip problem.
Also, if you are having trouble with loopback, have you tried specifying the actual hostname/ipaddress of the machine? |
|
Back to top |
|
 |
sjunejo |
Posted: Fri Sep 19, 2008 5:39 am Post subject: |
|
|
Novice
Joined: 12 Sep 2008 Posts: 16
|
I have followed all the steps given on link:
http://my.advisor.com/Articles.nsf/nl/BOWEO001
instead of using 127.0.0.1 I am using IP address of my machine. I have both queue managers ate the same machine. everything working untill this point which is last after this i should able to send messages from one manager to another..
When I try to start my channel on QMGR2 I recieve this error message
hml-bladep6a1-~/mq: runmqchl -c QMGR2.TO.QMGR1
19/09/08 14:31:47 Channel 'QMGR2.TO.QMGR1' is starting.
19/09/08 14:31:47 AMQ9502: Type of channel not suitable for action requested.
19/09/08 14:31:47 AMQ9999: Channel program ended abnormally.
Could anyone plz help me. everything is same as described on the link.
Thank you. I am using AIX machine with MQv7.0 by the way. I have already tried telnet technique. Following command is giving me following error as well...
hml-bladep6a1-~/mq: runmqchl -c QMGR1.TO.QMGR2
19/09/08 14:49:22 Channel 'QMGR1.TO.QMGR2' is starting.
After a long pause it gives me following two lines on QMGR1 as well. ERRRGGGG!!!!
19/09/08 14:49:42 AMQ9514: Channel 'QMGR1.TO.QMGR2' is in use.
19/09/08 14:49:42 AMQ9999: Channel program ended abnormally.
Please help....  |
|
Back to top |
|
 |
exerk |
Posted: Fri Sep 19, 2008 7:02 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Please post the channel definitions; that will enable more targeted help. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
sjunejo |
Posted: Fri Sep 19, 2008 7:23 am Post subject: |
|
|
Novice
Joined: 12 Sep 2008 Posts: 16
|
I have got it...
I was missing somrthing imy command...
runmqchl -c CHLNAME -m QMGR2
now its working...I cans end messages from one to another...
Thanks for reply....Thanks
 |
|
Back to top |
|
 |
|