Hi, I probably need to direct this to PAX, but I'll try here (felix dev) first... Sorry to trouble you, if anyone with felix class loader intimacy could take a look, I'd be appreciative... for a logger, this isn't critical and I'll probably just write my own simple FileLogger that implements LogService, but I suspect there are bigger issues at play... Some background...
I'm embedding felix in a class that is being run within a tomcat web-app (dot.jsp initiated - just as a driver/tester); Hence, I'm doing a 'new Felix(map, list)' and invoking the 'felix.start()' method... Here's my config.properties auto.start list: file:../webapps/craigbox/WEB-INF/lib/org.apache.felix.shell-1.0.1.jar \ file:../webapps/craigbox/WEB-INF/lib/org.osgi.compendium-1.0.1.jar \ file:../webapps/craigbox/WEB-INF/lib/org.apache.felix.scr-1.0.0.jar \ file:../webapps/craigbox/WEB-INF/lib/org.apache.felix.configadmin-1.0.1. jar \ file:../webapps/craigbox/WEB-INF/lib/pax-confman-propsloader-0.2.1.jar \ file:../webapps/craigbox/WEB-INF/lib/pax-logging-api-1.0.0.jar \ file:../webapps/craigbox/WEB-INF/lib/pax-logging-service-1.0.0.jar \ file:../webapps/craigbox/WEB-INF/lib/org.craig.play.Play01.jar Anyway, here are the applicable ERROR log entries, seemingly coming from pax: 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 repositories: ----------> Parent Classloader: [EMAIL PROTECTED] ]. log4j:ERROR Could not instantiate appender named "A1". *DEBUG* Scheduling task ManagedService Update: pid=org.ops4j.pax.logging *DEBUG* Running task ManagedService Update: pid=org.ops4j.pax.logging 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 repositories: ----------> Parent Classloader: [EMAIL PROTECTED] ]. log4j:ERROR Could not instantiate appender named "A8". DEBUG: WIRE: 8.0 -> org.osgi.service.log -> 2.0 DEBUG: WIRE: 8.0 -> org.craig.shell.telnet -> 8.0 DEBUG: WIRE: 8.0 -> org.apache.felix.shell -> 1.0 DEBUG: WIRE: 8.0 -> org.osgi.service.component -> 2.0 log4j:WARN No appenders could be found for logger (org.ops4j.pax.logging.pax-log ging-service). log4j:WARN Please initialize the log4j system properly. DEBUG: WIRE: 4.0 -> org.osgi.service.log -> 2.0 Any insight would be appreciated... not critical, but I suspect I'm not going to see the last of class loader issues, especially in an embedded environment... Thanks, Craig Phillips