harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tian galaxy <harmonymail...@gmail.com>
Subject Help needed on running felix using Harmony JRE
Date Wed, 22 Apr 2009 05:48:58 GMT
Hi all
I encountered a problem when running osgi implementation , felix-1.4.1
, using harmony jre(the one downloaded from the web
harmony-jdk-713673).Any one can help me on this problem :)
Here is the message on the console when invoking org.apache.felix.main.Main:


Welcome to Felix.
=================

java.io.IOException: openConnection(java.net.URL)
	at org.apache.felix.framework.URLHandlersStreamHandlerProxy.openConnection(URLHandlersStreamHandlerProxy.java:283)
	at java.net.URL.openConnection(URL.java:683)
	at java.net.URL.openStream(URL.java:671)
	at java.net.URLClassLoader$URLHandler.findClass(URLClassLoader.java:223)
	at java.net.URLClassLoader.findClassImpl(URLClassLoader.java:1193)
	at java.net.URLClassLoader$4.run(URLClassLoader.java:888)
	at java.net.URLClassLoader$4.run(URLClassLoader.java:1)
	at java.security.AccessController.doPrivilegedImpl(AccessController.java:171)
	at java.security.AccessController.doPrivileged(AccessController.java:64)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:890)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:489)
	at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:871)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
	at java.lang.Class.forName(Class.java:130)
	at java.lang.Class.forName(Class.java:90)
	at org.apache.felix.framework.searchpolicy.ContentClassLoader.<clinit>(ContentClassLoader.java:49)
	at org.apache.felix.framework.util.SecureAction.createContentClassLoader(SecureAction.java:567)
	at org.apache.felix.framework.searchpolicy.ContentLoaderImpl.getClass(ContentLoaderImpl.java:159)
	at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClassOrResource(R4SearchPolicyCore.java:471)
	at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClass(R4SearchPolicyCore.java:185)
	at org.apache.felix.framework.searchpolicy.R4SearchPolicy.findClass(R4SearchPolicy.java:45)
	at org.apache.felix.moduleloader.ModuleImpl.getClass(ModuleImpl.java:216)
	at org.apache.felix.framework.Felix.createBundleActivator(Felix.java:3542)
	at org.apache.felix.framework.Felix._startBundle(Felix.java:1666)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:1588)
	at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1180)
	at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:265)
	at java.lang.Thread.run(Thread.java:670)
java.io.IOException: openConnection(java.net.URL)
	at org.apache.felix.framework.URLHandlersStreamHandlerProxy.openConnection(URLHandlersStreamHandlerProxy.java:283)
	at java.net.URL.openConnection(URL.java:683)
	at java.net.URL.openStream(URL.java:671)
	at java.net.URLClassLoader$URLHandler.findClass(URLClassLoader.java:223)
	at java.net.URLClassLoader.findClassImpl(URLClassLoader.java:1193)
	at java.net.URLClassLoader$4.run(URLClassLoader.java:888)
	at java.net.URLClassLoader$4.run(URLClassLoader.java:1)
	at java.security.AccessController.doPrivilegedImpl(AccessController.java:171)
	at java.security.AccessController.doPrivileged(AccessController.java:64)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:890)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:489)
	at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:871)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
	at java.lang.Class.forName(Class.java:130)
	at java.lang.Class.forName(Class.java:90)
	at org.apache.felix.framework.searchpolicy.ContentClassLoader.<clinit>(ContentClassLoader.java:53)
	at org.apache.felix.framework.util.SecureAction.createContentClassLoader(SecureAction.java:567)
	at org.apache.felix.framework.searchpolicy.ContentLoaderImpl.getClass(ContentLoaderImpl.java:159)
	at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClassOrResource(R4SearchPolicyCore.java:471)
	at org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClass(R4SearchPolicyCore.java:185)
	at org.apache.felix.framework.searchpolicy.R4SearchPolicy.findClass(R4SearchPolicy.java:45)
	at org.apache.felix.moduleloader.ModuleImpl.getClass(ModuleImpl.java:216)
	at org.apache.felix.framework.Felix.createBundleActivator(Felix.java:3542)
	at org.apache.felix.framework.Felix._startBundle(Felix.java:1666)
	at org.apache.felix.framework.Felix.startBundle(Felix.java:1588)
	at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1180)
	at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:265)
	at java.lang.Thread.run(Thread.java:670)
-> ps
START LEVEL 1
   ID   State         Level  Name
[   0] [Active     ] [    0] System Bundle (1.4.1)
[   7] [Active     ] [    1] Apache Felix Shell Service (1.0.2)
[   8] [Active     ] [    1] Apache Felix Shell TUI (1.0.2)
[   9] [Active     ] [    1] Apache Felix Bundle Repository (1.2.1)
->

Mime
View raw message