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 2 local queue managers

Post new topic  Reply to topic
 Connecting 2 local queue managers « View previous topic :: View next topic » 
Author Message
B.Nofal
PostPosted: Mon Jun 02, 2008 4:09 am    Post subject: Connecting 2 local queue managers Reply with quote

Newbie

Joined: 02 Jun 2008
Posts: 2

Hi,

I'm using MQ V 6.0.
I want to create a (Sender-Receiver) channel between 2 local queue managers (on the same machine).
The problem is that the channel fails to be started, given that each queue manager has a listener on a different port than the other.
In the sender channel I'm setting the connection name as localhost(1416)
which is the port that the other queue manager listens to.

The error thrown in the logs is:

AMQ9208: Error on receive from host localhost (127.0.0.1).

Please advise.
Thanks.
Back to top
View user's profile Send private message
Gaya3
PostPosted: Mon Jun 02, 2008 4:13 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

your receiver point is not properly set.

Re-verify the same.

Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
crossland
PostPosted: Mon Jun 02, 2008 4:38 am    Post subject: Reply with quote

Master

Joined: 26 Jun 2001
Posts: 248

Have you started the listener on the receiver queue manager?

Regards,

Tim
http://www.inspirotechnic.com
Back to top
View user's profile Send private message
B.Nofal
PostPosted: Mon Jun 02, 2008 3:01 pm    Post subject: Reply with quote

Newbie

Joined: 02 Jun 2008
Posts: 2

Yes, the receiver listener is started
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Jun 02, 2008 3:54 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Post some things here:
.platform
.mq version
.name of queue manager (sender)
.name of queue manager (receiver)
.channel definition (sender)
.channel definition (receiver)
.command you used to start listener (or object definition)
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
AkankshA
PostPosted: Mon Jun 02, 2008 10:27 pm    Post subject: Re: Connecting 2 local queue managers Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

B.Nofal wrote:
Hi,
which is the port that the other queue manager listens to.

the other queue manager can listen to any port(except 1416)... BUT u need to create n run a listener on that port


B.Nofal wrote:
Hi,
I want to create a (Sender-Receiver) channel between 2 local queue managers (on the same machine).



Can i assume that u have followed and verified the steps as per intercommunication manual...

can u tell us what all u did ?
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
vinaysnarayan
PostPosted: Mon Jun 02, 2008 11:51 pm    Post subject: Reply with quote

Newbie

Joined: 20 May 2008
Posts: 1

Probably the problem is with the TCP/IP port. Stop the listener, change the listener port of both the queue managers, start the listeners and try again.

Hope this works.

Regards,
Vinay
Back to top
View user's profile Send private message
Gemz
PostPosted: Thu Jun 12, 2008 7:40 am    Post subject: Reply with quote

Centurion

Joined: 14 Jan 2008
Posts: 124

Hi B.Nofal,

Hav you got result....

If NOT use this url....
Its ll take you to the destination which you want......

http://www.webspheretools.com/stever/webspheretools.nsf/0/3FEC6033226D770E802573EF00665114
Back to top
View user's profile Send private message
MaxMax
PostPosted: Thu Jul 10, 2008 3:36 am    Post subject: Re: Connecting 2 local queue managers Reply with quote

Newbie

Joined: 10 Apr 2007
Posts: 6

B.Nofal wrote:
Hi,

I'm using MQ V 6.0.
I want to create a (Sender-Receiver) channel between 2 local queue managers (on the same machine).
The problem is that the channel fails to be started, given that each queue manager has a listener on a different port than the other.
In the sender channel I'm setting the connection name as localhost(1416)
which is the port that the other queue manager listens to.

The error thrown in the logs is:

AMQ9208: Error on receive from host localhost (127.0.0.1).

Please advise.
Thanks.


I think that something goes wrong with port numbers of listener/sender channels.
I have created similar scheme but listeners were binded not to a loopback IP address but to the IP address of server's NIC. In my case – 10.0.111.8.
1) create QMGR - QMTST.SIM
crtmqm -u DEAD.Q QMTST.SIM
2) start newly created QMGR
strmqm QMTST.SIM
3) configure this QMGR.
Listener is binded to 10.0.111.8:2020
Local Queue - SIM.LQ
Remote Queue - SIM.RQ
Transmission Queue - TRANSMISSION_SIM
Sender Channel - SIM.TO.SIM2 that points to 10.0.111.8:2121 (Remote listener is binded to 10.0.111.8:2121)
Receiver Channel - SIM2.TO.SIM

DEFINE LISTENER ('LSNR_SIM') TRPTYPE(TCP) IPADDR('10.0.111.8') PORT (2020)
DEFINE QLOCAL('SIM.LQ')
DEFINE QLOCAL('TRANSMISSION_SIM') USAGE(XMITQ)

DEFINE QREMOTE('SIM.RQ') RNAME('SIM2.LQ') RQMNAME('SIM2') XMITQ('TRANSMISSION_SIM') DEFPSIST(YES)

DEFINE CHL ('SIM.TO.SIM2') +
CHLTYPE(SDR) TRPTYPE(TCP) +
CONNAME('10.0.111.8 (2121)') +
XMITQ('TRANSMISSION_SIM') +
DISCINT (0)

DEFINE CHL ('SIM2.TO.SIM') +
CHLTYPE(RCVR) TRPTYPE(TCP)

4) create QMGR - QMTST.SIM2 an opposite QMANGER
crtmqm -u DEAD.Q QMTST.SIM2
2) start newly created QMGR
strmqm QMTST.SIM2
3) configure this QMGR.
Listener is binded to 10.0.111.8:2121
Local Queue – SIM2.LQ
Remote Queue – SIM2.RQ
Transmission Queue - TRANSMISSION_SIM2
Sender Channel - SIM2.TO.SIM that points to 10.0.111.8:2020 (Remote listener is binded to 10.0.111.8:2020)
Receiver Channel - SIM2.TO.SIM


DEFINE LISTENER ('LSNR_SIM2') TRPTYPE(TCP) IPADDR('10.0.111.8') PORT (2121)
DEFINE QLOCAL('SIM2.LQ')
DEFINE QLOCAL('TRANSMISSION_SIM2') USAGE(XMITQ)

DEFINE QREMOTE('SIM2.RQ') RNAME('SIM.LQ') RQMNAME('SIM') XMITQ('TRANSMISSION_SIM2') DEFPSIST(YES)

DEFINE CHL ('SIM2.TO.SIM') +
CHLTYPE(SDR) TRPTYPE(TCP) +
CONNAME('10.0.111.8 (2020)') +
XMITQ('TRANSMISSION_SIM2') +
DISCINT (0)

DEFINE CHL ('SIM.TO.SIM2') +
CHLTYPE(RCVR) TRPTYPE(TCP)
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 » IBM MQ Installation/Configuration Support » Connecting 2 local queue managers
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.