This looks like a concurrency bug; could you raise a JIRA for this please?

On 3/23/07, drvillo <[EMAIL PROTECTED]> wrote:

Hi all

today my service stopped consuming messages, after ~2 hours since it was
started.
The exceptions thrown are the followings, after this the consumer has
stopped
to consume the messages.


2007-03-23 18:26:18,573 [ool-1-thread-21] ERROR ServerSessionPoolImpl
- Error redispatching unconsumed messages from stale session
java.lang.IndexOutOfBoundsException: Index: 73, Size: 73
        at
edu.emory.mathcs.backport.java.util.concurrent.CopyOnWriteArrayList.remove(CopyOnWriteArrayList.java:346)
        at
org.apache.activemq.ra.ServerSessionPoolImpl.getServerSession(ServerSessionPoolImpl.java:104)
        at
org.apache.activemq.ra.ServerSessionPoolImpl.dispatchToSession(ServerSessionPoolImpl.java:138)
        at
org.apache.activemq.ra.ServerSessionPoolImpl.removeFromPool(ServerSessionPoolImpl.java:180)
        at
org.apache.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:179)
        at
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:290)
        at
org.apache.geronimo.connector.work.pool.NamedRunnable.run(NamedRunnable.java:32)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:619)
2007-03-23 18:26:18,575 [ol-1-thread-127] ERROR ServerSessionPoolImpl
- Error redispatching unconsumed messages from stale session
java.lang.IndexOutOfBoundsException: Index: 67, Size: 67
        at
edu.emory.mathcs.backport.java.util.concurrent.CopyOnWriteArrayList.remove(CopyOnWriteArrayList.java:346)
        at
org.apache.activemq.ra.ServerSessionPoolImpl.getServerSession(ServerSessionPoolImpl.java:104)
        at
org.apache.activemq.ra.ServerSessionPoolImpl.dispatchToSession(ServerSessionPoolImpl.java:138)
        at
org.apache.activemq.ra.ServerSessionPoolImpl.removeFromPool(ServerSessionPoolImpl.java:180)
        at
org.apache.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:179)
        at
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:290)
        at
org.apache.geronimo.connector.work.pool.NamedRunnable.run(NamedRunnable.java:32)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:619)
2007-03-23 18:26:18,583 [ol-1-thread-116] ERROR ServerSessionPoolImpl
- Error redispatching unconsumed messages from stale session
java.lang.IndexOutOfBoundsException: Index: 65, Size: 65
        at
edu.emory.mathcs.backport.java.util.concurrent.CopyOnWriteArrayList.remove(CopyOnWriteArrayList.java:346)
        at
org.apache.activemq.ra.ServerSessionPoolImpl.getServerSession(ServerSessionPoolImpl.java:104)
        at
org.apache.activemq.ra.ServerSessionPoolImpl.dispatchToSession(ServerSessionPoolImpl.java:138)
        at
org.apache.activemq.ra.ServerSessionPoolImpl.removeFromPool(ServerSessionPoolImpl.java:180)
        at
org.apache.activemq.ra.ServerSessionImpl.run(ServerSessionImpl.java:179)
        at
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java:290)
        at
org.apache.geronimo.connector.work.pool.NamedRunnable.run(NamedRunnable.java:32)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:619)


Any hint?

Thanks
Francesco
--
View this message in context: 
http://www.nabble.com/ArrayIndexOutOfBoundsException-tf3455975s2354.html#a9642025
Sent from the ActiveMQ - User mailing list archive at Nabble.com.




--

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

Reply via email to