Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 60629 invoked from network); 8 Apr 2011 11:32:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Apr 2011 11:32:37 -0000 Received: (qmail 30781 invoked by uid 500); 8 Apr 2011 11:32:37 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 30745 invoked by uid 500); 8 Apr 2011 11:32:36 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 30737 invoked by uid 99); 8 Apr 2011 11:32:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Apr 2011 11:32:36 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=FREEMAIL_FROM,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 216.139.236.26 is neither permitted nor denied by domain of dcheckoway@gmail.com) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Apr 2011 11:32:31 +0000 Received: from joe.nabble.com ([192.168.236.139]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1Q89v8-000125-Bt for users@activemq.apache.org; Fri, 08 Apr 2011 04:32:10 -0700 Date: Fri, 8 Apr 2011 04:32:10 -0700 (PDT) From: dcheckoway To: users@activemq.apache.org Message-ID: <1302262330227-3435952.post@n4.nabble.com> Subject: ConcurrentModificationException in embedded 5.5.0 broker MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, We just migrated from ActiveMQ 5.4.2 to ActiveMQ 5.5.0. So far so good, with one exception (pun not intended). In one case where we have an embedded broker, we're seeing this exception get logged on occasion: WARNING; 08-Apr-2011 11:11:41; tid:45931; TransportConnection stopAsync; cannot create async transport stopper thread.. not waiting for stop to complete, reason: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793) at java.util.HashMap$EntryIterator.next(HashMap.java:834) at java.util.HashMap$EntryIterator.next(HashMap.java:832) at java.util.HashMap.putAllForCreate(HashMap.java:435) at java.util.HashMap.(HashMap.java:225) at org.slf4j.helpers.BasicMDCAdapter.getCopyOfContextMap(BasicMDCAdapter.java:130) at org.slf4j.MDC.getCopyOfContextMap(MDC.java:182) at org.apache.activemq.util.MDCHelper.getCopyOfContextMap(MDCHelper.java:30) at org.apache.activemq.broker.TransportConnection.stopAsync(TransportConnection.java:946) at org.apache.activemq.broker.TransportConnection.processShutdown(TransportConnection.java:353) at org.apache.activemq.command.ShutdownInfo.visit(ShutdownInfo.java:35) at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:306) at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:179) at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:116) at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:69) at org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:218) at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:127) at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Up until this morning, I had only seen that logged during shutdown of the app context. But just now, it popped out independently, out of the blue. For what it's worth, here's the app context config: " producerFlowControl="false" memoryLimit="20mb"/> Has anybody else seen this ConcurrentModificationException happening with 5.5.0 (or otherwise)? Any ideas? ----- Dan Checkoway dcheckoway gmail com -- View this message in context: http://activemq.2283324.n4.nabble.com/ConcurrentModificationException-in-embedded-5-5-0-broker-tp3435952p3435952.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.