Author |
Message
|
brunelian |
Posted: Thu Dec 17, 2015 11:23 am Post subject: MQ-To MQ configuration problem |
|
|
Newbie
Joined: 17 Dec 2015 Posts: 5
|
Hi I have two queue managers. I want to enable communication between them. I can telnet on both listener ports from both systems to each other.
Below is my configuration
MQ to MQ configuration
Queue manager 1
Host IP address: 192.168.152.250
Listener: 1414
Queue manager name: QMGR.A
Receiver channel: ReceiverA
Sender Channel: SenderA
Local queue: Receiver.Queue A
Remote Queue:Remote.QueueA
Transmission Queue= Transmit.Queue
Queue manager 2
Host IP address: 192.168.152.62
Listener: 1414
Queue manager name: QMGR.B
Receiver channel: ReceiverB
Sender Channel: SenderA
Local queue: Receiver.QueueB
Remote Queue:Remote.QueueB
Transmission Queue= Transmit.Queue
but sender channels on both sides keep retrying
and i get below errors in logs on both hosts
12/17/2015 06:15:40 PM - Process(9885.1) User(mqm) Program(runmqchl)
Host(MQjboss-ssl1)
AMQ9547: Type of remote channel not suitable for action requested.
EXPLANATION:
The operation requested cannot be performed because channel 'SenderA' on the
remote machine is not of a suitable type. For example, if the local channel is
defined as a sender the remote machine must define its channel as either a
receiver or requester.
ACTION:
Check that the channel name is specified correctly. If it is, check that the
remote channel has been defined correctly.
----- cmqxrfpt.c : 469 --------------------------------------------------------
12/17/2015 06:15:40 PM - Process(9885.1) User(mqm) Program(runmqchl)
Host(MQjboss-ssl1)
AMQ9780: Channel to remote machine '192.168.152.62(1414)' is ending due to an
error.
Please suggest
Regards[/img] |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Dec 17, 2015 11:57 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You are trying to connect SenderA to SenderA _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
Vitor |
Posted: Thu Dec 17, 2015 12:49 pm Post subject: Re: MQ-To MQ configuration problem |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
brunelian wrote: |
Please suggest |
Your channel configuration is wrong. Review the samples. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Dec 17, 2015 1:12 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
mqjeff wrote: |
You are trying to connect SenderA to SenderA |
Your sender channel on qmgr1 must connect to the receiver channel on qmgr2. _________________ 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 |
|
 |
brunelian |
Posted: Sun Dec 20, 2015 12:45 pm Post subject: |
|
|
Newbie
Joined: 17 Dec 2015 Posts: 5
|
Originally I created senderB channel on QMGR.B but logs on server with QMGR.A was saying there is no definiton of senderA channel on remote location. I just created new channel SenderA on QMGR.B . It is illogical but that error vanished. but now its saying channel is not of suitable type.
And I have created receiver B channel so it should communicate with it?
why its not happy with sender channel |
|
Back to top |
|
 |
bruce2359 |
Posted: Sun Dec 20, 2015 1:45 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
What instructions are you following to create sender-receiver channels between qmgrs?
http://www-01.ibm.com/support/knowledgecenter/SSFKSJ_7.5.0/com.ibm.mq.explorer.doc/bi00239_.htm describes how to do this with the IMQ Explorer.
MQ channels send messages only in one direction - from sender to receiver. The Sender channel must identify the precise connection name of the Receiver end of the channel. The channel names of both ends must be identical.
Let's start over with a channel between qmgr1 and qmgr2. Use runmqsc on qmgr1 to DISPLAY your sender channel definition. Use runmqsc on qmgr2 to DISPLAY the receiver channel definition. Please post both here. _________________ 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 |
|
 |
brunelian |
Posted: Mon Dec 21, 2015 9:49 am Post subject: |
|
|
Newbie
Joined: 17 Dec 2015 Posts: 5
|
Hi I have already defined connection (ip(port number of listener)
in sender channel properties are below
Channel name:SenderA
type:Sender
connection name: 192.168.152.62(1414)
Transmission queue: Transmit.Queue |
|
Back to top |
|
 |
brunelian |
Posted: Mon Dec 21, 2015 10:01 am Post subject: |
|
|
Newbie
Joined: 17 Dec 2015 Posts: 5
|
bruce2359 wrote: |
What instructions are you following to create sender-receiver channels between qmgrs?
http://www-01.ibm.com/support/knowledgecenter/SSFKSJ_7.5.0/com.ibm.mq.explorer.doc/bi00239_.htm describes how to do this with the IMQ Explorer.
MQ channels send messages only in one direction - from sender to receiver. The Sender channel must identify the precise connection name of the Receiver end of the channel. The channel names of both ends must be identical.
Let's start over with a channel between qmgr1 and qmgr2. Use runmqsc on qmgr1 to DISPLAY your sender channel definition. Use runmqsc on qmgr2 to DISPLAY the receiver channel definition. Please post both here. |
I am going to create sender channel fromAtoB on QMGR.A and also receiver channel as fromAtoB on QMGR.B and will try. I will update you
Thanks for suggestion
Regards |
|
Back to top |
|
 |
brunelian |
Posted: Mon Dec 21, 2015 10:06 am Post subject: |
|
|
Newbie
Joined: 17 Dec 2015 Posts: 5
|
Hi All,
Thank you all . Yes bruce you were right channel names must be same on both sides.
On one side sender channel is fromAtoB and on other side receiver channel is fromAtoB
Thanks again to all. Now my next step is to configure ssl communication
Cheers |
|
Back to top |
|
 |
|