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.setSoTimeout(timeout);
        // set connection parameters
        HttpConnectionManagerParams httpConnectionMgrParams = new
HttpConnectionManagerParams();
        httpConnectionMgrParams.setConnectionTimeout(timeout); // connection
                                                               // timeout
        HttpConnectionManager httpConnectionMgr = new
SimpleHttpConnectionManager();
        httpConnectionMgr.setParams(httpConnectionMgrParams);
        // create httpclient
        HttpClient client = new HttpClient(httpClientParams,
httpConnectionMgr);

        HttpMethod method = new GetMethod(solrReq);

thanks
Renee
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/using-HTTPClient-sending-solr-ping-request-wont-timeout-as-specified-tp1691292p1695551.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to