Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EED46844E for ; Tue, 16 Aug 2011 13:33:51 +0000 (UTC) Received: (qmail 95016 invoked by uid 500); 16 Aug 2011 13:33:51 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 94849 invoked by uid 500); 16 Aug 2011 13:33:50 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 94840 invoked by uid 99); 16 Aug 2011 13:33:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Aug 2011 13:33:50 +0000 X-ASF-Spam-Status: No, hits=-2001.1 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Aug 2011 13:33:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id CAF14BF76C for ; Tue, 16 Aug 2011 13:33:28 +0000 (UTC) Date: Tue, 16 Aug 2011 13:33:28 +0000 (UTC) From: "Hondong (JIRA)" To: dev@activemq.apache.org Message-ID: <1608420239.41216.1313501608827.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1770125323.43800.1302270545667.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (AMQ-3276) ConcurrentModificationException in embedded 5.5.0 broker MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-3276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085692#comment-13085692 ] Hondong commented on AMQ-3276: ------------------------------ You can download it here: http://repo.fusesource.com/nexus/content/repositories/releases/org/apache/activemq/apache-activemq/5.5.0-fuse-00-43/ > ConcurrentModificationException in embedded 5.5.0 broker > -------------------------------------------------------- > > Key: AMQ-3276 > URL: https://issues.apache.org/jira/browse/AMQ-3276 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 5.5.0 > Environment: jdk 1.6.0_24, Spring 3.0.5, ActiveMQ 5.5.0, Camel 2.7.0, slf4j 1.6.1 > Reporter: Dan Checkoway > Assignee: Gary Tully > Fix For: 5.6.0 > > > 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: > > id="embeddedActivemqBroker" > useJmx="true" > persistent="true" > schedulerSupport="false" > advisorySupport="false" > enableStatistics="true"> > > > > > > > > > concurrentStoreAndDispatchQueues="false"/> > > > Has anybody else seen this ConcurrentModificationException happening with 5.5.0 (or otherwise)? Any ideas? > I suppose I should also mention that we're using slf4j 1.6.1. Not sure if that has anything to do with this, since the stack trace does show it happening in slf4j land... > > org.slf4j > slf4j-api > 1.6.1 > runtime > > > org.slf4j > slf4j-jdk14 > 1.6.1 > runtime > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira