You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Adrian Tarau <ad...@daxtechnologies.com> on 2006/08/23 18:14:33 UTC

Clear queue exception

I got this exception when I tried to clear a queue(I'm in the same 
process so I have access to the queue directly).

java.util.ConcurrentModificationException
    at 
java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:617)
    at java.util.LinkedList$ListItr.remove(LinkedList.java:585)
    at org.apache.activemq.broker.region.Queue.purge(Queue.java:578)

Re: Clear queue exception

Posted by Adrian Tarau <ad...@daxtechnologies.com>.
Great, thanks

James Strachan wrote:
> On 8/23/06, Adrian Tarau <ad...@daxtechnologies.com> wrote:
>> I got this exception when I tried to clear a queue(I'm in the same
>> process so I have access to the queue directly).
>>
>> java.util.ConcurrentModificationException
>>     at
>> java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:617)
>>     at java.util.LinkedList$ListItr.remove(LinkedList.java:585)
>>     at org.apache.activemq.broker.region.Queue.purge(Queue.java:578)
>
>
> This is a known issue
>
> http://issues.apache.org/activemq/browse/AMQ-890
>
> John Heitmann has kindly submitted a patch which will hopefully be 
> applied soon
>


Re: Clear queue exception

Posted by James Strachan <ja...@gmail.com>.
On 8/23/06, Adrian Tarau <ad...@daxtechnologies.com> wrote:
> I got this exception when I tried to clear a queue(I'm in the same
> process so I have access to the queue directly).
>
> java.util.ConcurrentModificationException
>     at
> java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:617)
>     at java.util.LinkedList$ListItr.remove(LinkedList.java:585)
>     at org.apache.activemq.broker.region.Queue.purge(Queue.java:578)


This is a known issue

http://issues.apache.org/activemq/browse/AMQ-890

John Heitmann has kindly submitted a patch which will hopefully be applied soon

-- 

James
-------
http://radio.weblogs.com/0112098/