Issue with java.net.URL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all, 

I'm trying to use Felix with JamVM and GNU Classpath 0.91. I have built
all with succes. But when I tried to launch Felix, I got some errors
like :

ERROR: Error starting
file:bundle/org.apache.felix.bundlerepository-0.8.0-SNAPSHOT.jar
(org.osgi.framework.BundleException: Activator start error.)
java.lang.IllegalStateException: Unknown protocol: http
   at
org.apache.felix.framework.URLHandlersStreamHandlerProxy.parseURL(URLHandlersStreamHandlerProxy.java:135)
   at java.net.URL.<init>(URL.java:480)
   at java.net.URL.<init>(URL.java:325)
   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)
   at java.lang.Thread.run(Thread.java:710)

It seems that the java.net.URL constructor does not support the http
protocol. 

Does anybody get the same issue or have any idea about it please ?

Thanks for your helps;

NT





[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux