commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert burrell donkin <robertburrelldon...@blueyonder.co.uk>
Subject Re: [Logging] [HTTPCLIENT]which version of log4j should i use
Date Wed, 07 May 2003 12:43:15 GMT
this appears to me to be a problem with your log4j configuration (rather 
than a log4j version problem).

- robert

On Thursday, May 1, 2003, at 11:25 PM, Adrian Sutton wrote:

> Jen,
> This is actually an issue with commons-logging so I've added Logging to 
> the
> subject to get the attention of people who know about that.  HttpClient
> itself doesn't handle any logging policy it just throws it all at
> commons-logging.
>
> Regards,
>
> Adrian Sutton, Software Engineer
> Ephox Corporation
> www.ephox.com
>
> -----Original Message-----
> From: Jen [mailto:xwhu_1999@yahoo.com]
> Sent: Friday, 2 May 2003 4:07 AM
> To: commons-user@jakarta.apache.org
> Subject: [HTTPCLIENT]which version of log4j should i use
>
>
> Hi,
> I just downloaded the commons-httpclient-2.0-alpha3,
> and put both commons-httpclient.jar and
> commons-logging.jar in lib directory in my classpath,
> and added the log4j-1.2.1.jar in classpath too, but I
> got the exception:
>
> Exception in thread "main" java.lang.NoSuchMethodError
>         at
> org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:300)
>         at
> org.apache.log4j.WriterAppender.append(WriterAppender.java:150)
>         at
> org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)
>
>         at
> org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders
> (AppenderAttachableImpl.java:56)
>         at
> org.apache.log4j.Category.callAppenders(Category.java:258)
>         at
> org.apache.log4j.Category.forcedLog(Category.java:454)
>         at
> org.apache.log4j.Category.log(Category.java:885)
>         at
> org.apache.commons.logging.impl.Log4JCategoryLog.warn(Log4JCategoryLo
> g.java:196)
>         at
> org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMetho
> dBase.java:2328)
>         at
> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.j
> ava:960)
>         at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav
> a:578)
>         at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav
> a:477)
>
> Do get the wrong version of log4j?
>
> Thanks
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>


Mime
View raw message