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 » listener

Post new topic  Reply to topic Goto page 1, 2  Next
 listener « View previous topic :: View next topic » 
Author Message
bkiran2020
PostPosted: Fri Jan 21, 2011 9:25 pm    Post subject: listener Reply with quote

Master

Joined: 20 Jan 2011
Posts: 243
Location: US

Can we remove msg from a queue when the Queue manager listener is stopped ??
Back to top
View user's profile Send private message
exerk
PostPosted: Sat Jan 22, 2011 3:44 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

Have you stopped the listener and tried it? Perhaps you should read the manuals for an explanation of exactly what a listener is, and what it does.
_________________
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: Sat Jan 22, 2011 3:32 pm    Post subject: Re: listener Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20697
Location: LI,NY

bkiran2020 wrote:
Can we remove msg from a queue when the Queue manager listener is stopped ??

you'd have to be on the same box and have a bindings connection....

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Sat Jan 22, 2011 5:08 pm    Post subject: Re: listener Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

fjb_saper wrote:
bkiran2020 wrote:
Can we remove msg from a queue when the Queue manager listener is stopped ??

you'd have to be on the same box and have a bindings connection....


Really?

Are you sure?

Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Jan 22, 2011 11:56 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20697
Location: LI,NY

Haven't tried it lately. But if that doesn't work the answer is no as any client connection will need at least one qmgr listener to be up on the relevant qmgr.
Note that the OP did not specify anything about the qmgr status. It is implied here that the qmgr is running and accessible via runmqsc (meaning an application (mo71, WMQ ...) should be able to use a bindings connection), that the user has sufficient privileges etc... If the qmgr is stopped it is impossible...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Sun Jan 23, 2011 7:09 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

AFAIK, stopping a listener does not affect existing connections.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Jan 23, 2011 10:08 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20697
Location: LI,NY

mqjeff wrote:
AFAIK, stopping a listener does not affect existing connections.

Dah Possibly incorrect assumption on my part that the OP intended to establish a new connection...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Sun Jan 23, 2011 11:03 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

fjb_saper wrote:
Possibly incorrect assumption on my part that the OP intended to establish a new connection...


It' s . Only the OP knows for sure.
Back to top
View user's profile Send private message
tanght
PostPosted: Thu Feb 24, 2011 10:29 pm    Post subject: Reply with quote

Novice

Joined: 04 Jan 2011
Posts: 15

I think I tried to clear some system queue msgs after I bring down the listener and keep the mstr live.

z/os environment.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Feb 25, 2011 6:52 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9405
Location: US: west coast, almost. Otherwise, enroute.

Quote:
I think I tried to clear some system queue msgs after I bring down the listener and keep the mstr live.

Did you try? Or only think that you tried?

If you tried, what ReasonCode or other error did you receive?
_________________
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
tanght
PostPosted: Thu Mar 10, 2011 12:42 am    Post subject: Reply with quote

Novice

Joined: 04 Jan 2011
Posts: 15

bruce2359 wrote:
Quote:
I think I tried to clear some system queue msgs after I bring down the listener and keep the mstr live.

Did you try? Or only think that you tried?

If you tried, what ReasonCode or other error did you receive?



No error, it went through.
The msgs in the SYSTEM.CLUSTER.** (I forgot the name, maybe xmit.queue) were cleared.

here is what happened:

one of the pageset (persistent msgs inside) was full and the system was not able to pick up any more cluster command. I checked and noticed that one of the system cluster queue contained a lot of msgs. I tried to clear the msgs however it showed to me "queue in use". I tried to stop the cluster chls however I still was not able to clear the queue.
Finally I stopped the chin and was able to clear the msgs, I believe it is because that there were no more chls using the queue due to CHIN was down.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Mar 10, 2011 4:29 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9405
Location: US: west coast, almost. Otherwise, enroute.

All of this activity was due to a full pageset? A simple(r) and more direct solution would be to expand the pageset.
_________________
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
PeterPotkay
PostPosted: Thu Mar 10, 2011 4:21 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7716

bruce2359 wrote:
All of this activity was due to a full pageset? A simple(r) and more direct solution would be to expand the pageset.


Assuming there was room on the physical disk.

I wonder what damage tanght did. Deleted application messages from the cluster transmit queue, causing loss of business data? Or cluster admin messages from the cluster transmit queue / cluster command queue? Or internal repository messages from the cluster repository queues? Sure hope it was a lab environment.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Mar 10, 2011 7:22 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9405
Location: US: west coast, almost. Otherwise, enroute.

Likely enough damage to make me nervous; and recreate the qmgr... or restore from a backup - if any.
_________________
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
tanght
PostPosted: Thu Mar 10, 2011 11:18 pm    Post subject: Reply with quote

Novice

Joined: 04 Jan 2011
Posts: 15

bruce2359 wrote:
All of this activity was due to a full pageset? A simple(r) and more direct solution would be to expand the pageset.


It was a testing machines, and the msgs were only testing msgs. it was not not passed to front-end cluster qmgr due to the server not up.

the point is: when you stop the chin, you can still work with your queues.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General Discussion » listener
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.