Author |
Message
|
bkiran2020 |
Posted: Fri Jan 21, 2011 9:25 pm Post subject: listener |
|
|
 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 |
|
 |
exerk |
Posted: Sat Jan 22, 2011 3:44 am Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Sat Jan 22, 2011 3:32 pm Post subject: Re: listener |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
mqjeff |
Posted: Sat Jan 22, 2011 5:08 pm Post subject: Re: listener |
|
|
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 |
|
 |
fjb_saper |
Posted: Sat Jan 22, 2011 11:56 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
mqjeff |
Posted: Sun Jan 23, 2011 7:09 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
AFAIK, stopping a listener does not affect existing connections. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sun Jan 23, 2011 10:08 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
mqjeff |
Posted: Sun Jan 23, 2011 11:03 am Post subject: |
|
|
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 |
|
 |
tanght |
Posted: Thu Feb 24, 2011 10:29 pm Post subject: |
|
|
 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 |
|
 |
bruce2359 |
Posted: Fri Feb 25, 2011 6:52 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 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 |
|
 |
tanght |
Posted: Thu Mar 10, 2011 12:42 am Post subject: |
|
|
 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 |
|
 |
bruce2359 |
Posted: Thu Mar 10, 2011 4:29 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 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 |
|
 |
PeterPotkay |
Posted: Thu Mar 10, 2011 4:21 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
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 |
|
 |
bruce2359 |
Posted: Thu Mar 10, 2011 7:22 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 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 |
|
 |
tanght |
Posted: Thu Mar 10, 2011 11:18 pm Post subject: |
|
|
 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 |
|
 |
|