Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-3958

ConcurrentModificationException in AxisConfiguration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.1
    • kernel
    • None
    • Axis2 1.4.1 RC1 artifiacts

    Description

      Hi!

      I ran into a :

      java.util.ConcurrentModificationException
      at java.util.HashMap$HashIterator.nextEntry(HashMap.java:841)
      at java.util.HashMap$KeyIterator.next(HashMap.java:877)
      at org.apache.axis2.engine.AxisConfiguration.removeServiceGroup(AxisConfiguration.java:395)
      at org.apache.axis2.client.ServiceClient.cleanup(ServiceClient.java:813)

      In my testsetup I run 5 concurrent threads each running a series of request .

      • all creating a new ServiceClient pr request
      • reusing the same ConfigurationContext.

      /hans

      Attachments

        1. patch.txt
          1.0 kB
          Amila Chinthaka Suriarachchi
        2. patch_3958_synchronized.txt
          1 kB
          Hans G Knudsen
        3. patch_3958_get_endpoints_from_AxisService.txt
          2 kB
          Hans G Knudsen
        4. 3958AXIS2.patch
          6 kB
          Nandana Mihindukulasooriya

        Activity

          People

            Unassigned Unassigned
            hgk.lenio Hans G Knudsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: