[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4j-dev
Subject:    Re: "object is not assignable" in OSGI environment
From:       lili_ili <svetloe () gmail ! com>
Date:       2012-01-08 15:59:44
Message-ID: 33102830.post () talk ! nabble ! com
[Download RAW message or body]


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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic