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 [7.0] whereas object of type
log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by
[WebappClassLoader
delegate: false
As someone already pointed out, this seems to be the real issue. Try
setting the following in felix/config.properties file or whatever
equivalent way to pass it while invoking Felix using an API:
org.osgi.framework.bootdelegation=sun.*,com.sun.*, org.apache.log4j.*
I am not suggesting this as a long term solution, but this can take us
towards the solution.
Thanks,
Sahoo