4 Replies Latest reply: Sep 23, 2010 1:08 AM by 807581 RSS

    java.util.ConcurrentModificationException

    807581
      Hi

      Some brokers in the cluster getting this error. It causes the messages to not get received by consumers

      [02/Jun/2010:20:40:56 EDT] ERROR Unable to remove remote consumer Consumer - Q:Test:[consumer:1234552112, type=NONE]:
      java.util.ConcurrentModificationException
      at java.util.HashMap$HashIterator.nextEntry(HashMap.java:841)
      at java.util.HashMap$ValueIterator.next(HashMap.java:871)
      at com.sun.messaging.jmq.util.lists.WeakValueHashMap$ValueIterator.hasNext(WeakValueHashMap.java:357)
      at com.sun.messaging.jmq.util.lists.NFLPriorityFifoSet.addAllOrdered(NFLPriorityFifoSet.java:798)
      at com.sun.messaging.jmq.util.lists.NFLPriorityFifoSet.addAllOrdered(NFLPriorityFifoSet.java:677)
      at com.sun.messaging.jmq.util.lists.NFLPriorityFifoSet$FilterSet.addAllOrdered(NFLPriorityFifoSet.java:310)
      at com.sun.messaging.jmq.jmsserver.core.Consumer.destroyConsumer(Consumer.java:488)
      at com.sun.messaging.jmq.jmsserver.core.Consumer.destroyConsumer(Consumer.java:369)
      at com.sun.messaging.jmq.jmsserver.core.cluster.BrokerConsumers.removeConsumer(MultibrokerRouter.java:789)

      I also see

      Unexpected Broker Exception: [ session ]:
      java.util.ConcurrentModificationException
      at java.util.HashMap$HashIterator.nextEntry(HashMap.java:841)
      at java.util.HashMap$ValueIterator.next(HashMap.java:871)
      at com.sun.messaging.jmq.util.lists.WeakValueHashMap$ValueIterator

      but not as often as the first. Any suggestions?

      We using MQ 4.3

      Thxz!