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 Discussion » MQ Sender Channel Going Inactive

Post new topic  Reply to topic
 MQ Sender Channel Going Inactive « View previous topic :: View next topic » 
Author Message
punitks
PostPosted: Mon Jul 06, 2009 3:38 am    Post subject: MQ Sender Channel Going Inactive Reply with quote

Newbie

Joined: 06 Jul 2009
Posts: 4

I have a scheduled job to Stop and Start the MQ Manager to clear unwanted messages lying in the queue. This job runs everyday in the morning.

The jobs been running as expected for the last 6 odd months, until recently when the MQ Sender Channel started going inactive after the MQ Manager was Stopped/Started. I have to manaully start the Sender Channel for the messages to bein flowing.

An idea what might be causing this?
Back to top
View user's profile Send private message
exerk
PostPosted: Mon Jul 06, 2009 3:45 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Check the triggering settings on the XMITQ for that channel...and why stop/start the queue manager to clear messages in which queue?
_________________
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
WMBDEV1
PostPosted: Mon Jul 06, 2009 3:57 am    Post subject: Re: MQ Sender Channel Going Inactive Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

punitks wrote:
I have a scheduled job to Stop and Start the MQ Manager to clear unwanted messages lying in the queue.


Sledge hammer to crack a nut?
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jul 06, 2009 4:00 am    Post subject: Re: MQ Sender Channel Going Inactive Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

punitks wrote:
I have a scheduled job to Stop and Start the MQ Manager to clear unwanted messages lying in the queue. This job runs everyday in the morning.


This is a very odd thing to want to do, or need to do. There are a number of better solutions, including designing your system so unwanted messages don't pile up in the first place. One of the key problems is your method won't clear out unwanted messages set to be persistent!

punitks wrote:
The jobs been running as expected for the last 6 odd months, until recently when the MQ Sender Channel started going inactive after the MQ Manager was Stopped/Started. I have to manaully start the
Sender Channel for the messages to bein flowing.


An inactive channel is not a problem. It's only a problem if it doesn't start running when there's a message to transmit. So is it that messages don't flow, or that the channel status shows as inactive after queue manager start and that's spooked you?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
punitks
PostPosted: Mon Jul 06, 2009 4:04 am    Post subject: Reply with quote

Newbie

Joined: 06 Jul 2009
Posts: 4

The messages do not flow unless i manually start the sender channel. This is the main issue I am facing...
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jul 06, 2009 4:08 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

punitks wrote:
The messages do not flow unless i manually start the sender channel. This is the main issue I am facing...


Aside from the poor design that has unwanted messages sitting in queues, or the really poor decision to bounce the queue manager to get rid of them?

Check the triggering settings as my most worthy apprentice points out, also check that the channel initiator is running properly after the bounce.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
punitks
PostPosted: Mon Jul 06, 2009 5:22 am    Post subject: Reply with quote

Newbie

Joined: 06 Jul 2009
Posts: 4

Changed the Transmission Queue setings and it works.. thnx....
Never mind the MQ Manager Bounce, thats for a different purpose altogether....

thnx anyways
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Mon Jul 06, 2009 5:45 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

punitks wrote:

Never mind the MQ Manager Bounce, thats for a different purpose


Must have been me (and others) misinterpreting the really vague statement.....

Quote:
Stop and Start the MQ Manager to clear unwanted messages lying in the queue


Glad you got your trigger working though.


Last edited by WMBDEV1 on Mon Jul 06, 2009 6:28 am; edited 1 time in total
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jul 06, 2009 6:19 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

punitks wrote:
Never mind the MQ Manager Bounce, thats for a different purpose altogether....


So the purpose has changed since your original post? Now that's what I call a fast moving environment! There are very few good purposes that include a queue manager being bounced.

Your next purpose is to discover how the xmitq settings were changed; it's highly unlikely they changed themselves!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
punitks
PostPosted: Tue Jul 07, 2009 12:45 am    Post subject: Reply with quote

Newbie

Joined: 06 Jul 2009
Posts: 4

Could you suggest how to delete the messages in a queue without stopping the Queue Manager? I have tried different commands but none works since the Queue manager is UP

This MQ is accessed thru CL commands on an AS/400[/img][/code][/quote]
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jul 07, 2009 1:38 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

punitks wrote:
Could you suggest how to delete the messages in a queue without stopping the Queue Manager?


Any number of support pacs will achieve this, or any of the other methods a search of this forum will turn up.

punitks wrote:
I have tried different commands but none works since the Queue manager is UP


Most of the commands won't work with the queue manager down! The principle commands don't work while the queue is in use, a limitation the support pacs (and other methods) don't share.

Presumably the reason for the queue manager bounce has now changed again?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Tue Jul 07, 2009 1:45 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

And if you only want your messages to exist for a certain period of time why not set a message expiry?
Back to top
View user's profile Send private message
sumit
PostPosted: Tue Jul 07, 2009 4:57 am    Post subject: Reply with quote

Partisan

Joined: 19 Jan 2006
Posts: 398

Why are the messages going to this queue when you don't even need them?

punitks wrote:
I have tried different commands but none works since the Queue manager is UP

The correct understanding should be, you were not able to remove messages because some process must had opened the queue object at that instant.
_________________
Regards
Sumit
Back to top
View user's profile Send private message Yahoo Messenger
jhidalgo
PostPosted: Wed Jul 08, 2009 11:51 am    Post subject: Reply with quote

Disciple

Joined: 26 Mar 2008
Posts: 161

punitks wrote:
Could you suggest how to delete the messages in a queue without stopping the Queue Manager? I have tried different commands but none works since the Queue manager is UP

This MQ is accessed thru CL commands on an AS/400


you can CLEAR them, GET them or set the expiry to what ever works for you, stopping the qmgr is really stupid in this case, what will you do with persistent messages ?
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 » General Discussion » MQ Sender Channel Going Inactive
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.