2010/3/2 Ken Krugler <[email protected]> > I haven't used HttpClient 3.1 for a very long time, but... > > [snip] > > INFO | jvm 1 | 2010/03/01 10:14:56 | 2010/03/01 10:14:56:968 MEZ >> [DEBUG] HttpMethodDirector - Closing the connection. >> INFO | jvm 1 | 2010/03/01 10:14:56 | 2010/03/01 10:14:56:968 MEZ >> [DEBUG] HttpMethodDirector - Method retry handler returned false. Automatic >> recovery will not be attempted >> > This looks like you don't have retries enabled, or the retry count might be > too low. > > no, I don't have enabled something like retries. Do you have a doc where I can find it?
> >> INFO | jvm 1 | 2010/03/01 10:14:56 | 2010/03/01 10:14:56:968 MEZ >> [DEBUG] HttpConnection - Releasing connection back to connection manager. >> INFO | jvm 1 | 2010/03/01 10:14:56 | 2010/03/01 10:14:56:968 MEZ >> [DEBUG] HttpConnection - Releasing connection back to connection manager. >> >> INFO | jvm 1 | 2010/03/01 10:10:41 | 2010/03/01 10:10:41:125 MEZ >> [DEBUG] HttpConnection - Releasing connection back to connection manager. >> >> as far as I know I don't get any exception. >> >> After this errors I restart apache and all works like expected. >> During the restart I get a timeout. (also part from the logs) >> > > When you say you get a timeout, do you mean that the log file has an > exception in it? And so this is what you'd expect? > > yes, I expect an error (exception) but I don't get it. I double check my code and I would expect a msg in the log when an exception 'll be raised by the httpclient lib. > My question is: why do I not get an exception >> >> and further can someone look into the logs and give me a hint. The >> question is: is this an expect behaviour when the webserver don't work >> correct? When not: how can I isolate the problem at my httpclient lib usage? >> Does any have any similare problems and or experience with a problem like >> this? >> > > Don't know if something is swallowing an exception - normally I'd expect to > see a connection timeout, for example. > > I would try logging again, this time at the trace level, to see if more > context is returned. And a wire log for the failure case, so you'd see > exactly what's coming back from the server. > Current I use debug as log level. I think with this I get as such messages as possible? > > -- Ken > > -------------------------------------------- > Ken Krugler > +1 530-210-6378 > http://bixolabs.com > e l a s t i c w e b m i n i n g > > > regard Dietmar
