On Sunday 30 March 2008 22:29, Stuart McCulloch wrote:
> log4j:ERROR Could not parse url [bundle://6.0:1/log4j.xml].
>  java.net.MalformedURLException: unknown protocol: bundle

The URL support via bundle manifests are no longer supported. Disappeared 
before the 1.0 release.

Also, the fact that you get MalformedURLException for "bundle:" is probably 
related to that your Servlet container (or other part of an application 
server) grabs the URLStreamHandlerFactory in the JVM, and Felix is unable to 
install one. This is a JDK issue more than a Felix issue, but IIRC there are 
some hacks available... Check with Felix guys.
Not sure how Log4J tries to pull that off at all. Not related to Pax Logging 
AFAICT.

So, when it comes to Configuration of the Log4J backend, Pax Logging only 
supports that a complete "Log4J Properties File"-format is sent to the 
SERVICE_PID="org.ops4j.pax.logging"
I agree it is not ideal, but the only one I could come up with that gives a 
predictable result and is "Production Setup Friendly".


Cheers
-- 
Niclas Hedhman, Software Developer

I  live here; http://tinyurl.com/2qq9er
I  work here; http://tinyurl.com/2ymelc
I relax here; http://tinyurl.com/2cgsug

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to