axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Lustig" <Marc.Lus...@loyaltypartner.com>
Subject AW: ConcurrentModificationException in Axis2 code ! - SEVERE bug?
Date Tue, 20 Feb 2007 15:00:11 GMT
Hi Michele,

thanks for the hint. However I don't think this is causing the Exception because it occurs
on the server-side, and this bug appears to be in the client-API of Axis2.
Or is the client-API also called when webservice-requests are consumed?

regards
Marc

> -----Urspr√ľngliche Nachricht-----
> Von: Michele Mazzucco [mailto:Michele.Mazzucco@ncl.ac.uk] 
> Gesendet: Dienstag, 20. Februar 2007 15:00
> An: axis-user@ws.apache.org
> Betreff: Re: ConcurrentModificationException in Axis2 code ! 
> - SEVERE bug?
> 
> Marc,
> 
> try to have a look to https://issues.apache.org/jira/browse/AXIS2-1053
> It it is the same problem, the workaround I've found is
> 
> 
> public class Foo {
>  private static Object lock = new Object();  // ... 
> 
>  private void send() { 
>      // initialization here 
> 
>     synchronized(lock) { 
>       sender.engageModule(...); 
>    }
>  }
> } 
> 
> 
> Regards,
> Michele
> 
> On Tue, 2007-02-20 at 14:46 +0100, Marc Lustig wrote:
> > Hi,
> > 
> > I am simply releasing 50 asynchronous requests on Axis2 and as a 
> > result this appears in the log:
> > 
> > 
> > 
> > 	java.util.ConcurrentModificationException
> > 	at
> > 
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOp
> > er
> > ation.java:271)
> > 	at
> > 
> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxi
> > sO
> > peration.java:202)
> > 
> > 
> > Anybody having an idea what's going on and how to prevent this?
> > 
> > regards
> > Marc
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
> 
> 

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


Mime
View raw message