Re: HttpRecoverableException when using httpClient only in certai n situation

2004-05-05 Thread Michael Becke
Hi Jing, My guess is that Log4j is on your classpath. Commons logging is really just a facade for other logging systems. When log4j is present it will be deferred to for logging, including configuration. Mike On May 5, 2004, at 12:41 PM, Jing Chen wrote: Hi Michael, Thanks for your reply

DO NOT REPLY [Bug 24154] - Setting CONNECTION_TIMEOUT and SO_TIMEOUT on a per-method basis

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

DO NOT REPLY [Bug 24154] - Setting CONNECTION_TIMEOUT and SO_TIMEOUT on a per-method basis

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

RE: IIS (NTLM) + proxy server (NTLM or basic) problem

2004-05-05 Thread Oleg Kalnichevski
On Wed, 2004-05-05 at 21:58, Lili Liu wrote: > Hi, Oleg: > Anonymous was disabled (only NTLM is enabled). > Our customer requires Microsoft proxy server and IIS. I hope they know what they are doing > lili > > Our proxy server is using IIS 3.0, maybe that is too old. If upgrade is an option, gi

RE: IIS (NTLM) + proxy server (NTLM or basic) problem

2004-05-05 Thread Lili Liu
Hi, Oleg: Anonymous was disabled (only NTLM is enabled). Our customer requires Microsoft proxy server and IIS. lili Our proxy server is using IIS 3.0, maybe that is too old. -Original Message- From: Oleg Kalnichevski [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 11:36 AM To: Co

RE: IIS (NTLM) + proxy server (NTLM or basic) problem

2004-05-05 Thread Oleg Kalnichevski
Hi Lili, Do not give up too soon. I did test BASIC proxy (using Squid stable) + NTLM host authentication and did work. Of course, I cannot rule out that the problem is caused by some 'peculiarities' of Microsoft Proxy implementation. Please try disabling anonymous access to the host server and s

RE: IIS (NTLM) + proxy server (NTLM or basic) problem

2004-05-05 Thread Lili Liu
Hi, Oleg: I tried all cases you mentioned below, and can't get it work. (My login is domain account) I thought I had one time work in this situation, but actually I missed the line client.getHostConfiguration().setProxy(proxyserverIP, 80); If I commented out either NTLM authentication (use anoyno

RE: HttpRecoverableException when using httpClient only in certai n situation

2004-05-05 Thread Jing Chen
Hi Michael, Thanks for your reply. I was mistakenly submit the request twice - which means that I am using the single instance for multiple thread! There is another question about the log, I have setProperty for the log as follows, but I don't see any output for httpClient ... Why? System.setP

Re: [newbie] Logger Appender

2004-05-05 Thread Sam Berlin
This error generally means the log4j.properties file is not in the classpath. Thanks, Sam On Tuesday, May 4, 2004, at 10:49 PM, bagas wrote: Hi all, I try to use log4j as httpclient logger but I receive a warning : log4j:WARN No appenders could be found for logger (org.apache.commons.httpcli

RE: Yahoo login with Httpclient

2004-05-05 Thread Kalnichevski, Oleg
Frank, You can start off by taking a look at the HttpClient cookie guide and redirect guide http://jakarta.apache.org/commons/httpclient/cookies.html http://jakarta.apache.org/commons/httpclient/redirects.html If you happen to have any specific questions regarding HTTP cookies or redirect handli

RE: IIS (NTLM) + proxy server (NTLM or basic) problem

2004-05-05 Thread Kalnichevski, Oleg
Lili, There's nothing in the log that could suggest a flaw in HttpClient's authentication logic. Everything appears sane as far as the authentication is concerned. Proxy authentication was successful. The trouble appears to be caused by the NTLM host server which does not seem to accept the cre

Re: [newbie] Logger Appender

2004-05-05 Thread Ortwin Glück
log4.properties log4j.rootCategory=DEBUG, C log4j.appender.F=org.apache.log4j.FileAppender log4j.appender.F.File=C:/Temp/my.log log4j.appender.F.layout=org.apache.log4j.PatternLayout log4j.appender.F.layout.ConversionPattern = %d %-5p [%t] %c %3x - %m\n log4j.appender.N=org.apache.log4j.net.So