You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Ceki Gülcü <ce...@qos.ch> on 2002/07/13 00:39:36 UTC

Re: Testing log4j - not assignable to a "org.apache.log4j.Appender" variable error

Hi,


The root cause of this problem, that is the [object is not assignable
to a "org.apache.log4j.Appender"] complaint, stems from having two
copies of log4j classes available to your application. Simply ensure
that only one copy of log4j-x.x.jar is available and the problem will
go away.

At 18:53 12.07.2002 -0300, Reg Sherwood wrote:
>Hi,
>
>log4j:ERROR Could not instantiate appender named "A2".
>log4j:ERROR A "org.apache.log4j.net.SocketAppender" object is not 
>assignable to a "org.apache.log4j.Appender" variable.
>log4j:ERROR Could not instantiate appender named "A2".
>log4j: Parsing for [root] with value=[,A2].
>log4j: Parsing appender named "A2".
>log4j: Finished configuring.
>log4j:ERROR A "org.apache.log4j.net.SocketAppender" object is not 
>assignable to a "org.apache.log4j.Appender" variable.
>log4j:ERROR Could not instantiate appender named "A2".
>
>Any thoughts,
>
>Thanks
>
>-Reg

--
Ceki


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>