Re: Httpclient won't run in JUnit

2004-01-31 Thread Michael Czeiszperger
On Jan 31, 2004, at 6:26 AM, Oleg Kalnichevski wrote: I confirm that the problem is perfectly reproducible with Sun JDK 1.2.2 (simple logger used per default) and Sun JDK 1.4.2 (JDK logger used per default). However, what I discovered is that the problem occurred only when using SwingUI. The same

Re: Httpclient won't run in JUnit

2004-01-31 Thread Oleg Kalnichevski
Michael, I confirm that the problem is perfectly reproducible with Sun JDK 1.2.2 (simple logger used per default) and Sun JDK 1.4.2 (JDK logger used per default). However, what I discovered is that the problem occurred only when using SwingUI. The same code runs without a hitch using TextUI. I un

Re: Httpclient won't run in JUnit

2004-01-30 Thread Michael Czeiszperger
On Jan 29, 2004, at 5:10 PM, Michael Becke wrote: Looks like a class loader problem. My guess is that commons-logging is being loaded by more than one class loader. I figured that since HttpClient uses JUnit for its test suite that HttpClient had to be compatible with JUnit. Here's the most s

Re: Httpclient won't run in JUnit

2004-01-30 Thread Michael Czeiszperger
On Jan 30, 2004, at 3:44 AM, Ortwin Glück wrote: Michael Czeiszperger wrote: java.lang.ExceptionInInitializerError Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.comons.logging.impl.Jdk14Logger does not im

Re: Httpclient won't run in JUnit

2004-01-30 Thread Ortwin Glück
Michael Czeiszperger wrote: java.lang.ExceptionInInitializerError Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.comons.logging.impl.Jdk14Logger does not implement Log This happens when there is an old ver

Re: Httpclient won't run in JUnit

2004-01-29 Thread Michael Becke
Hi Michael, Looks like a class loader problem. My guess is that commons-logging is being loaded by more than one class loader. Mike On Jan 29, 2004, at 4:43 PM, Michael Czeiszperger wrote: I apologize for asking a user-type question on the dev list, but the common's user list was unable to h

Re: Httpclient won't run in JUnit

2004-01-29 Thread Oleg Kalnichevski
Michael, HttpClient is dependent on commons-logging library like many other Jakarta Commons components. You have to have commons-logging.jar on your classpath to be able to run HttpClient. You can obtain the commons-logging.jar at the following location: http://jakarta.apache.org/commons/loggin

Httpclient won't run in JUnit

2004-01-29 Thread Michael Czeiszperger
I apologize for asking a user-type question on the dev list, but the common's user list was unable to help, and I've been working on this for two weeks with no luck. HttpClient is supposed to work within JUnit since there's a test suite that uses JUnit. Unfortunately whenever I try to use Http