Hi,
I have a servlet which, when run, can take up to 15 minutes to provide a
reply. This servlet contains a sanity check which returns an error code if
it is called while another instance is running.
When I call this servlet using httpclient (4.0.3 // httpcore 4.1), 10
minutes after the initial call I get my "Trying to run two instances of
the servlet" message. This doesn't happen in a browser. It looks like
httpclient is reloading the URL after 10 minutes.
I tried changing the various timeout values with no change in behaviour:
HttpParams httpParams = new BasicHttpParams();
HttpConnectionParams.setConnectionTimeout(httpParams, new
Integer(1200000));
HttpConnectionParams.setSoTimeout(httpParams, new Integer(1200000));
DefaultHttpClient httpclient = new DefaultHttpClient(httpParams);
What am I missing?
L
P.S. Sorry if this comes out in HTML. I can't figure out how to change it
with Notes 7.