harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Fedotov <alexei.fedo...@gmail.com>
Subject Re: Help needed on running felix using Harmony JRE
Date Wed, 22 Apr 2009 08:22:50 GMT
Hi all,
It looks like the exception is re-thrown by Felix after some reflection
manipulations, see line 283 at
http://www.google.com/codesearch/p?hl=en#livTLX-Cm5k/trunk/framework/src/main/java/org/apache/felix/framework/URLHandlersStreamHandlerProxy.java&q=org.apache.felix.framework.URLHandlersStreamHandlerProxy%20%22throw%20new%20IOException(ex.getMessage())%3B%22

BTW, while downloading files from
http://archive.apache.org/dist/harmony/milestones/M8/ I experienced
connection breaks breaks every minute.


On Wed, Apr 22, 2009 at 9:48 AM, tian galaxy <harmonymail.ty@gmail.com>wrote:

> 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)
> ->
>



-- 
With best regards / с наилучшими пожеланиями,
Alexei Fedotov / Алексей Федотов,
http://www.telecom-express.ru/
http://people.apache.org/~aaf/ <http://people.apache.org/%7Eaaf/>
http://harmony.apache.org/
http://code.google.com/p/openmeetings/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message