Started felix in a web application, however when I install a bundle, I get the following exception:

java.net.MalformedURLException: unknown protocol: bundle
at java.net.URL.<init>(URL.java:574)
at java.net.URL.<init>(URL.java:464)
at java.net.URL.<init>(URL.java:413)
at org.springframework.osgi.io.OsgiBundleResource.get URL(OsgiBundleResource.java:114)

I had to add the following property to felix, to at least getting it started.

properties.put(FelixConstants.SERVICE_URLHANDLERS_ PROP, "false");

Any clues on how to setup the web application classloader to recognize the bundle protocol ?

BTW...This work fine when starting felix from a command line:
java -jar felix.jar and proceed with installing the spring bundles.