You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by "Li, Francis" <Fr...@FMR.COM> on 2007/07/04 13:49:26 UTC

HttpClient hung on remote connection.

Hi there, 

We have problem with HttpClient 3.0 or 3.01, we use
MultiThreadedHttpConnectionManager() for connection pool of 50.
Timeout is set to 60 Second and we are running application on websphere
6.02. sometime we have web container thread hung detected from WAS for
more than 600 Seconds. From our trace code after we call executeMethod
is our last call, it won't come back from httpclient...

It will end up hang all the work threads. Then we have to restart the
AppServer, we don't have this issue with httpClient 2.0.

Any suggestion and advice?

thanks in advance

--Francis.


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


Re: HttpClient hung on remote connection.

Posted by Roland Weber <RO...@de.ibm.com>.
Hello Francis,

this sounds very much as if your connections are not released properly.
Make sure they are released in a finally {} clause, even in case of an
exception being thrown.

hope that helps,
  Roland