Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-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 E599CCDE9 for ; Fri, 25 May 2012 11:30:26 +0000 (UTC) Received: (qmail 25983 invoked by uid 500); 25 May 2012 11:30:26 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 25524 invoked by uid 500); 25 May 2012 11:30:23 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 25508 invoked by uid 99); 25 May 2012 11:30:23 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 May 2012 11:30:23 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 608881418B6 for ; Fri, 25 May 2012 11:30:23 +0000 (UTC) Date: Fri, 25 May 2012 11:30:23 +0000 (UTC) From: "Sagara Gunathunga (JIRA)" To: java-dev@axis.apache.org Message-ID: <1907140899.1388.1337945423398.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1037137220.1384.1337945183520.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (AXIS2-5329) ConcurrentModificationException from org.apache.axis2.osgi during startup 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/AXIS2-5329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13283309#comment-13283309 ] Sagara Gunathunga commented on AXIS2-5329: ------------------------------------------- Can you provide detailed steps to reproduce this issue ? OSGI container, list of installed bundles etc ? > ConcurrentModificationException from org.apache.axis2.osgi during startup > ------------------------------------------------------------------------- > > Key: AXIS2-5329 > URL: https://issues.apache.org/jira/browse/AXIS2-5329 > Project: Axis2 > Issue Type: Bug > Components: modules > Affects Versions: 1.6.2 > Environment: Linux, Karaf using felix, > Reporter: Tomas Forsman > > I receive the following exception during startup of the axis2 osgi bundle: > ERROR: Bundle org.apache.axis2.osgi [77] EventDispatcher: Error during dispatch. (java.util.ConcurrentModificationException) > java.util.ConcurrentModificationException > at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372) > at java.util.AbstractList$Itr.next(AbstractList.java:343) > at org.apache.axis2.osgi.deployment.tracker.BundleTracker$1.bundleChanged(BundleTracker.java:68) > at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807) > at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729) > at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:949) > at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54) > at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:106) > at java.lang.Thread.run(Thread.java:662) > From looking at the code, I guess that a quick fix would be to make the following method synchronized: > OSGiConfigurationContextFactory.updated(Dictionary dictionary) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org