Author |
Message
|
psiracusa |
Posted: Tue Dec 12, 2006 11:37 am Post subject: Can't Clear Messages |
|
|
Apprentice
Joined: 17 Nov 2006 Posts: 34
|
Has anybody ever seen a problem where messages are on a queue, the queue depth is at 100, but you can't browse or get messages off the queue? I've used amqsget, rfhutil and the api clear from the Explorer and it just comes back and says there aren't any messages on the queue. |
|
Back to top |
|
 |
kevinf2349 |
Posted: Tue Dec 12, 2006 11:42 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Could they be uncommitted messages maybe? |
|
Back to top |
|
 |
psiracusa |
Posted: Tue Dec 12, 2006 11:48 am Post subject: |
|
|
Apprentice
Joined: 17 Nov 2006 Posts: 34
|
Well, that was it. Very odd, I haven't seen that before. I was using the rfhutilc to put messages on a queue and a WAS process was attached as a consumer. The rfhutil process wouldn't release the messages until I closed the .exe
Thanks! |
|
Back to top |
|
 |
Gaya3 |
Posted: Tue Dec 12, 2006 11:16 pm Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
Hi
Anyway its strange behaviour,
1. Are there any process attached to this queue, and it still running.
if it is there kill it and try to clear the messages.
*** Some times the process locks the resource what it is using ****
2. This is a worst option:
you can delete the queue and recreate it. but i wont suggest you this.
Please let us know the status
Thanks and Regards
Gayathri _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
kevinf2349 |
Posted: Wed Dec 13, 2006 5:50 am Post subject: |
|
|
 Grand Master
Joined: 28 Feb 2003 Posts: 1311 Location: USA
|
Quote: |
1. Are there any process attached to this queue, and it still running.
|
Quote: |
and a WAS process was attached as a consumer. |
 |
|
Back to top |
|
 |
garyprmr |
Posted: Thu Dec 14, 2006 3:03 am Post subject: |
|
|
Acolyte
Joined: 03 Sep 2005 Posts: 74
|
Check for the IPROC AND OPROC attribute of queue , if they have any count in that , runmqsc clear command does'nt work . Please check that could also be the case with rfcutil I guess . |
|
Back to top |
|
 |
Vitor |
Posted: Thu Dec 14, 2006 3:22 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
garyprmr wrote: |
. Please check that could also be the case with rfcutil I guess . |
But you can (unless the other process has an exclusive lock on the queue) use it to destructively read all the messages off.
Not elegant but.... _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|