axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michele Mazzucco (JIRA)" <>
Subject [jira] Created: (AXIS2-1053) ConcurrentModificationException when concurrent threads try to engage the Addressing module
Date Mon, 21 Aug 2006 09:53:13 GMT
ConcurrentModificationException when concurrent threads try to engage the Addressing module

                 Key: AXIS2-1053
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: client-api
         Environment: Windows XP SP2, mac OS X 10.4.7, jdk 1.5.0_06, axis2 nightly build 17/08/06
            Reporter: Michele Mazzucco
            Priority: Critical
         Attachments: test.tar.gz

Multiple sender objects are used to concurrently send (asynchronous) messages. The threads
are created using a ExecutorService object and each thread creates a ServiceClient using the
provided configuration, which is:

ConfigurationContext configurationContext =

HttpClient httpClient = new HttpClient(new

The problem arises when the threads try to (concurrently) engage the Addressing module:
Exception in thread "pool-1-thread-2" java.util.ConcurrentModificationException
     [java]     at java.util.AbstractList$Itr.checkForComodification(
     [java]     at java.util.AbstractList$
     [java]     at org.apache.axis2.engine.Phase.addHandler(
     [java]     at org.apache.axis2.phaseresolver.PhaseHolder.addHandler(
     [java]     at org.apache.axis2.phaseresolver.PhaseResolver.engageModuleToOperation(
     [java]     at org.apache.axis2.description.AxisOperation.engageModuleToOperation(
     [java]     at org.apache.axis2.description.AxisOperation.engageModule(
     [java]     at org.apache.axis2.description.AxisService.engageModule(
     [java]     at org.apache.axis2.client.ServiceClient.engageModule(
     [java]     at
     [java]     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
     [java]     at java.util.concurrent.ThreadPoolExecutor$
     [java]     at

Please find attached a sample application (a readme file including the build instructions
is probvided) to reproduce the problem.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


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

View raw message