Author |
Message
|
mqlover |
Posted: Mon Oct 03, 2016 9:54 pm Post subject: SDR channel inactive despite the trigger on xmitq |
|
|
Disciple
Joined: 25 Jul 2010 Posts: 176
|
Hi,
I am facing a weird problem in my WMQ environment.
We have WMQ on AIX and communicating to WMQ on Windows using SDR-RCVR channel pair.
The xmitq used in the sdr channel is configured with the following parameters
define q(xmit.lq) trigger trigdata(ABC.CHL) trigtype(first) trigdpth(1) INITQ(system.channel.initq)
I observed that when the channel is inactive mode and when any messages arrive on xmitq the channel doesnt start automatically a manual restart to the channel is required.
Could anybody explain why this issue is happening and how can this rectified.
Thanks in advance. |
|
Back to top |
|
 |
hughson |
Posted: Mon Oct 03, 2016 11:40 pm Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
Your description suggests the XmitQ depth transitioned from zero to non-zero, if that's not the case and there were already messages on the XmitQ, then triggering wouldn't fire. So, probably not that from your description, but I mention it just in case.
Is your channel initiator running? These days it is started automatically, so people forget about it's job in all this, but if for some reason it has stopped, then your channels won't be triggered.
You should see it holding the SYSTEM.CHANNEL.INITQ open.
Use DISPLAY CONNAUTH or DISPLAY QSTATUS to check, or look for the runmqchi process.
Cheers
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software
Last edited by hughson on Tue Oct 04, 2016 1:14 am; edited 1 time in total |
|
Back to top |
|
 |
mqlover |
Posted: Tue Oct 04, 2016 1:09 am Post subject: |
|
|
Disciple
Joined: 25 Jul 2010 Posts: 176
|
Hi,
I observed that the channel initiator is running and also observed that nothing is held in SYSTEM.CHANNEL.INITQ.
There must be some other problem which am unable to understand.
Thanks |
|
Back to top |
|
 |
hughson |
Posted: Tue Oct 04, 2016 1:13 am Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
What about the depth of your XmitQ (my first sentence earlier)? _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
mqlover |
Posted: Tue Oct 04, 2016 2:08 am Post subject: |
|
|
Disciple
Joined: 25 Jul 2010 Posts: 176
|
The xmitq had a zero depth, when a msg arrived on xmitq its depth increased to 1, but still channel never got triggered. |
|
Back to top |
|
 |
exerk |
Posted: Tue Oct 04, 2016 2:45 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Did you try stopping the channel INACTIVE, then setting NOTRIGGER followed by TRIGGER before checking whether a message on the XMITQ would fire the channel? _________________ 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 |
|
 |
fjb_saper |
Posted: Tue Oct 04, 2016 5:37 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
mqlover wrote: |
The xmitq had a zero depth, when a msg arrived on xmitq its depth increased to 1, but still channel never got triggered. |
Your message does not yet exist. That's because it is uncommitted. Once you commit your message the channel will start...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
hughson |
Posted: Tue Oct 04, 2016 2:23 pm Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
fjb_saper wrote: |
mqlover wrote: |
The xmitq had a zero depth, when a msg arrived on xmitq its depth increased to 1, but still channel never got triggered. |
Your message does not yet exist. That's because it is uncommitted. Once you commit your message the channel will start...  |
You wouldn't expect that manually starting the channel would cause the messages to move if that were the case? _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Oct 04, 2016 6:15 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
hughson wrote: |
fjb_saper wrote: |
mqlover wrote: |
The xmitq had a zero depth, when a msg arrived on xmitq its depth increased to 1, but still channel never got triggered. |
Your message does not yet exist. That's because it is uncommitted. Once you commit your message the channel will start...  |
You wouldn't expect that manually starting the channel would cause the messages to move if that were the case? |
Possible that the interval between put and commit is too big to start the channel automatically. At that point the queue depth is greater than 0 and the trigger is no longer firing...? _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqlover |
Posted: Tue Oct 04, 2016 11:42 pm Post subject: |
|
|
Disciple
Joined: 25 Jul 2010 Posts: 176
|
As suggested, I altered the xmitq to NOTRIGGER and stopped the channel and then altered the xmitq to TRIGGER and started the channel.
Despite of this change, the channel doesnt start automatically when the msg arrives on xmitq.
The DISCINT(6000), so I donot think this interval is causing any problem. |
|
Back to top |
|
 |
exerk |
Posted: Wed Oct 05, 2016 12:56 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
mqlover wrote: |
As suggested, I altered the xmitq to NOTRIGGER and stopped the channel and then altered the xmitq to TRIGGER and started the channel... |
Where in my post did I say to start the channel?
exerk wrote: |
Did you try stopping the channel INACTIVE, then setting NOTRIGGER followed by TRIGGER before checking whether a message on the XMITQ would fire the channel? |
And also take note of fjb_saper's comment in regard to ensuring the message is committed. _________________ 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 |
|
 |
PaulClarke |
Posted: Sat Oct 08, 2016 8:02 pm Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
Is the channel really called ABC.CHL ? That sounds more like a placeholder value than a real value to me. _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Oct 10, 2016 2:27 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
PaulClarke wrote: |
Is the channel really called ABC.CHL ? That sounds more like a placeholder value than a real value to me. |
Or a channel of the wrong type... (not a sender / server channel).  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|