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 » Listener Stopping... but does not stop...

Post new topic  Reply to topic
 Listener Stopping... but does not stop... « View previous topic :: View next topic » 
Author Message
MikeClark
PostPosted: Thu Feb 04, 2010 12:54 pm    Post subject: Listener Stopping... but does not stop... Reply with quote

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
View user's profile Send private message Visit poster's website
mvic
PostPosted: Thu Feb 04, 2010 1:13 pm    Post subject: Re: Listener Stopping... but does not stop... Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

What version / fix pack of MQ are you running?
Back to top
View user's profile Send private message
MikeClark
PostPosted: Thu Feb 04, 2010 7:35 pm    Post subject: Re: Listener Stopping... but does not stop... Reply with quote

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
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Thu Feb 04, 2010 8:28 pm    Post subject: Re: Listener Stopping... but does not stop... Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Thu Feb 04, 2010 11:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
mvic
PostPosted: Fri Feb 05, 2010 2:25 am    Post subject: Re: Listener Stopping... but does not stop... Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

MikeClark wrote:
I'm not sure about the fix pack. How do you tell?

Run:
Code:
dspmqver
Back to top
View user's profile Send private message
exerk
PostPosted: Fri Feb 05, 2010 2:28 am    Post subject: Re: Listener Stopping... but does not stop... Reply with quote

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
View user's profile Send private message
mvic
PostPosted: Fri Feb 05, 2010 2:34 am    Post subject: Re: Listener Stopping... but does not stop... Reply with quote

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
View user's profile Send private message
MikeClark
PostPosted: Fri Feb 05, 2010 3:05 pm    Post subject: Re: Listener Stopping... but does not stop... Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Listener Stopping... but does not stop...
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.