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 AE2E710EAA for ; Thu, 13 Mar 2014 23:58:11 +0000 (UTC) Received: (qmail 38495 invoked by uid 500); 13 Mar 2014 23:57:58 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 38401 invoked by uid 500); 13 Mar 2014 23:57:53 -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 38250 invoked by uid 99); 13 Mar 2014 23:57:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Mar 2014 23:57:48 +0000 Date: Thu, 13 Mar 2014 23:57:48 +0000 (UTC) From: "Hudson (JIRA)" To: java-dev@axis.apache.org Message-ID: In-Reply-To: References: 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=13934318#comment-13934318 ] Hudson commented on AXIS2-5329: ------------------------------- SUCCESS: Integrated in Axis2 #2565 (See [https://builds.apache.org/job/Axis2/2565/]) AXIS2-5329: * Remove the explicit invocation of OSGiConfigurationContextFactory#update and instead let the config admin service do its job. * Correctly handle the simultaneous dependency on ConfigurationContext and HttpService for the registration of the OSGiAxisServlet: instead of tracking the HttpService, we track the ConfigurationContext and register the servlet via the HTTP whiteboard service. (veithen: rev 1577348) * /axis/axis2/java/core/trunk/modules/osgi-tests/pom.xml * /axis/axis2/java/core/trunk/modules/osgi-tests/src/test/java/OSGiTest.java * /axis/axis2/java/core/trunk/modules/osgi/src/org/apache/axis2/osgi/internal/Activator.java > 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 > Attachments: Activator.java, OSGiAxis2ServletLifecycleManager.java, Patch_5329.7z, axis2-karaf-example.zip, pom.xml, pom_unformatted.xml > > > 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 was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org