Hi,
Some months ago, an interesting question has been drawn about the
classloading issue of log4j class when we use pax-logging bundle within
Felix embedded in a web application.
http://www.mail-archive.com/dev@felix.apache.org/msg04908.html
I'm faced to the same issue when I would like to use Apache Karaf (top
level container of Apache Felix) deployed as a WAR.
Does anybody has find a trick to solve the classloading issue ?
INFO: locking
2010-11-18 18:08:36.667:INFO::Started selectchannelconnec...@0.0.0.0:8080
[INFO] Started Jetty Server
[INFO] Starting scanner at interval of 10 seconds.
log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not
assignable to a "org.apache.log4j.Appender" variable.
log4j:ERROR The class "org.apache.log4j.Appender" was loaded by
log4j:ERROR [4.0] whereas object of type
log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by
[contextloa...@servicemix Embedded Example].
Regards,
Charles M.
Apache Camel, ServiceMix & Karaf committer