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 » General IBM MQ Support » SDR channel inactive despite the trigger on xmitq

Post new topic  Reply to topic
 SDR channel inactive despite the trigger on xmitq « View previous topic :: View next topic » 
Author Message
mqlover
PostPosted: Mon Oct 03, 2016 9:54 pm    Post subject: SDR channel inactive despite the trigger on xmitq Reply with quote

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
View user's profile Send private message
hughson
PostPosted: Mon Oct 03, 2016 11:40 pm    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
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
View user's profile Send private message Visit poster's website
mqlover
PostPosted: Tue Oct 04, 2016 1:09 am    Post subject: Reply with quote

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
View user's profile Send private message
hughson
PostPosted: Tue Oct 04, 2016 1:13 am    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
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
View user's profile Send private message Visit poster's website
mqlover
PostPosted: Tue Oct 04, 2016 2:08 am    Post subject: Reply with quote

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
View user's profile Send private message
exerk
PostPosted: Tue Oct 04, 2016 2:45 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Tue Oct 04, 2016 5:37 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
hughson
PostPosted: Tue Oct 04, 2016 2:23 pm    Post subject: Reply with quote

Padawan

Joined: 09 May 2013
Posts: 1914
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
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Tue Oct 04, 2016 6:15 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
mqlover
PostPosted: Tue Oct 04, 2016 11:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
exerk
PostPosted: Wed Oct 05, 2016 12:56 am    Post subject: Reply with quote

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
View user's profile Send private message
PaulClarke
PostPosted: Sat Oct 08, 2016 8:02 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Mon Oct 10, 2016 2:27 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » SDR channel inactive despite the trigger on xmitq
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.