Author |
Message
|
MikeClark |
Posted: Thu Feb 04, 2010 12:54 pm Post subject: Listener Stopping... but does not stop... |
|
|
 Apprentice
Joined: 17 Feb 2004 Posts: 27 Location: Olympia, WA
|
A most odd problem that suddenly cropped up. I have a Listener that is in a constant "Stopping" state, but it never actually stops. The error log seems to indicate that it was successfully started after stopping/restarting the Queue Manager, but then apparently a second Listener start command was issued.
Any ideas? _________________ "...a long habit of not thinking a thing wrong, gives it a superficial appearance of being right..." [Tom Paine] |
|
Back to top |
|
 |
mvic |
Posted: Thu Feb 04, 2010 1:13 pm Post subject: Re: Listener Stopping... but does not stop... |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
What version / fix pack of MQ are you running? |
|
Back to top |
|
 |
MikeClark |
Posted: Thu Feb 04, 2010 7:35 pm Post subject: Re: Listener Stopping... but does not stop... |
|
|
 Apprentice
Joined: 17 Feb 2004 Posts: 27 Location: Olympia, WA
|
mvic wrote: |
What version / fix pack of MQ are you running? |
v6, specifically 6.0.2.1
I'm not sure about the fix pack. How do you tell?
Among the other interesting characteristics of this problem is that when you stop/restart the QMgr, any messages sitting in queues vanish into the bitbucket (including in queues marked as Persistent). _________________ "...a long habit of not thinking a thing wrong, gives it a superficial appearance of being right..." [Tom Paine] |
|
Back to top |
|
 |
Vitor |
Posted: Thu Feb 04, 2010 8:28 pm Post subject: Re: Listener Stopping... but does not stop... |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
MikeClark wrote: |
Among the other interesting characteristics of this problem is that when you stop/restart the QMgr, any messages sitting in queues vanish into the bitbucket (including in queues marked as Persistent). |
I'm forced to repeat (as has been said many times in here) that queues are not persistent - messages are persistent. What the default is on the queue is not directly relevant.
If you have messages flagged as persistent that disappear into the bit bucket, then it's time for a PMR. That should not happen. Ever. Especially in a version that recent. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Feb 04, 2010 11:37 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
when you stop/restart the QMgr, any messages sitting in queues vanish into the bitbucket |
It sounds to me like the messages in queues at restart were likely non-persistent. Non-persistent messages are discarded at restart - as described in the WMQ APR and APG manuals. _________________ 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 |
|
 |
mvic |
Posted: Fri Feb 05, 2010 2:25 am Post subject: Re: Listener Stopping... but does not stop... |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
MikeClark wrote: |
I'm not sure about the fix pack. How do you tell? |
Run:
|
|
Back to top |
|
 |
exerk |
Posted: Fri Feb 05, 2010 2:28 am Post subject: Re: Listener Stopping... but does not stop... |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
MikeClark wrote: |
mvic wrote: |
What version / fix pack of MQ are you running? |
v6, specifically 6.0.2.1
I'm not sure about the fix pack. How do you tell? |
THIS explains all... _________________ 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 |
|
 |
mvic |
Posted: Fri Feb 05, 2010 2:34 am Post subject: Re: Listener Stopping... but does not stop... |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
MikeClark wrote: |
when you stop/restart the QMgr, any messages sitting in queues vanish into the bitbucket (including in queues marked as Persistent). |
What you observe is how MQ deals with non-persistent messages, if they are on a queue marked NPMCLASS(NORMAL) at the time the queue manager is restarted. If they are on a queue marked NPMCLASS(HIGH) when the queue manager is restarted, then MQ does not take this action against non-persistent messages.
(Note what Vitor says about queue attributes (which only contain an advisory statement on persistence) vs. the per-message attributes (which contain whether that message is actually persistent).) |
|
Back to top |
|
 |
MikeClark |
Posted: Fri Feb 05, 2010 3:05 pm Post subject: Re: Listener Stopping... but does not stop... |
|
|
 Apprentice
Joined: 17 Feb 2004 Posts: 27 Location: Olympia, WA
|
Thanks for the responses... I guess I realized that messages rather than queues are persistent. In any case, everything went back to normal after I recreated the queue and the listener. Don't think the listener state was having any effect on the queue's behavior, but its back to proper behavior now.
Anyway, messages are now retained upon QMgr restart, so that's fixed, too. _________________ "...a long habit of not thinking a thing wrong, gives it a superficial appearance of being right..." [Tom Paine] |
|
Back to top |
|
 |
|