ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | oscar List | April 2007 Index

<--  Date Index  --> <--  Thread Index  -->

Re: [oscar] Moving to Felix


Dear Richard,

I've read carefully your URL Handler explanation (and apologize for
making you copy/paste the corresponding Felix FAQ entry) but I still
couldn't make it work.

Our virtual machine runtime jarfile has a package
com.acunia.wonka.net.http, in which there is a Handler class that
extends java.net.URLStreamHandler.

Accordingly, my config.properties file contains the following:

# Define protocol and content handlers
org.osgi.framework.bootdelegation=com.acunia.*,wonka.*
java.protocol.handler.pkgs=com.acunia.wonka.net
java.content.handler.pkgs=com.acunia.wonka.net

(Was I right in specifying the bootdelegation part?)

Unfortunately, even with this I still get the same error at the end of
this email.

Any idea what I am doing wrong?

Best regards,

David

On Tue, 2007-03-27 at 18:30 +0200, Richard S. Hall wrote:
> > Welcome to Felix.
> > =================
> >
> > DEBUG: WIRE: 1.0 -> org.osgi.service.packageadmin -> 0
> > DEBUG: WIRE: 1.0 -> org.ungoverned.osgi.service.shell -> 1.0
> > DEBUG: WIRE: 1.0 -> org.osgi.service.startlevel -> 0
> > DEBUG: WIRE: 1.0 -> org.osgi.framework -> 0
> > DEBUG: WIRE: 1.0 -> org.apache.felix.shell -> 1.0
> > DEBUG: WIRE: 2.0 -> org.osgi.framework -> 0
> > DEBUG: WIRE: 2.0 -> org.apache.felix.shell -> 1.0
> > DEBUG: WIRE: 3.0 -> org.osgi.service.obr -> 3.0
> > DEBUG: WIRE: 3.0 -> org.osgi.framework -> 0
> > -> ERROR: Error starting
> > file:bundle/org.apache.felix.bundlerepository-0.8.0-incubator.jar
> > (org.osgi.framework.BundleException: Activator start error.)
> > java.lang.IllegalStateException: Unknown protocol: http
> >         at
> > org.apache.felix.framework.URLHandlersStreamHandlerProxy.parseURL(URLHandlersStreamHandlerProxy.java:132)
> >         at java.net.URL.<init>(URL.java:129)
> >         at
> > org.apache.felix.bundlerepository.RepositoryAdminImpl.<init>(RepositoryAdminImpl.java:73)
> >         at
> > org.apache.felix.bundlerepository.Activator.start(Activator.java:35)
> >         at
> > org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
> >         at
> > org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
> >         at org.apache.felix.framework.Felix.startBundle(Felix.java:1201)
> >         at
> > org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
> >         at
> > org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)

--
--------------------------------------------------
David Lindelöf
Product Developer
Adhoco AG
Technopark
Jagerstrasse 2
8406 Winterhur
tel +41-52-203.2903
mob +41-79-415.6641
fax +41-52-203.2904
e-mail david.lindelof@xxxxxxxxxx
url http://www.adhoco.com
weblog http://visnet.ch/~lindelof/smartbuildings/
--------------------------------------------------

Maybe ain't ain't so correct, but I notice that lots of folks who ain't
using ain't ain't eatin' well.
                -- Will Rogers



<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.