I saw that one of the ways to solve it is by adding a system property
"log4j.ignoreTCL" = true. Is it a good  solution? Or it may have side
effects in OSGI environment?


lili_ili wrote:
> 
> I am developing in OSGI Glassfish 3.1 environment. log4j.jar is loaded as
> OSGI bundle  (wrapped as com.springsource.org.apache.log4j bundle), and
> log4j.jar also exists in the domain lib. 
> 
> log4j:ERROR A "org.apache.log4j.RollingFileAppender" object is not
> assignable to a "org.apache.log4j.Appender" variable.|#]
> 
> 

-- 
View this message in context: 
http://old.nabble.com/%22object-is-not-assignable%22-in-OSGI-environment-tp33087002p33102830.html
Sent from the Log4j - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to