axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Schmidt (JIRA)" <>
Subject [jira] [Commented] (AXIS2-5329) ConcurrentModificationException from org.apache.axis2.osgi during startup
Date Wed, 12 Feb 2014 14:19:19 GMT


Andy Schmidt commented on AXIS2-5329:

Oh, sorry! That happens because I am using the auto-formatting and code-cleanup feature of
eclipse before saving.

What are the changes of the pom:
1. Added scr auto-generation (maven-scr-plugin)
2. Added dependency to artifact 'org.apache.felix.scr.annotations' to use scr annotations
in  class OSGiAxis2ServletLifecycleManager
3. Added dependencies to artifects 'org.osgi.compendium' and 'org.osgi.core' with version
4.3.1 and removed the dependencies of the felix osgi core and compendium artifacts
4. upgrade to the latest maven-bundle-plugin version
5. use bundle as singelton via changing bundle symbolic name (+ ;singleton:=true)
6. set bundle activation policy to lazy (<Bundle-ActivationPolicy>lazy</Bundle-ActivationPolicy>)
7. Changed package imports via removing some unnecessary hard version package versions (should
be set by maven bundle plugin)

> ConcurrentModificationException from org.apache.axis2.osgi during startup
> -------------------------------------------------------------------------
>                 Key: AXIS2-5329
>                 URL:
>             Project: Axis2
>          Issue Type: Bug
>          Components: modules
>    Affects Versions: 1.6.2
>         Environment: Linux, Karaf using felix, 
>            Reporter: Tomas Forsman
>         Attachments:,, Patch_5329.7z,, 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(
> 	at java.util.AbstractList$
> 	at org.apache.axis2.osgi.deployment.tracker.BundleTracker$1.bundleChanged(
> 	at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(
> 	at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(
> 	at
> 	at org.apache.felix.framework.util.EventDispatcher.access$000(
> 	at org.apache.felix.framework.util.EventDispatcher$
> 	at
> From looking at the code, I guess that a quick fix would be to make the following method
> OSGiConfigurationContextFactory.updated(Dictionary dictionary)

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message