[
https://issues.apache.org/jira/browse/AXIS2-5329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13283550#comment-13283550
]
Tomas Forsman commented on AXIS2-5329:
--------------------------------------
I'm using Karaf 2.2.7
I've installed the list of bundles listed in the comment (16/Oct/11 18:46) by
Andreas Veithen in the following issue:
https://issues.apache.org/jira/browse/AXIS2-4902.
I created a custom karaf dist with the bundles installed, attaching it as a zip.
To reproduce:
unzip axis2-karaf-example.zip
cd axis2-karaf
mvn clean install
./run.sh
karaf@axis2-karaf> bundle:list
START LEVEL 100 , List Threshold: 35
ID State Blueprint Level Name
[ 42] [Active ] [ ] [ 35] Axiom Impl (1.2.13)
[ 43] [Active ] [ ] [ 35] JavaMail 1.4 (1.7.1)
[ 44] [Active ] [ ] [ 35] Activation 1.1 (1.1)
[ 45] [Active ] [ ] [ 35] Apache JAMES Mime4j (Core) (0.7.2)
[ 46] [Active ] [ ] [ 35] Axiom DOM (1.2.13)
[ 47] [Active ] [ ] [ 35] Axiom API (1.2.13)
[ 49] [Active ] [ ] [ 40] org.apache.axis2.osgi (1.0.0.2)
[ 50] [Active ] [ ] [ 40] geronimo-jms_1.1_spec (1.1.1)
[ 51] [Active ] [ ] [ 40] geronimo-jta_1.1_spec (1.1.1)
[ 52] [Active ] [ ] [ 40] Apache ServiceMix :: Bundles ::
wsdl4j (1.6.2.6)
[ 53] [Active ] [ ] [ 40] Web Services Metadata 2.0 (1.1.3)
[ 54] [Active ] [ ] [ 40] geronimo-servlet_2.5_spec (1.2)
[ 55] [Active ] [ ] [ 40] Apache Geronimo JAX-RS 1.1 API (1.0)
[ 56] [Active ] [ ] [ 40] Commons FileUpload (1.2.2)
[ 57] [Active ] [ ] [ 40] Commons IO (2.3.0)
[ 58] [Active ] [ ] [ 40] Apache ServiceMix :: Bundles ::
commons-httpclient (3.1.0.7)
[ 59] [Active ] [ ] [ 40] Commons Codec (1.6.0)
[ 60] [Active ] [ ] [ 40] Apache Neethi (3.0.2)
[ 61] [Active ] [ ] [ 40] Woden - API (1.0.0)
[ 62] [Active ] [ ] [ 40] Woden - Commons (1.0.0)
[ 63] [Active ] [ ] [ 40] XmlSchema (1.4.7)
[ 64] [Active ] [ ] [ 40] Apache Felix Http Bundle (2.2.0)
[ 65] [Active ] [ ] [ 40] Stax2 API (3.1.1)
[ 66] [Active ] [ ] [ 40] Woodstox XML-processor (4.1.2)
[ 67] [Active ] [ ] [ 40] Apache ServiceMix :: Specs :: Stax
API 1.0 (1.9.0)
[ 68] [Active ] [ ] [ 40] Apache Geronimo Bundles:
httpcore-4.0.1 (4.0.1.1)
karaf@axis2-karaf> bundle:stop 49
karaf@axis2-karaf> bundle:start 49
karaf@axis2-karaf> bundle:stop 49
karaf@axis2-karaf> bundle:start 49
karaf@axis2-karaf> bundle:stop 49
karaf@axis2-karaf> bundle:start 49
karaf@axis2-karaf> ERROR: Bundle org.apache.axis2.osgi [49] 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)
> 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: [email protected]
For additional commands, e-mail: [email protected]