Hello Lalit,

> While using HttpClient in multithreaded environment I am getting following 
> error:
> 
> java.util.ConcurrentModificationException
>       at 
> java.util.AbstractList$Itr.checkForComodification(AbstractList.java:448)
>       at java.util.AbstractList$Itr.next(AbstractList.java:419)
>       at 
> org.apache.commons.httpclient.HeaderGroup.getHeaders(HeaderGroup.java:142)
>       at 
> org.apache.commons.httpclient.HttpMethodBase.addCookieRequestHeader(HttpMethodBase.java:1167)

Make sure that each HttpMethod is used by only one thread at a time.
In other words, each thread has to create it's own method.

cheers,
  Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to