Cannot use HttpClient to search google

2004-07-11 Thread Vincent Chain
I am encountering an interesting issue, and I guess the issue is probably not within the HttpClient itself, but I haven't figured out how to make it work yet. I am using the 2.0 version. What I try to do is simple enough: I want to use HttpClient to simulate a typical browser request to

Re: Cannot use HttpClient to search google

2004-07-11 Thread Adrian Sutton
htmlheadtitle403 Forbidden/title blockquoteH1Forbidden/H1Your client does not have permission to get URL code/search?hl=enamp;ie=UTF-8amp;q=sql+server+trace/code from this server. (Client IP address: xx.xx.xx.xx)brbrPlease see Google's Terms of Service posted at

Re: Wire log to Log4J logger.

2004-07-11 Thread Eric Bloch
Hey Folks, I'm having trouble making httpclient 2.0 use log4j logging inside Tomcat5 (when running against java 1.4). Seems as though tomcat5 makes some call to the the commons logger early on (see below). Tomcat5 doesn't come with log4j... so the commons logging default log factory

Re: Cannot use HttpClient to search google

2004-07-11 Thread Vincent Chain
Well, I view this as a technical question. I have no intention to use the code for automated querying and this is for my experiment of the HttpClient. Google happens to be the URL i choose. There could be another host that does similar things as google, but does not enforce similar terms. And the

Re: Wire log to Log4J logger.

2004-07-11 Thread Michael Becke
Hi Eric, I would suggest posting this question to the commons-logging and tomcat folks. This one is pretty well out of our scope. Mike On Jul 11, 2004, at 9:16 PM, Eric Bloch wrote: Hey Folks, I'm having trouble making httpclient 2.0 use log4j logging inside Tomcat5 (when running against

DO NOT REPLY [Bug 29636] - Setting different MAX_HOST_CONNECTION values per host using a single MultiThreadedHttpConnectionManager

2004-07-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=29636. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

DO NOT REPLY [Bug 29636] - Setting different MAX_HOST_CONNECTION values per host using a single MultiThreadedHttpConnectionManager

2004-07-11 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://issues.apache.org/bugzilla/show_bug.cgi?id=29636. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.

Re: Cannot use HttpClient to search google

2004-07-11 Thread Adrian Sutton
Hi Vincent, While I appreciate that your intentions are not malicious and that you may well be within the terms of Google's service, I would very much prefer to avoid the potential issues altogether by not working around Google's technical limitations. For experimenting with HttpClient I'd