lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ChhabraDeepti <>
Subject LUCENE Read Time Out ERROR
Date Thu, 09 Oct 2008 03:20:48 GMT

I am using lucene for searching in my project. 
The issue that i am mainly facing is i get al lot of read time out's in the
error logs and the data is not returned back.
I m making a Data call, which returns me a XML with the result set.

I am doing this :

InputStream is = null;
HttpURLConnection conn = null;
StringBuffer searchParams = new

String url = searchParams.toString();
int response; // default to unavailable
URL writeURL = new URL(url);"Getting HttpURLConnection");
conn = (HttpURLConnection) writeURL.openConnection();
conn.setUseCaches(false);"HttpURLConnection Connecting...");
response = conn.getResponseCode(); 
At this line response = conn.getResponseCode(); i get a lot or read time out
error's and if i keep rereshing the page, i do see the results on my jsp
And i am seeing this behaviour in my local system as well as the dev and QA

Any hints/clues, what can be done to get rid of this kind of errors.

View this message in context:
Sent from the Lucene - Java Developer mailing list archive at

View raw message