-
Jan 5th, 2007, 07:26 AM
#1
Cannot resolve bundle: url handler
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules