Re: using HTTPClient sending solr ping request wont timeout as specified

2010-10-13 Thread Renee Sun
Ken, looks like we posted at same time :-) thanks very much! Renee -- View this message in context: http://lucene.472066.n3.nabble.com/using-HTTPClient-sending-solr-ping-request-wont-timeout-as-specified-tp1691292p1695584.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: using HTTPClient sending solr ping request wont timeout as specified

2010-10-13 Thread Renee Sun
thanks Michael, I got it resolved last night... you are right, it is more like a HttpClient issue after I tried another link unrelated to solr. If anyone is interested, here is the working code: HttpClientParams httpClientParams = new HttpClientParams(); httpClientParams.setSoTim

Re: using HTTPClient sending solr ping request wont timeout as specified

2010-10-13 Thread Ken Krugler
I remember HTTPClient has a number of timeouts you can set. Perhaps it's the read timeout you need? -Mike -Original Message- From: Renee Sun [mailto:renee_...@mcafee.com] Sent: Tuesday, October 12, 2010 7:47 PM To: solr-user@lucene.apache.org Subject: Re: using HTTPClient se

RE: using HTTPClient sending solr ping request wont timeout as specified

2010-10-13 Thread Michael Sokolov
: Renee Sun [mailto:renee_...@mcafee.com] > Sent: Tuesday, October 12, 2010 7:47 PM > To: solr-user@lucene.apache.org > Subject: Re: using HTTPClient sending solr ping request wont > timeout as specified > > > I also added the following timeout for the

Re: using HTTPClient sending solr ping request wont timeout as specified

2010-10-12 Thread Renee Sun
I also added the following timeout for the connection, still not working: client.getParams().setSoTimeout(httpClientPingTimeout); client.getParams().setConnectionManagerTimeout(httpClientPingTimeout); -- View this message in context: http://lucene.472066.n3.nabble.com/