axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans G Knudsen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-3958) ConcurrentModificationException in AxisConfiguration
Date Tue, 05 Aug 2008 11:58:44 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-3958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hans G Knudsen updated AXIS2-3958:
----------------------------------

    Attachment: patch_3958_get_endpoints_from_AxisService.txt

Hi Nandana!

On client-side (with my Scenarios) - getServices only seems to get called once - when terminating
the ConfigurationContext... So synchronzation might not be needed here...

I found out that AxisService.getEndpoints() already has the names we want to remove - so we
donot have to Iterate allEndpoints..


I have attached a patch - which uses these names when removing.




> ConcurrentModificationException in AxisConfiguration
> ----------------------------------------------------
>
>                 Key: AXIS2-3958
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3958
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>         Environment: Axis2 1.4.1 RC1 artifiacts
>            Reporter: Hans G Knudsen
>             Fix For: 1.4.1
>
>         Attachments: 3958AXIS2.patch, patch.txt, patch_3958_get_endpoints_from_AxisService.txt,
patch_3958_synchronized.txt
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message