You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Romain Rouvoy <ro...@lifl.fr> on 2009/07/17 11:01:11 UTC
Felix 1.8 / JamVM 1.5.2 / Nokia N800
Hi guys,
I am currently trying to execute Felix 1.8 on a Nokia N800 running
JamVM 1.5.2.
However, I get the following error when executing the command "obr
list":
> ERROR: Error parsing repository metadata
> java.nio.channels.UnresolvedAddressException
> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java:
> 160)
> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
> at java.net.Socket.connect(Socket.java:454)
> at java.net.Socket.connect(Socket.java:414)
> at
> gnu
> .java
> .net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java: 721)
> at
> gnu
> .java
> .net
> .protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:
> 802)
> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
> at
> gnu
> .java
> .net
> .protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java: 219)
> at
> gnu
> .java
> .net
> .protocol
> .http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:426)
> at java.net.URLConnection.getContentLength(URLConnection.java:302)
> at
> gnu
> .java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java: 79)
> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
> at
> gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:286)
> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
> at
> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:209)
> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
> at
> org
> .apache
> .felix
> .bundlerepository
> .RepositoryImpl.setLastmodified(RepositoryImpl.java: 162)
> at java.lang.reflect.VMMethod.invoke(Native Method)
> at java.lang.reflect.Method.invoke(Method.java:327)
> at
> org
> .apache
> .felix
> .bundlerepository
> .metadataparser
> .XmlCommonHandler.startElement(XmlCommonHandler.java: 490)
> at
> org
> .apache
> .felix
> .bundlerepository
> .metadataparser
> .kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java: 67)
> at
> org
> .apache
> .felix
> .bundlerepository
> .RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
> at org.apache.felix.bundlerepository.RepositoryImpl.access
> $000(RepositoryImpl.java:44)
> at org.apache.felix.bundlerepository.RepositoryImpl
> $1.run(RepositoryImpl.java:75)
> at
> java.security.AccessController.doPrivileged(AccessController.java:154)
> at
> org
> .apache
> .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
> at
> org
> .apache
> .felix
> .bundlerepository
> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
> at
> org
> .apache
> .felix
> .bundlerepository
> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
> at
> org
> .apache
> .felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
> at
> org
> .apache
> .felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:
> 102)
> at org.apache.felix.shell.impl.Activator
> $ShellServiceImpl.executeCommand(Activator.java:291)
> at org.apache.felix.shell.tui.Activator
> $ShellTuiRunnable.run(Activator.java:177)
> at java.lang.Thread.run(Thread.java:745)
> java.lang.reflect.InvocationTargetException
> at java.lang.reflect.VMMethod.invoke(Native Method)
> at java.lang.reflect.Method.invoke(Method.java:327)
> at
> org
> .apache
> .felix
> .bundlerepository
> .metadataparser
> .XmlCommonHandler.startElement(XmlCommonHandler.java: 490)
> at
> org
> .apache
> .felix
> .bundlerepository
> .metadataparser
> .kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java: 67)
> at
> org
> .apache
> .felix
> .bundlerepository
> .RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
> at org.apache.felix.bundlerepository.RepositoryImpl.access
> $000(RepositoryImpl.java:44)
> at org.apache.felix.bundlerepository.RepositoryImpl
> $1.run(RepositoryImpl.java:75)
> at
> java.security.AccessController.doPrivileged(AccessController.java:154)
> at
> org
> .apache
> .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
> at
> org
> .apache
> .felix
> .bundlerepository
> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
> at
> org
> .apache
> .felix
> .bundlerepository
> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
> at
> org
> .apache
> .felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
> at
> org
> .apache
> .felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:
> 102)
> at org.apache.felix.shell.impl.Activator
> $ShellServiceImpl.executeCommand(Activator.java:291)
> at org.apache.felix.shell.tui.Activator
> $ShellTuiRunnable.run(Activator.java:177)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.nio.channels.UnresolvedAddressException
> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java:
> 160)
> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
> at java.net.Socket.connect(Socket.java:454)
> at java.net.Socket.connect(Socket.java:414)
> at
> gnu
> .java
> .net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java: 721)
> at
> gnu
> .java
> .net
> .protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:
> 802)
> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
> at
> gnu
> .java
> .net
> .protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java: 219)
> at
> gnu
> .java
> .net
> .protocol
> .http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:426)
> at java.net.URLConnection.getContentLength(URLConnection.java:302)
> at
> gnu
> .java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java: 79)
> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
> at
> gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:286)
> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
> at
> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:209)
> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
> at
> org
> .apache
> .felix
> .bundlerepository
> .RepositoryImpl.setLastmodified(RepositoryImpl.java: 162)
> at java.lang.reflect.VMMethod.invoke(Native Method)
> ...15 more
It seems that it fails to parse the default repository descriptor
available on the Felix website :-/
Does any of you managed to get it run smoothly on an Internet Tablet?
Kind regards,
Romain
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Felix 1.8 / JamVM 1.5.2 / Nokia N800
Posted by Karl Pauls <ka...@gmail.com>.
Ok, i did find the time to take felix for a spin on jamvm and it turns
out that we had some issues. I opened FELIX-1782 to track this and
commited a fix to trunk as of revision: 827806 and it will become part
of the next release (likely 2.0.2). We now run again on kaffe, cacoa,
jamvm (1.5.3 + classpath 0.98), and mika. Sorry for not finding the
time to fix this earlier.
regards,
Karl
On Wed, Sep 16, 2009 at 11:15 AM, Karl Pauls <ka...@gmail.com> wrote:
> Hm, I might have to investigate this one some more. Can you please
> open a JIRA about it so that we can track this?
>
> regards,
>
> Karl
>
> On Tue, Sep 15, 2009 at 4:15 PM, Claude Vittoria
> <cl...@gmail.com> wrote:
>>
>> Ok I try this
>>
>> import java.net.*;
>> import java.io.*;
>>
>> public class GetHostName{
>> public static void main(String [] args) {
>> try {
>> InetAddress addr = Inet4Address.getLocalHost();
>> byte[] ipAddr = addr.getAddress();
>> String hostname = addr.getHostName();
>> System.out.println("hostname="+hostname);
>> } catch (UnknownHostException e) {
>> }
>>
>> }
>> }
>>
>> It's ok on jamvm
>> it's ok as Knopper bundle
>> it's ko as Felix bundle
>>
>> I see IP trame with wireshark and I see a DNS request to felix.extensions.
>> I suppose a bug in security manager. Someone to help me ?
>>
>> Claude
>>
>>
>> Claude Vittoria wrote:
>>>
>>> Hi,
>>>
>>> I get the same issue with Felix 1.8 / JamVM 1.5.3 / GNU Classpath 0.98 on
>>> ARM
>>> Do you solve your problem ?
>>>
>>> Cheers,
>>> Claude
>>>
>>>
>>>
>>> Romain Rouvoy-2 wrote:
>>>>
>>>> Hi guys,
>>>>
>>>> I am currently trying to execute Felix 1.8 on a Nokia N800 running
>>>> JamVM 1.5.2.
>>>>
>>>> However, I get the following error when executing the command "obr
>>>> list":
>>>>
>>>>> ERROR: Error parsing repository metadata
>>>>> java.nio.channels.UnresolvedAddressException
>>>>> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java:
>>>>> 160)
>>>>> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
>>>>> at java.net.Socket.connect(Socket.java:454)
>>>>> at java.net.Socket.connect(Socket.java:414)
>>>>> at
>>>>> gnu
>>>>> .java
>>>>> .net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java: 721)
>>>>> at
>>>>> gnu
>>>>> .java
>>>>> .net
>>>>> .protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:
>>>>> 802)
>>>>> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
>>>>> at
>>>>> gnu
>>>>> .java
>>>>> .net
>>>>> .protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java: 219)
>>>>> at
>>>>> gnu
>>>>> .java
>>>>> .net
>>>>> .protocol
>>>>> .http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
>>>>> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:426)
>>>>> at java.net.URLConnection.getContentLength(URLConnection.java:302)
>>>>> at
>>>>> gnu
>>>>> .java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java: 79)
>>>>> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
>>>>> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
>>>>> at
>>>>> gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:286)
>>>>> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
>>>>> at
>>>>> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:209)
>>>>> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
>>>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
>>>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
>>>>> at
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository
>>>>> .RepositoryImpl.setLastmodified(RepositoryImpl.java: 162)
>>>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>>>> at java.lang.reflect.Method.invoke(Method.java:327)
>>>>> at
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository
>>>>> .metadataparser
>>>>> .XmlCommonHandler.startElement(XmlCommonHandler.java: 490)
>>>>> at
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository
>>>>> .metadataparser
>>>>> .kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java: 67)
>>>>> at
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository
>>>>> .RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>>>> at org.apache.felix.bundlerepository.RepositoryImpl.access
>>>>> $000(RepositoryImpl.java:44)
>>>>> at org.apache.felix.bundlerepository.RepositoryImpl
>>>>> $1.run(RepositoryImpl.java:75)
>>>>> at
>>>>> java.security.AccessController.doPrivileged(AccessController.java:154)
>>>>> at
>>>>> org
>>>>> .apache
>>>>> .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>>>>> at
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository
>>>>> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>>>>> at
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository
>>>>> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>>>>> at
>>>>> org
>>>>> .apache
>>>>> .felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>>>>> at
>>>>> org
>>>>> .apache
>>>>> .felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:
>>>>> 102)
>>>>> at org.apache.felix.shell.impl.Activator
>>>>> $ShellServiceImpl.executeCommand(Activator.java:291)
>>>>> at org.apache.felix.shell.tui.Activator
>>>>> $ShellTuiRunnable.run(Activator.java:177)
>>>>> at java.lang.Thread.run(Thread.java:745)
>>>>> java.lang.reflect.InvocationTargetException
>>>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>>>> at java.lang.reflect.Method.invoke(Method.java:327)
>>>>> at
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository
>>>>> .metadataparser
>>>>> .XmlCommonHandler.startElement(XmlCommonHandler.java: 490)
>>>>> at
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository
>>>>> .metadataparser
>>>>> .kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java: 67)
>>>>> at
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository
>>>>> .RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>>>> at org.apache.felix.bundlerepository.RepositoryImpl.access
>>>>> $000(RepositoryImpl.java:44)
>>>>> at org.apache.felix.bundlerepository.RepositoryImpl
>>>>> $1.run(RepositoryImpl.java:75)
>>>>> at
>>>>> java.security.AccessController.doPrivileged(AccessController.java:154)
>>>>> at
>>>>> org
>>>>> .apache
>>>>> .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>>>>> at
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository
>>>>> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>>>>> at
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository
>>>>> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>>>>> at
>>>>> org
>>>>> .apache
>>>>> .felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>>>>> at
>>>>> org
>>>>> .apache
>>>>> .felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:
>>>>> 102)
>>>>> at org.apache.felix.shell.impl.Activator
>>>>> $ShellServiceImpl.executeCommand(Activator.java:291)
>>>>> at org.apache.felix.shell.tui.Activator
>>>>> $ShellTuiRunnable.run(Activator.java:177)
>>>>> at java.lang.Thread.run(Thread.java:745)
>>>>> Caused by: java.nio.channels.UnresolvedAddressException
>>>>> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java:
>>>>> 160)
>>>>> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
>>>>> at java.net.Socket.connect(Socket.java:454)
>>>>> at java.net.Socket.connect(Socket.java:414)
>>>>> at
>>>>> gnu
>>>>> .java
>>>>> .net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java: 721)
>>>>> at
>>>>> gnu
>>>>> .java
>>>>> .net
>>>>> .protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:
>>>>> 802)
>>>>> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
>>>>> at
>>>>> gnu
>>>>> .java
>>>>> .net
>>>>> .protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java: 219)
>>>>> at
>>>>> gnu
>>>>> .java
>>>>> .net
>>>>> .protocol
>>>>> .http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
>>>>> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:426)
>>>>> at java.net.URLConnection.getContentLength(URLConnection.java:302)
>>>>> at
>>>>> gnu
>>>>> .java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java: 79)
>>>>> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
>>>>> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
>>>>> at
>>>>> gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:286)
>>>>> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
>>>>> at
>>>>> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:209)
>>>>> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
>>>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
>>>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
>>>>> at
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository
>>>>> .RepositoryImpl.setLastmodified(RepositoryImpl.java: 162)
>>>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>>>> ...15 more
>>>>
>>>> It seems that it fails to parse the default repository descriptor
>>>> available on the Felix website :-/
>>>> Does any of you managed to get it run smoothly on an Internet Tablet?
>>>>
>>>> Kind regards,
>>>> Romain
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>>> For additional commands, e-mail: users-help@felix.apache.org
>>>>
>>>>
>>>>
>>>
>>>
>>
>> --
>> View this message in context: http://www.nabble.com/Felix-1.8---JamVM-1.5.2---Nokia-N800-tp24531779p25454822.html
>> Sent from the Apache Felix - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>
>
>
> --
> Karl Pauls
> karlpauls@gmail.com
>
--
Karl Pauls
karlpauls@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Felix 1.8 / JamVM 1.5.2 / Nokia N800
Posted by Karl Pauls <ka...@gmail.com>.
Hm, I might have to investigate this one some more. Can you please
open a JIRA about it so that we can track this?
regards,
Karl
On Tue, Sep 15, 2009 at 4:15 PM, Claude Vittoria
<cl...@gmail.com> wrote:
>
> Ok I try this
>
> import java.net.*;
> import java.io.*;
>
> public class GetHostName{
> public static void main(String [] args) {
> try {
> InetAddress addr = Inet4Address.getLocalHost();
> byte[] ipAddr = addr.getAddress();
> String hostname = addr.getHostName();
> System.out.println("hostname="+hostname);
> } catch (UnknownHostException e) {
> }
>
> }
> }
>
> It's ok on jamvm
> it's ok as Knopper bundle
> it's ko as Felix bundle
>
> I see IP trame with wireshark and I see a DNS request to felix.extensions.
> I suppose a bug in security manager. Someone to help me ?
>
> Claude
>
>
> Claude Vittoria wrote:
>>
>> Hi,
>>
>> I get the same issue with Felix 1.8 / JamVM 1.5.3 / GNU Classpath 0.98 on
>> ARM
>> Do you solve your problem ?
>>
>> Cheers,
>> Claude
>>
>>
>>
>> Romain Rouvoy-2 wrote:
>>>
>>> Hi guys,
>>>
>>> I am currently trying to execute Felix 1.8 on a Nokia N800 running
>>> JamVM 1.5.2.
>>>
>>> However, I get the following error when executing the command "obr
>>> list":
>>>
>>>> ERROR: Error parsing repository metadata
>>>> java.nio.channels.UnresolvedAddressException
>>>> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java:
>>>> 160)
>>>> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
>>>> at java.net.Socket.connect(Socket.java:454)
>>>> at java.net.Socket.connect(Socket.java:414)
>>>> at
>>>> gnu
>>>> .java
>>>> .net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java: 721)
>>>> at
>>>> gnu
>>>> .java
>>>> .net
>>>> .protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:
>>>> 802)
>>>> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
>>>> at
>>>> gnu
>>>> .java
>>>> .net
>>>> .protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java: 219)
>>>> at
>>>> gnu
>>>> .java
>>>> .net
>>>> .protocol
>>>> .http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
>>>> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:426)
>>>> at java.net.URLConnection.getContentLength(URLConnection.java:302)
>>>> at
>>>> gnu
>>>> .java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java: 79)
>>>> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
>>>> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
>>>> at
>>>> gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:286)
>>>> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
>>>> at
>>>> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:209)
>>>> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
>>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
>>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
>>>> at
>>>> org
>>>> .apache
>>>> .felix
>>>> .bundlerepository
>>>> .RepositoryImpl.setLastmodified(RepositoryImpl.java: 162)
>>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>>> at java.lang.reflect.Method.invoke(Method.java:327)
>>>> at
>>>> org
>>>> .apache
>>>> .felix
>>>> .bundlerepository
>>>> .metadataparser
>>>> .XmlCommonHandler.startElement(XmlCommonHandler.java: 490)
>>>> at
>>>> org
>>>> .apache
>>>> .felix
>>>> .bundlerepository
>>>> .metadataparser
>>>> .kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java: 67)
>>>> at
>>>> org
>>>> .apache
>>>> .felix
>>>> .bundlerepository
>>>> .RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>>> at org.apache.felix.bundlerepository.RepositoryImpl.access
>>>> $000(RepositoryImpl.java:44)
>>>> at org.apache.felix.bundlerepository.RepositoryImpl
>>>> $1.run(RepositoryImpl.java:75)
>>>> at
>>>> java.security.AccessController.doPrivileged(AccessController.java:154)
>>>> at
>>>> org
>>>> .apache
>>>> .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>>>> at
>>>> org
>>>> .apache
>>>> .felix
>>>> .bundlerepository
>>>> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>>>> at
>>>> org
>>>> .apache
>>>> .felix
>>>> .bundlerepository
>>>> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>>>> at
>>>> org
>>>> .apache
>>>> .felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>>>> at
>>>> org
>>>> .apache
>>>> .felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:
>>>> 102)
>>>> at org.apache.felix.shell.impl.Activator
>>>> $ShellServiceImpl.executeCommand(Activator.java:291)
>>>> at org.apache.felix.shell.tui.Activator
>>>> $ShellTuiRunnable.run(Activator.java:177)
>>>> at java.lang.Thread.run(Thread.java:745)
>>>> java.lang.reflect.InvocationTargetException
>>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>>> at java.lang.reflect.Method.invoke(Method.java:327)
>>>> at
>>>> org
>>>> .apache
>>>> .felix
>>>> .bundlerepository
>>>> .metadataparser
>>>> .XmlCommonHandler.startElement(XmlCommonHandler.java: 490)
>>>> at
>>>> org
>>>> .apache
>>>> .felix
>>>> .bundlerepository
>>>> .metadataparser
>>>> .kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java: 67)
>>>> at
>>>> org
>>>> .apache
>>>> .felix
>>>> .bundlerepository
>>>> .RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>>> at org.apache.felix.bundlerepository.RepositoryImpl.access
>>>> $000(RepositoryImpl.java:44)
>>>> at org.apache.felix.bundlerepository.RepositoryImpl
>>>> $1.run(RepositoryImpl.java:75)
>>>> at
>>>> java.security.AccessController.doPrivileged(AccessController.java:154)
>>>> at
>>>> org
>>>> .apache
>>>> .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>>>> at
>>>> org
>>>> .apache
>>>> .felix
>>>> .bundlerepository
>>>> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>>>> at
>>>> org
>>>> .apache
>>>> .felix
>>>> .bundlerepository
>>>> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>>>> at
>>>> org
>>>> .apache
>>>> .felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>>>> at
>>>> org
>>>> .apache
>>>> .felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:
>>>> 102)
>>>> at org.apache.felix.shell.impl.Activator
>>>> $ShellServiceImpl.executeCommand(Activator.java:291)
>>>> at org.apache.felix.shell.tui.Activator
>>>> $ShellTuiRunnable.run(Activator.java:177)
>>>> at java.lang.Thread.run(Thread.java:745)
>>>> Caused by: java.nio.channels.UnresolvedAddressException
>>>> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java:
>>>> 160)
>>>> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
>>>> at java.net.Socket.connect(Socket.java:454)
>>>> at java.net.Socket.connect(Socket.java:414)
>>>> at
>>>> gnu
>>>> .java
>>>> .net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java: 721)
>>>> at
>>>> gnu
>>>> .java
>>>> .net
>>>> .protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:
>>>> 802)
>>>> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
>>>> at
>>>> gnu
>>>> .java
>>>> .net
>>>> .protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java: 219)
>>>> at
>>>> gnu
>>>> .java
>>>> .net
>>>> .protocol
>>>> .http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
>>>> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:426)
>>>> at java.net.URLConnection.getContentLength(URLConnection.java:302)
>>>> at
>>>> gnu
>>>> .java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java: 79)
>>>> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
>>>> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
>>>> at
>>>> gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:286)
>>>> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
>>>> at
>>>> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:209)
>>>> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
>>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
>>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
>>>> at
>>>> org
>>>> .apache
>>>> .felix
>>>> .bundlerepository
>>>> .RepositoryImpl.setLastmodified(RepositoryImpl.java: 162)
>>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>>> ...15 more
>>>
>>> It seems that it fails to parse the default repository descriptor
>>> available on the Felix website :-/
>>> Does any of you managed to get it run smoothly on an Internet Tablet?
>>>
>>> Kind regards,
>>> Romain
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>> For additional commands, e-mail: users-help@felix.apache.org
>>>
>>>
>>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Felix-1.8---JamVM-1.5.2---Nokia-N800-tp24531779p25454822.html
> Sent from the Apache Felix - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
--
Karl Pauls
karlpauls@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Felix 1.8 / JamVM 1.5.2 / Nokia N800
Posted by Claude Vittoria <cl...@gmail.com>.
Ok I try this
import java.net.*;
import java.io.*;
public class GetHostName{
public static void main(String [] args) {
try {
InetAddress addr = Inet4Address.getLocalHost();
byte[] ipAddr = addr.getAddress();
String hostname = addr.getHostName();
System.out.println("hostname="+hostname);
} catch (UnknownHostException e) {
}
}
}
It's ok on jamvm
it's ok as Knopper bundle
it's ko as Felix bundle
I see IP trame with wireshark and I see a DNS request to felix.extensions.
I suppose a bug in security manager. Someone to help me ?
Claude
Claude Vittoria wrote:
>
> Hi,
>
> I get the same issue with Felix 1.8 / JamVM 1.5.3 / GNU Classpath 0.98 on
> ARM
> Do you solve your problem ?
>
> Cheers,
> Claude
>
>
>
> Romain Rouvoy-2 wrote:
>>
>> Hi guys,
>>
>> I am currently trying to execute Felix 1.8 on a Nokia N800 running
>> JamVM 1.5.2.
>>
>> However, I get the following error when executing the command "obr
>> list":
>>
>>> ERROR: Error parsing repository metadata
>>> java.nio.channels.UnresolvedAddressException
>>> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java:
>>> 160)
>>> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
>>> at java.net.Socket.connect(Socket.java:454)
>>> at java.net.Socket.connect(Socket.java:414)
>>> at
>>> gnu
>>> .java
>>> .net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java: 721)
>>> at
>>> gnu
>>> .java
>>> .net
>>> .protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:
>>> 802)
>>> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
>>> at
>>> gnu
>>> .java
>>> .net
>>> .protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java: 219)
>>> at
>>> gnu
>>> .java
>>> .net
>>> .protocol
>>> .http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
>>> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:426)
>>> at java.net.URLConnection.getContentLength(URLConnection.java:302)
>>> at
>>> gnu
>>> .java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java: 79)
>>> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
>>> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
>>> at
>>> gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:286)
>>> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
>>> at
>>> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:209)
>>> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
>>> at
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .RepositoryImpl.setLastmodified(RepositoryImpl.java: 162)
>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>> at java.lang.reflect.Method.invoke(Method.java:327)
>>> at
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .metadataparser
>>> .XmlCommonHandler.startElement(XmlCommonHandler.java: 490)
>>> at
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .metadataparser
>>> .kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java: 67)
>>> at
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>> at org.apache.felix.bundlerepository.RepositoryImpl.access
>>> $000(RepositoryImpl.java:44)
>>> at org.apache.felix.bundlerepository.RepositoryImpl
>>> $1.run(RepositoryImpl.java:75)
>>> at
>>> java.security.AccessController.doPrivileged(AccessController.java:154)
>>> at
>>> org
>>> .apache
>>> .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>>> at
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>>> at
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>>> at
>>> org
>>> .apache
>>> .felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>>> at
>>> org
>>> .apache
>>> .felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:
>>> 102)
>>> at org.apache.felix.shell.impl.Activator
>>> $ShellServiceImpl.executeCommand(Activator.java:291)
>>> at org.apache.felix.shell.tui.Activator
>>> $ShellTuiRunnable.run(Activator.java:177)
>>> at java.lang.Thread.run(Thread.java:745)
>>> java.lang.reflect.InvocationTargetException
>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>> at java.lang.reflect.Method.invoke(Method.java:327)
>>> at
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .metadataparser
>>> .XmlCommonHandler.startElement(XmlCommonHandler.java: 490)
>>> at
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .metadataparser
>>> .kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java: 67)
>>> at
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>> at org.apache.felix.bundlerepository.RepositoryImpl.access
>>> $000(RepositoryImpl.java:44)
>>> at org.apache.felix.bundlerepository.RepositoryImpl
>>> $1.run(RepositoryImpl.java:75)
>>> at
>>> java.security.AccessController.doPrivileged(AccessController.java:154)
>>> at
>>> org
>>> .apache
>>> .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>>> at
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>>> at
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>>> at
>>> org
>>> .apache
>>> .felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>>> at
>>> org
>>> .apache
>>> .felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:
>>> 102)
>>> at org.apache.felix.shell.impl.Activator
>>> $ShellServiceImpl.executeCommand(Activator.java:291)
>>> at org.apache.felix.shell.tui.Activator
>>> $ShellTuiRunnable.run(Activator.java:177)
>>> at java.lang.Thread.run(Thread.java:745)
>>> Caused by: java.nio.channels.UnresolvedAddressException
>>> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java:
>>> 160)
>>> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
>>> at java.net.Socket.connect(Socket.java:454)
>>> at java.net.Socket.connect(Socket.java:414)
>>> at
>>> gnu
>>> .java
>>> .net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java: 721)
>>> at
>>> gnu
>>> .java
>>> .net
>>> .protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:
>>> 802)
>>> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
>>> at
>>> gnu
>>> .java
>>> .net
>>> .protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java: 219)
>>> at
>>> gnu
>>> .java
>>> .net
>>> .protocol
>>> .http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
>>> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:426)
>>> at java.net.URLConnection.getContentLength(URLConnection.java:302)
>>> at
>>> gnu
>>> .java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java: 79)
>>> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
>>> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
>>> at
>>> gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:286)
>>> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
>>> at
>>> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:209)
>>> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
>>> at
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .RepositoryImpl.setLastmodified(RepositoryImpl.java: 162)
>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>> ...15 more
>>
>> It seems that it fails to parse the default repository descriptor
>> available on the Felix website :-/
>> Does any of you managed to get it run smoothly on an Internet Tablet?
>>
>> Kind regards,
>> Romain
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Felix-1.8---JamVM-1.5.2---Nokia-N800-tp24531779p25454822.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Felix 1.8 / JamVM 1.5.2 / Nokia N800
Posted by Claude Vittoria <cl...@gmail.com>.
Hi,
I get the same issue with Felix 1.8 / JamVM 1.5.3 / GNU Classpath 0.98 on
ARM
Do you solve your problem ?
Cheers,
Claude
Romain Rouvoy-2 wrote:
>
> Hi guys,
>
> I am currently trying to execute Felix 1.8 on a Nokia N800 running
> JamVM 1.5.2.
>
> However, I get the following error when executing the command "obr
> list":
>
>> ERROR: Error parsing repository metadata
>> java.nio.channels.UnresolvedAddressException
>> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java:
>> 160)
>> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
>> at java.net.Socket.connect(Socket.java:454)
>> at java.net.Socket.connect(Socket.java:414)
>> at
>> gnu
>> .java
>> .net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java: 721)
>> at
>> gnu
>> .java
>> .net
>> .protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:
>> 802)
>> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
>> at
>> gnu
>> .java
>> .net
>> .protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java: 219)
>> at
>> gnu
>> .java
>> .net
>> .protocol
>> .http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
>> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:426)
>> at java.net.URLConnection.getContentLength(URLConnection.java:302)
>> at
>> gnu
>> .java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java: 79)
>> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
>> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
>> at
>> gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:286)
>> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
>> at
>> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:209)
>> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
>> at
>> org
>> .apache
>> .felix
>> .bundlerepository
>> .RepositoryImpl.setLastmodified(RepositoryImpl.java: 162)
>> at java.lang.reflect.VMMethod.invoke(Native Method)
>> at java.lang.reflect.Method.invoke(Method.java:327)
>> at
>> org
>> .apache
>> .felix
>> .bundlerepository
>> .metadataparser
>> .XmlCommonHandler.startElement(XmlCommonHandler.java: 490)
>> at
>> org
>> .apache
>> .felix
>> .bundlerepository
>> .metadataparser
>> .kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java: 67)
>> at
>> org
>> .apache
>> .felix
>> .bundlerepository
>> .RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>> at org.apache.felix.bundlerepository.RepositoryImpl.access
>> $000(RepositoryImpl.java:44)
>> at org.apache.felix.bundlerepository.RepositoryImpl
>> $1.run(RepositoryImpl.java:75)
>> at
>> java.security.AccessController.doPrivileged(AccessController.java:154)
>> at
>> org
>> .apache
>> .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>> at
>> org
>> .apache
>> .felix
>> .bundlerepository
>> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>> at
>> org
>> .apache
>> .felix
>> .bundlerepository
>> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>> at
>> org
>> .apache
>> .felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>> at
>> org
>> .apache
>> .felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:
>> 102)
>> at org.apache.felix.shell.impl.Activator
>> $ShellServiceImpl.executeCommand(Activator.java:291)
>> at org.apache.felix.shell.tui.Activator
>> $ShellTuiRunnable.run(Activator.java:177)
>> at java.lang.Thread.run(Thread.java:745)
>> java.lang.reflect.InvocationTargetException
>> at java.lang.reflect.VMMethod.invoke(Native Method)
>> at java.lang.reflect.Method.invoke(Method.java:327)
>> at
>> org
>> .apache
>> .felix
>> .bundlerepository
>> .metadataparser
>> .XmlCommonHandler.startElement(XmlCommonHandler.java: 490)
>> at
>> org
>> .apache
>> .felix
>> .bundlerepository
>> .metadataparser
>> .kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java: 67)
>> at
>> org
>> .apache
>> .felix
>> .bundlerepository
>> .RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>> at org.apache.felix.bundlerepository.RepositoryImpl.access
>> $000(RepositoryImpl.java:44)
>> at org.apache.felix.bundlerepository.RepositoryImpl
>> $1.run(RepositoryImpl.java:75)
>> at
>> java.security.AccessController.doPrivileged(AccessController.java:154)
>> at
>> org
>> .apache
>> .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>> at
>> org
>> .apache
>> .felix
>> .bundlerepository
>> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>> at
>> org
>> .apache
>> .felix
>> .bundlerepository
>> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>> at
>> org
>> .apache
>> .felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>> at
>> org
>> .apache
>> .felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:
>> 102)
>> at org.apache.felix.shell.impl.Activator
>> $ShellServiceImpl.executeCommand(Activator.java:291)
>> at org.apache.felix.shell.tui.Activator
>> $ShellTuiRunnable.run(Activator.java:177)
>> at java.lang.Thread.run(Thread.java:745)
>> Caused by: java.nio.channels.UnresolvedAddressException
>> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java:
>> 160)
>> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
>> at java.net.Socket.connect(Socket.java:454)
>> at java.net.Socket.connect(Socket.java:414)
>> at
>> gnu
>> .java
>> .net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java: 721)
>> at
>> gnu
>> .java
>> .net
>> .protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:
>> 802)
>> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
>> at
>> gnu
>> .java
>> .net
>> .protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java: 219)
>> at
>> gnu
>> .java
>> .net
>> .protocol
>> .http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
>> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:426)
>> at java.net.URLConnection.getContentLength(URLConnection.java:302)
>> at
>> gnu
>> .java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java: 79)
>> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
>> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
>> at
>> gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:286)
>> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
>> at
>> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:209)
>> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
>> at
>> org
>> .apache
>> .felix
>> .bundlerepository
>> .RepositoryImpl.setLastmodified(RepositoryImpl.java: 162)
>> at java.lang.reflect.VMMethod.invoke(Native Method)
>> ...15 more
>
> It seems that it fails to parse the default repository descriptor
> available on the Felix website :-/
> Does any of you managed to get it run smoothly on an Internet Tablet?
>
> Kind regards,
> Romain
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/Felix-1.8---JamVM-1.5.2---Nokia-N800-tp24531779p25449408.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Felix 1.8 / JamVM 1.5.2 / Nokia N800
Posted by Karl Pauls <ka...@gmail.com>.
Well, then I don't know either. Looks like a bug in jamvm/classpath.
Did you try to ask on their list? Furthermore, I think there is a
newer version of both out already - did you try that one?
regards,
Karl
On Tue, Jul 21, 2009 at 2:45 PM, Romain Rouvoy<ro...@ifi.uio.no> wrote:
> On 20 Jul 2009, at 13:50, Karl Pauls wrote:
>>
>> Hm, ok. Can you try to start felix with the following property,
>>>
>>> -Dfelix.service.urlhandlers=false
>>
>> and see whether that makes things work?
>
> Nop, I still get the same exception :-/
>
>> Regards,
>> Karl
>>
>> On Fri, Jul 17, 2009 at 3:09 PM, Romain Rouvoy<ro...@ifi.uio.no> wrote:
>>>
>>> I compiled the current trunk and I still have the same exception:
>>>
>>>> -> ps
>>>> START LEVEL 1
>>>> ID State Level Name
>>>> [ 0] [Active ] [ 0] System Bundle (1.9.0.SNAPSHOT)
>>>> [ 1] [Active ] [ 1] Apache Felix Shell Service (1.3.0.SNAPSHOT)
>>>> [ 2] [Active ] [ 1] Apache Felix Shell TUI (1.3.0.SNAPSHOT)
>>>> [ 3] [Active ] [ 1] Apache Felix Bundle Repository
>>>> (1.5.0.SNAPSHOT)
>>>>
>>>> -> obr list-url
>>>> ERROR: Error parsing repository metadata
>>>> java.nio.channels.UnresolvedAddressException
>>>> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java:160)
>>>> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
>>>> at java.net.Socket.connect(Socket.java:454)
>>>> at java.net.Socket.connect(Socket.java:414)
>>>> at
>>>>
>>>> gnu.java.net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java:721)
>>>> at
>>>>
>>>> gnu.java.net.protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:802)
>>>> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
>>>> at
>>>>
>>>> gnu.java.net.protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java:219)
>>>> at
>>>>
>>>> gnu.java.net.protocol.http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
>>>> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:426)
>>>> at java.net.URLConnection.getContentLength(URLConnection.java:302)
>>>> at
>>>> gnu.java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java:79)
>>>> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
>>>> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
>>>> at
>>>> gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:286)
>>>> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
>>>> at
>>>> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:209)
>>>> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
>>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
>>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryImpl.setLastmodified(RepositoryImpl.java:162)
>>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>>> at java.lang.reflect.Method.invoke(Method.java:327)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:490)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryImpl.access$000(RepositoryImpl.java:44)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryImpl$1.run(RepositoryImpl.java:75)
>>>> at
>>>> java.security.AccessController.doPrivileged(AccessController.java:154)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:60)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryAdminImpl.initialize(RepositoryAdminImpl.java:206)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryAdminImpl.listRepositories(RepositoryAdminImpl.java:101)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:188)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:102)
>>>> at
>>>>
>>>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:281)
>>>> at
>>>>
>>>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:174)
>>>> at java.lang.Thread.run(Thread.java:745)
>>>> WARNING: RepositoryAdminImpl: Exception creating repository
>>>> http://felix.apache.org/obr/releases.xml. Repository is skipped.
>>>> java.lang.reflect.InvocationTargetException
>>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>>> at java.lang.reflect.Method.invoke(Method.java:327)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:490)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryImpl.access$000(RepositoryImpl.java:44)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryImpl$1.run(RepositoryImpl.java:75)
>>>> at
>>>> java.security.AccessController.doPrivileged(AccessController.java:154)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:60)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryAdminImpl.initialize(RepositoryAdminImpl.java:206)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryAdminImpl.listRepositories(RepositoryAdminImpl.java:101)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:188)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:102)
>>>> at
>>>>
>>>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:281)
>>>> at
>>>>
>>>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:174)
>>>> at java.lang.Thread.run(Thread.java:745)
>>>> Caused by: java.nio.channels.UnresolvedAddressException
>>>> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java:160)
>>>> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
>>>> at java.net.Socket.connect(Socket.java:454)
>>>> at java.net.Socket.connect(Socket.java:414)
>>>> at
>>>>
>>>> gnu.java.net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java:721)
>>>> at
>>>>
>>>> gnu.java.net.protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:802)
>>>> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
>>>> at
>>>>
>>>> gnu.java.net.protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java:219)
>>>> at
>>>>
>>>> gnu.java.net.protocol.http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
>>>> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:426)
>>>> at java.net.URLConnection.getContentLength(URLConnection.java:302)
>>>> at
>>>> gnu.java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java:79)
>>>> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
>>>> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
>>>> at
>>>> gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:286)
>>>> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
>>>> at
>>>> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:209)
>>>> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
>>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
>>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
>>>> at
>>>>
>>>> org.apache.felix.bundlerepository.RepositoryImpl.setLastmodified(RepositoryImpl.java:162)
>>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>>> ...16 more
>>>> No repository URLs are set.
>>>>
>>>> -> obr list
>>>> No matching bundles.
>>>>
>>>> ->
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
--
Karl Pauls
karlpauls@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Felix 1.8 / JamVM 1.5.2 / Nokia N800
Posted by Romain Rouvoy <ro...@ifi.uio.no>.
On 20 Jul 2009, at 13:50, Karl Pauls wrote:
> Hm, ok. Can you try to start felix with the following property,
>> -Dfelix.service.urlhandlers=false
> and see whether that makes things work?
Nop, I still get the same exception :-/
> Regards,
> Karl
>
> On Fri, Jul 17, 2009 at 3:09 PM, Romain Rouvoy<ro...@ifi.uio.no>
> wrote:
>> I compiled the current trunk and I still have the same exception:
>>
>>> -> ps
>>> START LEVEL 1
>>> ID State Level Name
>>> [ 0] [Active ] [ 0] System Bundle (1.9.0.SNAPSHOT)
>>> [ 1] [Active ] [ 1] Apache Felix Shell Service
>>> (1.3.0.SNAPSHOT)
>>> [ 2] [Active ] [ 1] Apache Felix Shell TUI (1.3.0.SNAPSHOT)
>>> [ 3] [Active ] [ 1] Apache Felix Bundle Repository
>>> (1.5.0.SNAPSHOT)
>>>
>>> -> obr list-url
>>> ERROR: Error parsing repository metadata
>>> java.nio.channels.UnresolvedAddressException
>>> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java:
>>> 160)
>>> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
>>> at java.net.Socket.connect(Socket.java:454)
>>> at java.net.Socket.connect(Socket.java:414)
>>> at
>>> gnu
>>> .java
>>> .net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java:721)
>>> at
>>> gnu
>>> .java
>>> .net
>>> .protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:
>>> 802)
>>> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
>>> at
>>> gnu
>>> .java
>>> .net
>>> .protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java:219)
>>> at
>>> gnu
>>> .java
>>> .net
>>> .protocol
>>> .http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
>>> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:
>>> 426)
>>> at java.net.URLConnection.getContentLength(URLConnection.java:302)
>>> at
>>> gnu
>>> .java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java:
>>> 79)
>>> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
>>> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
>>> at
>>> gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:
>>> 286)
>>> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
>>> at
>>> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:
>>> 209)
>>> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
>>> at
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .RepositoryImpl.setLastmodified(RepositoryImpl.java:162)
>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>> at java.lang.reflect.Method.invoke(Method.java:327)
>>> at
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .metadataparser
>>> .XmlCommonHandler.startElement(XmlCommonHandler.java:490)
>>> at
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .metadataparser
>>> .kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
>>> at
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>> at
>>> org.apache.felix.bundlerepository.RepositoryImpl.access
>>> $000(RepositoryImpl.java:44)
>>> at
>>> org.apache.felix.bundlerepository.RepositoryImpl
>>> $1.run(RepositoryImpl.java:75)
>>> at
>>> java.security.AccessController.doPrivileged(AccessController.java:
>>> 154)
>>> at
>>> org
>>> .apache
>>> .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:
>>> 71)
>>> at
>>> org
>>> .apache
>>> .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:
>>> 60)
>>> at
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .RepositoryAdminImpl.initialize(RepositoryAdminImpl.java:206)
>>> at
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .RepositoryAdminImpl.listRepositories(RepositoryAdminImpl.java:101)
>>> at
>>> org
>>> .apache
>>> .felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:188)
>>> at
>>> org
>>> .apache
>>> .felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:
>>> 102)
>>> at
>>> org.apache.felix.shell.impl.Activator
>>> $ShellServiceImpl.executeCommand(Activator.java:281)
>>> at
>>> org.apache.felix.shell.tui.Activator
>>> $ShellTuiRunnable.run(Activator.java:174)
>>> at java.lang.Thread.run(Thread.java:745)
>>> WARNING: RepositoryAdminImpl: Exception creating repository
>>> http://felix.apache.org/obr/releases.xml. Repository is skipped.
>>> java.lang.reflect.InvocationTargetException
>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>> at java.lang.reflect.Method.invoke(Method.java:327)
>>> at
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .metadataparser
>>> .XmlCommonHandler.startElement(XmlCommonHandler.java:490)
>>> at
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .metadataparser
>>> .kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
>>> at
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>> at
>>> org.apache.felix.bundlerepository.RepositoryImpl.access
>>> $000(RepositoryImpl.java:44)
>>> at
>>> org.apache.felix.bundlerepository.RepositoryImpl
>>> $1.run(RepositoryImpl.java:75)
>>> at
>>> java.security.AccessController.doPrivileged(AccessController.java:
>>> 154)
>>> at
>>> org
>>> .apache
>>> .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:
>>> 71)
>>> at
>>> org
>>> .apache
>>> .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:
>>> 60)
>>> at
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .RepositoryAdminImpl.initialize(RepositoryAdminImpl.java:206)
>>> at
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .RepositoryAdminImpl.listRepositories(RepositoryAdminImpl.java:101)
>>> at
>>> org
>>> .apache
>>> .felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:188)
>>> at
>>> org
>>> .apache
>>> .felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:
>>> 102)
>>> at
>>> org.apache.felix.shell.impl.Activator
>>> $ShellServiceImpl.executeCommand(Activator.java:281)
>>> at
>>> org.apache.felix.shell.tui.Activator
>>> $ShellTuiRunnable.run(Activator.java:174)
>>> at java.lang.Thread.run(Thread.java:745)
>>> Caused by: java.nio.channels.UnresolvedAddressException
>>> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java:
>>> 160)
>>> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
>>> at java.net.Socket.connect(Socket.java:454)
>>> at java.net.Socket.connect(Socket.java:414)
>>> at
>>> gnu
>>> .java
>>> .net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java:721)
>>> at
>>> gnu
>>> .java
>>> .net
>>> .protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:
>>> 802)
>>> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
>>> at
>>> gnu
>>> .java
>>> .net
>>> .protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java:219)
>>> at
>>> gnu
>>> .java
>>> .net
>>> .protocol
>>> .http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
>>> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:
>>> 426)
>>> at java.net.URLConnection.getContentLength(URLConnection.java:302)
>>> at
>>> gnu
>>> .java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java:
>>> 79)
>>> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
>>> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
>>> at
>>> gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:
>>> 286)
>>> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
>>> at
>>> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:
>>> 209)
>>> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
>>> at
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .RepositoryImpl.setLastmodified(RepositoryImpl.java:162)
>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>> ...16 more
>>> No repository URLs are set.
>>>
>>> -> obr list
>>> No matching bundles.
>>>
>>> ->
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Felix 1.8 / JamVM 1.5.2 / Nokia N800
Posted by Karl Pauls <ka...@gmail.com>.
Hm, ok. Can you try to start felix with the following property,
-Dfelix.service.urlhandlers=false
and see whether that makes things work?
regards,
Karl
On Fri, Jul 17, 2009 at 3:09 PM, Romain Rouvoy<ro...@ifi.uio.no> wrote:
> I compiled the current trunk and I still have the same exception:
>
>> -> ps
>> START LEVEL 1
>> ID State Level Name
>> [ 0] [Active ] [ 0] System Bundle (1.9.0.SNAPSHOT)
>> [ 1] [Active ] [ 1] Apache Felix Shell Service (1.3.0.SNAPSHOT)
>> [ 2] [Active ] [ 1] Apache Felix Shell TUI (1.3.0.SNAPSHOT)
>> [ 3] [Active ] [ 1] Apache Felix Bundle Repository
>> (1.5.0.SNAPSHOT)
>>
>> -> obr list-url
>> ERROR: Error parsing repository metadata
>> java.nio.channels.UnresolvedAddressException
>> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java:160)
>> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
>> at java.net.Socket.connect(Socket.java:454)
>> at java.net.Socket.connect(Socket.java:414)
>> at
>> gnu.java.net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java:721)
>> at
>> gnu.java.net.protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:802)
>> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
>> at
>> gnu.java.net.protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java:219)
>> at
>> gnu.java.net.protocol.http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
>> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:426)
>> at java.net.URLConnection.getContentLength(URLConnection.java:302)
>> at
>> gnu.java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java:79)
>> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
>> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
>> at gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:286)
>> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
>> at
>> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:209)
>> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl.setLastmodified(RepositoryImpl.java:162)
>> at java.lang.reflect.VMMethod.invoke(Native Method)
>> at java.lang.reflect.Method.invoke(Method.java:327)
>> at
>> org.apache.felix.bundlerepository.metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:490)
>> at
>> org.apache.felix.bundlerepository.metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl.access$000(RepositoryImpl.java:44)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl$1.run(RepositoryImpl.java:75)
>> at
>> java.security.AccessController.doPrivileged(AccessController.java:154)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:60)
>> at
>> org.apache.felix.bundlerepository.RepositoryAdminImpl.initialize(RepositoryAdminImpl.java:206)
>> at
>> org.apache.felix.bundlerepository.RepositoryAdminImpl.listRepositories(RepositoryAdminImpl.java:101)
>> at
>> org.apache.felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:188)
>> at
>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:102)
>> at
>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:281)
>> at
>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:174)
>> at java.lang.Thread.run(Thread.java:745)
>> WARNING: RepositoryAdminImpl: Exception creating repository
>> http://felix.apache.org/obr/releases.xml. Repository is skipped.
>> java.lang.reflect.InvocationTargetException
>> at java.lang.reflect.VMMethod.invoke(Native Method)
>> at java.lang.reflect.Method.invoke(Method.java:327)
>> at
>> org.apache.felix.bundlerepository.metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:490)
>> at
>> org.apache.felix.bundlerepository.metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:67)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl.access$000(RepositoryImpl.java:44)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl$1.run(RepositoryImpl.java:75)
>> at
>> java.security.AccessController.doPrivileged(AccessController.java:154)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:60)
>> at
>> org.apache.felix.bundlerepository.RepositoryAdminImpl.initialize(RepositoryAdminImpl.java:206)
>> at
>> org.apache.felix.bundlerepository.RepositoryAdminImpl.listRepositories(RepositoryAdminImpl.java:101)
>> at
>> org.apache.felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:188)
>> at
>> org.apache.felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:102)
>> at
>> org.apache.felix.shell.impl.Activator$ShellServiceImpl.executeCommand(Activator.java:281)
>> at
>> org.apache.felix.shell.tui.Activator$ShellTuiRunnable.run(Activator.java:174)
>> at java.lang.Thread.run(Thread.java:745)
>> Caused by: java.nio.channels.UnresolvedAddressException
>> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java:160)
>> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
>> at java.net.Socket.connect(Socket.java:454)
>> at java.net.Socket.connect(Socket.java:414)
>> at
>> gnu.java.net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java:721)
>> at
>> gnu.java.net.protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:802)
>> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
>> at
>> gnu.java.net.protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java:219)
>> at
>> gnu.java.net.protocol.http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
>> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:426)
>> at java.net.URLConnection.getContentLength(URLConnection.java:302)
>> at
>> gnu.java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java:79)
>> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
>> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
>> at gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:286)
>> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
>> at
>> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:209)
>> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
>> at
>> org.apache.felix.bundlerepository.RepositoryImpl.setLastmodified(RepositoryImpl.java:162)
>> at java.lang.reflect.VMMethod.invoke(Native Method)
>> ...16 more
>> No repository URLs are set.
>>
>> -> obr list
>> No matching bundles.
>>
>> ->
>
> Romain
>
> On 17 Jul 2009, at 13:11, Karl Pauls wrote:
>>
>> Could you try the current trunk instead of 1.8?
>>
>> regards,
>>
>> Karl
>>
>> On Fri, Jul 17, 2009 at 12:45 PM, Romain Rouvoy<ro...@ifi.uio.no> wrote:
>>>
>>> I tried the code excerpt below:
>>>>
>>>> public class Test {
>>>> public static void main(String[] argv) throws Exception {
>>>> URL url = new
>>>> URL("http://felix.apache.org/obr/releases.xml");
>>>> url.openConnection();
>>>> System.out.println(url.getContent());
>>>> } }
>>>
>>> And I got the following result:
>>>>
>>>> Nokia-N800-43-7:~# ping felix.apache.org
>>>> PING felix.apache.org (140.211.11.130): 56 data bytes
>>>> 64 bytes from 140.211.11.130: seq=0 ttl=242 time=289.1 ms
>>>> 64 bytes from 140.211.11.130: seq=1 ttl=242 time=306.6 ms
>>>> 64 bytes from 140.211.11.130: seq=2 ttl=242 time=323.6 ms
>>>>
>>>> --- felix.apache.org ping statistics ---
>>>> 3 packets transmitted, 3 packets received, 0% packet loss
>>>> round-trip min/avg/max = 289.1/306.4/323.6 ms
>>>>
>>>> Nokia-N800-43-7:~# java Test
>>>> java.util.zip.GZIPInputStream@41d839e8
>>>>
>>>
>>>
>>> So, it looks pretty fine from the Java perspective.
>>>
>>> Regards,
>>> Romain
>>>
>>> On 17 Jul 2009, at 12:11, Karl Pauls wrote:
>>>>
>>>> I'm not saying its not a bug in felix but it looks to me like the
>>>> reason is that it can not lookup the address. Did you try to create an
>>>> open a url to the repository yourself and does that work (i.e., in a
>>>> standalone java program).
>>>>
>>>> regards,
>>>> Karl
>>>>
>>>> On Fri, Jul 17, 2009 at 11:01 AM, Romain Rouvoy<ro...@lifl.fr>
>>>> wrote:
>>>>>
>>>>> Hi guys,
>>>>>
>>>>> I am currently trying to execute Felix 1.8 on a Nokia N800 running
>>>>> JamVM
>>>>> 1.5.2.
>>>>>
>>>>> However, I get the following error when executing the command "obr
>>>>> list":
>>>>>
>>>>>> ERROR: Error parsing repository metadata
>>>>>> java.nio.channels.UnresolvedAddressException
>>>>>> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java:
>>>>>> 160)
>>>>>> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
>>>>>> at java.net.Socket.connect(Socket.java:454)
>>>>>> at java.net.Socket.connect(Socket.java:414)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> gnu .java.net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java:
>>>>>> 721)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> gnu .java .net .protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:802)
>>>>>> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> gnu .java .net.protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java:
>>>>>> 219)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> gnu .java .net .protocol .http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
>>>>>> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:426)
>>>>>> at java.net.URLConnection.getContentLength(URLConnection.java:302)
>>>>>> at
>>>>>> gnu.java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java:
>>>>>> 79)
>>>>>> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
>>>>>> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
>>>>>> at
>>>>>> gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:286)
>>>>>> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
>>>>>> at
>>>>>>
>>>>>> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:209)
>>>>>> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
>>>>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
>>>>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org .apache .felix .bundlerepository.RepositoryImpl.setLastmodified(RepositoryImpl.java:
>>>>>> 162)
>>>>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>>>>> at java.lang.reflect.Method.invoke(Method.java:327)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org .apache .felix .bundlerepository .metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:
>>>>>> 490)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org .apache .felix .bundlerepository .metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:
>>>>>> 67)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org .apache .felix .bundlerepository .RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>>>>> at org.apache.felix.bundlerepository.RepositoryImpl.access
>>>>>> $000(RepositoryImpl.java:44)
>>>>>> at org.apache.felix.bundlerepository.RepositoryImpl
>>>>>> $1.run(RepositoryImpl.java:75)
>>>>>> at
>>>>>>
>>>>>> java.security.AccessController.doPrivileged(AccessController.java:154)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org .apache .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org .apache .felix .bundlerepository .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org .apache .felix .bundlerepository .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org .apache .felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org .apache .felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:
>>>>>> 102)
>>>>>> at org.apache.felix.shell.impl.Activator
>>>>>> $ShellServiceImpl.executeCommand(Activator.java:291)
>>>>>> at org.apache.felix.shell.tui.Activator
>>>>>> $ShellTuiRunnable.run(Activator.java:177)
>>>>>> at java.lang.Thread.run(Thread.java:745)
>>>>>> java.lang.reflect.InvocationTargetException
>>>>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>>>>> at java.lang.reflect.Method.invoke(Method.java:327)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org .apache .felix .bundlerepository .metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:
>>>>>> 490)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org .apache .felix .bundlerepository .metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:
>>>>>> 67)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org .apache .felix .bundlerepository .RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>>>>> at org.apache.felix.bundlerepository.RepositoryImpl.access
>>>>>> $000(RepositoryImpl.java:44)
>>>>>> at org.apache.felix.bundlerepository.RepositoryImpl
>>>>>> $1.run(RepositoryImpl.java:75)
>>>>>> at
>>>>>>
>>>>>> java.security.AccessController.doPrivileged(AccessController.java:154)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org .apache .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org .apache .felix .bundlerepository .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org .apache .felix .bundlerepository .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org .apache .felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org .apache .felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:
>>>>>> 102)
>>>>>> at org.apache.felix.shell.impl.Activator
>>>>>> $ShellServiceImpl.executeCommand(Activator.java:291)
>>>>>> at org.apache.felix.shell.tui.Activator
>>>>>> $ShellTuiRunnable.run(Activator.java:177)
>>>>>> at java.lang.Thread.run(Thread.java:745)
>>>>>> Caused by: java.nio.channels.UnresolvedAddressException
>>>>>> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java:
>>>>>> 160)
>>>>>> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
>>>>>> at java.net.Socket.connect(Socket.java:454)
>>>>>> at java.net.Socket.connect(Socket.java:414)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> gnu .java.net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java:
>>>>>> 721)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> gnu .java .net .protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:802)
>>>>>> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> gnu .java .net.protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java:
>>>>>> 219)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> gnu .java .net .protocol .http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
>>>>>> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:426)
>>>>>> at java.net.URLConnection.getContentLength(URLConnection.java:302)
>>>>>> at
>>>>>> gnu.java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java:
>>>>>> 79)
>>>>>> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
>>>>>> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
>>>>>> at
>>>>>> gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:286)
>>>>>> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
>>>>>> at
>>>>>>
>>>>>> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:209)
>>>>>> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
>>>>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
>>>>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
>>>>>> at
>>>>>>
>>>>>>
>>>>>> org .apache .felix .bundlerepository.RepositoryImpl.setLastmodified(RepositoryImpl.java:
>>>>>> 162)
>>>>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>>>>> ...15 more
>>>>>
>>>>> It seems that it fails to parse the default repository descriptor
>>>>> available
>>>>> on the Felix website :-/
>>>>> Does any of you managed to get it run smoothly on an Internet Tablet?
>>>>>
>>>>> Kind regards,
>>>>> Romain
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>>> For additional commands, e-mail: users-help@felix.apache.org
>>>
>>>
>>
>>
>>
>> --
>> Karl Pauls
>> karlpauls@gmail.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
--
Karl Pauls
karlpauls@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Felix 1.8 / JamVM 1.5.2 / Nokia N800
Posted by Romain Rouvoy <ro...@ifi.uio.no>.
I compiled the current trunk and I still have the same exception:
> -> ps
> START LEVEL 1
> ID State Level Name
> [ 0] [Active ] [ 0] System Bundle (1.9.0.SNAPSHOT)
> [ 1] [Active ] [ 1] Apache Felix Shell Service
> (1.3.0.SNAPSHOT)
> [ 2] [Active ] [ 1] Apache Felix Shell TUI (1.3.0.SNAPSHOT)
> [ 3] [Active ] [ 1] Apache Felix Bundle Repository
> (1.5.0.SNAPSHOT)
>
> -> obr list-url
> ERROR: Error parsing repository metadata
> java.nio.channels.UnresolvedAddressException
> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java:
> 160)
> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
> at java.net.Socket.connect(Socket.java:454)
> at java.net.Socket.connect(Socket.java:414)
> at
> gnu
> .java.net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java:
> 721)
> at
> gnu
> .java
> .net
> .protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:802)
> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
> at
> gnu
> .java
> .net.protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java:
> 219)
> at
> gnu
> .java
> .net
> .protocol
> .http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:426)
> at java.net.URLConnection.getContentLength(URLConnection.java:302)
> at
> gnu.java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java:
> 79)
> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
> at
> gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:286)
> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
> at
> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:209)
> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
> at
> org
> .apache
> .felix
> .bundlerepository.RepositoryImpl.setLastmodified(RepositoryImpl.java:
> 162)
> at java.lang.reflect.VMMethod.invoke(Native Method)
> at java.lang.reflect.Method.invoke(Method.java:327)
> at
> org
> .apache
> .felix
> .bundlerepository
> .metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:
> 490)
> at
> org
> .apache
> .felix
> .bundlerepository
> .metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:
> 67)
> at
> org
> .apache
> .felix
> .bundlerepository
> .RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
> at org.apache.felix.bundlerepository.RepositoryImpl.access
> $000(RepositoryImpl.java:44)
> at org.apache.felix.bundlerepository.RepositoryImpl
> $1.run(RepositoryImpl.java:75)
> at
> java.security.AccessController.doPrivileged(AccessController.java:154)
> at
> org
> .apache
> .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
> at
> org
> .apache
> .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:60)
> at
> org
> .apache
> .felix
> .bundlerepository
> .RepositoryAdminImpl.initialize(RepositoryAdminImpl.java:206)
> at
> org
> .apache
> .felix
> .bundlerepository
> .RepositoryAdminImpl.listRepositories(RepositoryAdminImpl.java:101)
> at
> org
> .apache
> .felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:188)
> at
> org
> .apache
> .felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:
> 102)
> at org.apache.felix.shell.impl.Activator
> $ShellServiceImpl.executeCommand(Activator.java:281)
> at org.apache.felix.shell.tui.Activator
> $ShellTuiRunnable.run(Activator.java:174)
> at java.lang.Thread.run(Thread.java:745)
> WARNING: RepositoryAdminImpl: Exception creating repository http://felix.apache.org/obr/releases.xml
> . Repository is skipped.
> java.lang.reflect.InvocationTargetException
> at java.lang.reflect.VMMethod.invoke(Native Method)
> at java.lang.reflect.Method.invoke(Method.java:327)
> at
> org
> .apache
> .felix
> .bundlerepository
> .metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:
> 490)
> at
> org
> .apache
> .felix
> .bundlerepository
> .metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:
> 67)
> at
> org
> .apache
> .felix
> .bundlerepository
> .RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
> at org.apache.felix.bundlerepository.RepositoryImpl.access
> $000(RepositoryImpl.java:44)
> at org.apache.felix.bundlerepository.RepositoryImpl
> $1.run(RepositoryImpl.java:75)
> at
> java.security.AccessController.doPrivileged(AccessController.java:154)
> at
> org
> .apache
> .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
> at
> org
> .apache
> .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:60)
> at
> org
> .apache
> .felix
> .bundlerepository
> .RepositoryAdminImpl.initialize(RepositoryAdminImpl.java:206)
> at
> org
> .apache
> .felix
> .bundlerepository
> .RepositoryAdminImpl.listRepositories(RepositoryAdminImpl.java:101)
> at
> org
> .apache
> .felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:188)
> at
> org
> .apache
> .felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:
> 102)
> at org.apache.felix.shell.impl.Activator
> $ShellServiceImpl.executeCommand(Activator.java:281)
> at org.apache.felix.shell.tui.Activator
> $ShellTuiRunnable.run(Activator.java:174)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.nio.channels.UnresolvedAddressException
> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java:
> 160)
> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
> at java.net.Socket.connect(Socket.java:454)
> at java.net.Socket.connect(Socket.java:414)
> at
> gnu
> .java.net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java:
> 721)
> at
> gnu
> .java
> .net
> .protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:802)
> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
> at
> gnu
> .java
> .net.protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java:
> 219)
> at
> gnu
> .java
> .net
> .protocol
> .http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:426)
> at java.net.URLConnection.getContentLength(URLConnection.java:302)
> at
> gnu.java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java:
> 79)
> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
> at
> gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:286)
> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
> at
> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:209)
> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
> at
> org
> .apache
> .felix
> .bundlerepository.RepositoryImpl.setLastmodified(RepositoryImpl.java:
> 162)
> at java.lang.reflect.VMMethod.invoke(Native Method)
> ...16 more
> No repository URLs are set.
>
> -> obr list
> No matching bundles.
>
> ->
Romain
On 17 Jul 2009, at 13:11, Karl Pauls wrote:
> Could you try the current trunk instead of 1.8?
>
> regards,
>
> Karl
>
> On Fri, Jul 17, 2009 at 12:45 PM, Romain Rouvoy<ro...@ifi.uio.no>
> wrote:
>> I tried the code excerpt below:
>>>
>>> public class Test {
>>> public static void main(String[] argv) throws Exception {
>>> URL url = new
>>> URL("http://felix.apache.org/obr/releases.xml");
>>> url.openConnection();
>>> System.out.println(url.getContent());
>>> } }
>>
>> And I got the following result:
>>>
>>> Nokia-N800-43-7:~# ping felix.apache.org
>>> PING felix.apache.org (140.211.11.130): 56 data bytes
>>> 64 bytes from 140.211.11.130: seq=0 ttl=242 time=289.1 ms
>>> 64 bytes from 140.211.11.130: seq=1 ttl=242 time=306.6 ms
>>> 64 bytes from 140.211.11.130: seq=2 ttl=242 time=323.6 ms
>>>
>>> --- felix.apache.org ping statistics ---
>>> 3 packets transmitted, 3 packets received, 0% packet loss
>>> round-trip min/avg/max = 289.1/306.4/323.6 ms
>>>
>>> Nokia-N800-43-7:~# java Test
>>> java.util.zip.GZIPInputStream@41d839e8
>>>
>>
>>
>> So, it looks pretty fine from the Java perspective.
>>
>> Regards,
>> Romain
>>
>> On 17 Jul 2009, at 12:11, Karl Pauls wrote:
>>>
>>> I'm not saying its not a bug in felix but it looks to me like the
>>> reason is that it can not lookup the address. Did you try to
>>> create an
>>> open a url to the repository yourself and does that work (i.e., in a
>>> standalone java program).
>>>
>>> regards,
>>> Karl
>>>
>>> On Fri, Jul 17, 2009 at 11:01 AM, Romain Rouvoy<romain.rouvoy@lifl.fr
>>> >
>>> wrote:
>>>>
>>>> Hi guys,
>>>>
>>>> I am currently trying to execute Felix 1.8 on a Nokia N800
>>>> running JamVM
>>>> 1.5.2.
>>>>
>>>> However, I get the following error when executing the command
>>>> "obr list":
>>>>
>>>>> ERROR: Error parsing repository metadata
>>>>> java.nio.channels.UnresolvedAddressException
>>>>> at
>>>>> gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java:
>>>>> 160)
>>>>> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
>>>>> at java.net.Socket.connect(Socket.java:454)
>>>>> at java.net.Socket.connect(Socket.java:414)
>>>>> at
>>>>>
>>>>>
>>>>> gnu
>>>>> .java
>>>>> .net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java:
>>>>> 721)
>>>>> at
>>>>>
>>>>>
>>>>> gnu
>>>>> .java
>>>>> .net
>>>>> .protocol
>>>>> .http.HTTPConnection.getOutputStream(HTTPConnection.java:802)
>>>>> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
>>>>> at
>>>>>
>>>>>
>>>>> gnu
>>>>> .java
>>>>> .net
>>>>> .protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java:
>>>>> 219)
>>>>> at
>>>>>
>>>>>
>>>>> gnu
>>>>> .java
>>>>> .net
>>>>> .protocol
>>>>> .http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:
>>>>> 582)
>>>>> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:
>>>>> 426)
>>>>> at java.net.URLConnection.getContentLength(URLConnection.java:
>>>>> 302)
>>>>> at
>>>>>
>>>>> gnu
>>>>> .java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java:
>>>>> 79)
>>>>> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
>>>>> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
>>>>> at
>>>>>
>>>>> gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:
>>>>> 286)
>>>>> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
>>>>> at
>>>>>
>>>>> java
>>>>> .text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:209)
>>>>> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
>>>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
>>>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
>>>>> at
>>>>>
>>>>>
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository
>>>>> .RepositoryImpl.setLastmodified(RepositoryImpl.java:
>>>>> 162)
>>>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>>>> at java.lang.reflect.Method.invoke(Method.java:327)
>>>>> at
>>>>>
>>>>>
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository
>>>>> .metadataparser
>>>>> .XmlCommonHandler.startElement(XmlCommonHandler.java:
>>>>> 490)
>>>>> at
>>>>>
>>>>>
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository
>>>>> .metadataparser
>>>>> .kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:
>>>>> 67)
>>>>> at
>>>>>
>>>>>
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository
>>>>> .RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>>>> at org.apache.felix.bundlerepository.RepositoryImpl.access
>>>>> $000(RepositoryImpl.java:44)
>>>>> at org.apache.felix.bundlerepository.RepositoryImpl
>>>>> $1.run(RepositoryImpl.java:75)
>>>>> at
>>>>>
>>>>> java
>>>>> .security.AccessController.doPrivileged(AccessController.java:154)
>>>>> at
>>>>>
>>>>>
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>>>>> at
>>>>>
>>>>>
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository
>>>>> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>>>>> at
>>>>>
>>>>>
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository
>>>>> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>>>>> at
>>>>>
>>>>>
>>>>> org
>>>>> .apache
>>>>> .felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:
>>>>> 160)
>>>>> at
>>>>>
>>>>>
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:
>>>>> 102)
>>>>> at org.apache.felix.shell.impl.Activator
>>>>> $ShellServiceImpl.executeCommand(Activator.java:291)
>>>>> at org.apache.felix.shell.tui.Activator
>>>>> $ShellTuiRunnable.run(Activator.java:177)
>>>>> at java.lang.Thread.run(Thread.java:745)
>>>>> java.lang.reflect.InvocationTargetException
>>>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>>>> at java.lang.reflect.Method.invoke(Method.java:327)
>>>>> at
>>>>>
>>>>>
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository
>>>>> .metadataparser
>>>>> .XmlCommonHandler.startElement(XmlCommonHandler.java:
>>>>> 490)
>>>>> at
>>>>>
>>>>>
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository
>>>>> .metadataparser
>>>>> .kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:
>>>>> 67)
>>>>> at
>>>>>
>>>>>
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository
>>>>> .RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>>>> at org.apache.felix.bundlerepository.RepositoryImpl.access
>>>>> $000(RepositoryImpl.java:44)
>>>>> at org.apache.felix.bundlerepository.RepositoryImpl
>>>>> $1.run(RepositoryImpl.java:75)
>>>>> at
>>>>>
>>>>> java
>>>>> .security.AccessController.doPrivileged(AccessController.java:154)
>>>>> at
>>>>>
>>>>>
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>>>>> at
>>>>>
>>>>>
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository
>>>>> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>>>>> at
>>>>>
>>>>>
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository
>>>>> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>>>>> at
>>>>>
>>>>>
>>>>> org
>>>>> .apache
>>>>> .felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:
>>>>> 160)
>>>>> at
>>>>>
>>>>>
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:
>>>>> 102)
>>>>> at org.apache.felix.shell.impl.Activator
>>>>> $ShellServiceImpl.executeCommand(Activator.java:291)
>>>>> at org.apache.felix.shell.tui.Activator
>>>>> $ShellTuiRunnable.run(Activator.java:177)
>>>>> at java.lang.Thread.run(Thread.java:745)
>>>>> Caused by: java.nio.channels.UnresolvedAddressException
>>>>> at
>>>>> gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java:
>>>>> 160)
>>>>> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
>>>>> at java.net.Socket.connect(Socket.java:454)
>>>>> at java.net.Socket.connect(Socket.java:414)
>>>>> at
>>>>>
>>>>>
>>>>> gnu
>>>>> .java
>>>>> .net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java:
>>>>> 721)
>>>>> at
>>>>>
>>>>>
>>>>> gnu
>>>>> .java
>>>>> .net
>>>>> .protocol
>>>>> .http.HTTPConnection.getOutputStream(HTTPConnection.java:802)
>>>>> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
>>>>> at
>>>>>
>>>>>
>>>>> gnu
>>>>> .java
>>>>> .net
>>>>> .protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java:
>>>>> 219)
>>>>> at
>>>>>
>>>>>
>>>>> gnu
>>>>> .java
>>>>> .net
>>>>> .protocol
>>>>> .http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:
>>>>> 582)
>>>>> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:
>>>>> 426)
>>>>> at java.net.URLConnection.getContentLength(URLConnection.java:
>>>>> 302)
>>>>> at
>>>>>
>>>>> gnu
>>>>> .java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java:
>>>>> 79)
>>>>> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
>>>>> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
>>>>> at
>>>>>
>>>>> gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:
>>>>> 286)
>>>>> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
>>>>> at
>>>>>
>>>>> java
>>>>> .text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:209)
>>>>> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
>>>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
>>>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
>>>>> at
>>>>>
>>>>>
>>>>> org
>>>>> .apache
>>>>> .felix
>>>>> .bundlerepository
>>>>> .RepositoryImpl.setLastmodified(RepositoryImpl.java:
>>>>> 162)
>>>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>>>> ...15 more
>>>>
>>>> It seems that it fails to parse the default repository descriptor
>>>> available
>>>> on the Felix website :-/
>>>> Does any of you managed to get it run smoothly on an Internet
>>>> Tablet?
>>>>
>>>> Kind regards,
>>>> Romain
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
>
>
>
> --
> Karl Pauls
> karlpauls@gmail.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Felix 1.8 / JamVM 1.5.2 / Nokia N800
Posted by Karl Pauls <ka...@gmail.com>.
Could you try the current trunk instead of 1.8?
regards,
Karl
On Fri, Jul 17, 2009 at 12:45 PM, Romain Rouvoy<ro...@ifi.uio.no> wrote:
> I tried the code excerpt below:
>>
>> public class Test {
>> public static void main(String[] argv) throws Exception {
>> URL url = new
>> URL("http://felix.apache.org/obr/releases.xml");
>> url.openConnection();
>> System.out.println(url.getContent());
>> } }
>
> And I got the following result:
>>
>> Nokia-N800-43-7:~# ping felix.apache.org
>> PING felix.apache.org (140.211.11.130): 56 data bytes
>> 64 bytes from 140.211.11.130: seq=0 ttl=242 time=289.1 ms
>> 64 bytes from 140.211.11.130: seq=1 ttl=242 time=306.6 ms
>> 64 bytes from 140.211.11.130: seq=2 ttl=242 time=323.6 ms
>>
>> --- felix.apache.org ping statistics ---
>> 3 packets transmitted, 3 packets received, 0% packet loss
>> round-trip min/avg/max = 289.1/306.4/323.6 ms
>>
>> Nokia-N800-43-7:~# java Test
>> java.util.zip.GZIPInputStream@41d839e8
>>
>
>
> So, it looks pretty fine from the Java perspective.
>
> Regards,
> Romain
>
> On 17 Jul 2009, at 12:11, Karl Pauls wrote:
>>
>> I'm not saying its not a bug in felix but it looks to me like the
>> reason is that it can not lookup the address. Did you try to create an
>> open a url to the repository yourself and does that work (i.e., in a
>> standalone java program).
>>
>> regards,
>> Karl
>>
>> On Fri, Jul 17, 2009 at 11:01 AM, Romain Rouvoy<ro...@lifl.fr>
>> wrote:
>>>
>>> Hi guys,
>>>
>>> I am currently trying to execute Felix 1.8 on a Nokia N800 running JamVM
>>> 1.5.2.
>>>
>>> However, I get the following error when executing the command "obr list":
>>>
>>>> ERROR: Error parsing repository metadata
>>>> java.nio.channels.UnresolvedAddressException
>>>> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java: 160)
>>>> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
>>>> at java.net.Socket.connect(Socket.java:454)
>>>> at java.net.Socket.connect(Socket.java:414)
>>>> at
>>>>
>>>> gnu .java.net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java:
>>>> 721)
>>>> at
>>>>
>>>> gnu .java .net .protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:802)
>>>> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
>>>> at
>>>>
>>>> gnu .java .net.protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java:
>>>> 219)
>>>> at
>>>>
>>>> gnu .java .net .protocol .http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
>>>> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:426)
>>>> at java.net.URLConnection.getContentLength(URLConnection.java:302)
>>>> at
>>>> gnu.java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java:
>>>> 79)
>>>> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
>>>> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
>>>> at
>>>> gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:286)
>>>> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
>>>> at
>>>> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:209)
>>>> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
>>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
>>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
>>>> at
>>>>
>>>> org .apache .felix .bundlerepository.RepositoryImpl.setLastmodified(RepositoryImpl.java:
>>>> 162)
>>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>>> at java.lang.reflect.Method.invoke(Method.java:327)
>>>> at
>>>>
>>>> org .apache .felix .bundlerepository .metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:
>>>> 490)
>>>> at
>>>>
>>>> org .apache .felix .bundlerepository .metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:
>>>> 67)
>>>> at
>>>>
>>>> org .apache .felix .bundlerepository .RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>>> at org.apache.felix.bundlerepository.RepositoryImpl.access
>>>> $000(RepositoryImpl.java:44)
>>>> at org.apache.felix.bundlerepository.RepositoryImpl
>>>> $1.run(RepositoryImpl.java:75)
>>>> at
>>>> java.security.AccessController.doPrivileged(AccessController.java:154)
>>>> at
>>>>
>>>> org .apache .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>>>> at
>>>>
>>>> org .apache .felix .bundlerepository .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>>>> at
>>>>
>>>> org .apache .felix .bundlerepository .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>>>> at
>>>>
>>>> org .apache .felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>>>> at
>>>>
>>>> org .apache .felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:
>>>> 102)
>>>> at org.apache.felix.shell.impl.Activator
>>>> $ShellServiceImpl.executeCommand(Activator.java:291)
>>>> at org.apache.felix.shell.tui.Activator
>>>> $ShellTuiRunnable.run(Activator.java:177)
>>>> at java.lang.Thread.run(Thread.java:745)
>>>> java.lang.reflect.InvocationTargetException
>>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>>> at java.lang.reflect.Method.invoke(Method.java:327)
>>>> at
>>>>
>>>> org .apache .felix .bundlerepository .metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:
>>>> 490)
>>>> at
>>>>
>>>> org .apache .felix .bundlerepository .metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:
>>>> 67)
>>>> at
>>>>
>>>> org .apache .felix .bundlerepository .RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>>> at org.apache.felix.bundlerepository.RepositoryImpl.access
>>>> $000(RepositoryImpl.java:44)
>>>> at org.apache.felix.bundlerepository.RepositoryImpl
>>>> $1.run(RepositoryImpl.java:75)
>>>> at
>>>> java.security.AccessController.doPrivileged(AccessController.java:154)
>>>> at
>>>>
>>>> org .apache .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>>>> at
>>>>
>>>> org .apache .felix .bundlerepository .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>>>> at
>>>>
>>>> org .apache .felix .bundlerepository .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>>>> at
>>>>
>>>> org .apache .felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>>>> at
>>>>
>>>> org .apache .felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:
>>>> 102)
>>>> at org.apache.felix.shell.impl.Activator
>>>> $ShellServiceImpl.executeCommand(Activator.java:291)
>>>> at org.apache.felix.shell.tui.Activator
>>>> $ShellTuiRunnable.run(Activator.java:177)
>>>> at java.lang.Thread.run(Thread.java:745)
>>>> Caused by: java.nio.channels.UnresolvedAddressException
>>>> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java: 160)
>>>> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
>>>> at java.net.Socket.connect(Socket.java:454)
>>>> at java.net.Socket.connect(Socket.java:414)
>>>> at
>>>>
>>>> gnu .java.net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java:
>>>> 721)
>>>> at
>>>>
>>>> gnu .java .net .protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:802)
>>>> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
>>>> at
>>>>
>>>> gnu .java .net.protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java:
>>>> 219)
>>>> at
>>>>
>>>> gnu .java .net .protocol .http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
>>>> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:426)
>>>> at java.net.URLConnection.getContentLength(URLConnection.java:302)
>>>> at
>>>> gnu.java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java:
>>>> 79)
>>>> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
>>>> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
>>>> at
>>>> gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:286)
>>>> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
>>>> at
>>>> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:209)
>>>> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
>>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
>>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
>>>> at
>>>>
>>>> org .apache .felix .bundlerepository.RepositoryImpl.setLastmodified(RepositoryImpl.java:
>>>> 162)
>>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>>> ...15 more
>>>
>>> It seems that it fails to parse the default repository descriptor
>>> available
>>> on the Felix website :-/
>>> Does any of you managed to get it run smoothly on an Internet Tablet?
>>>
>>> Kind regards,
>>> Romain
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
--
Karl Pauls
karlpauls@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Felix 1.8 / JamVM 1.5.2 / Nokia N800
Posted by Romain Rouvoy <ro...@ifi.uio.no>.
I tried the code excerpt below:
> public class Test {
> public static void main(String[] argv) throws Exception {
> URL url = new URL("http://felix.apache.org/obr/releases.xml");
> url.openConnection();
> System.out.println(url.getContent());
> } }
And I got the following result:
> Nokia-N800-43-7:~# ping felix.apache.org
> PING felix.apache.org (140.211.11.130): 56 data bytes
> 64 bytes from 140.211.11.130: seq=0 ttl=242 time=289.1 ms
> 64 bytes from 140.211.11.130: seq=1 ttl=242 time=306.6 ms
> 64 bytes from 140.211.11.130: seq=2 ttl=242 time=323.6 ms
>
> --- felix.apache.org ping statistics ---
> 3 packets transmitted, 3 packets received, 0% packet loss
> round-trip min/avg/max = 289.1/306.4/323.6 ms
>
> Nokia-N800-43-7:~# java Test
> java.util.zip.GZIPInputStream@41d839e8
>
So, it looks pretty fine from the Java perspective.
Regards,
Romain
On 17 Jul 2009, at 12:11, Karl Pauls wrote:
> I'm not saying its not a bug in felix but it looks to me like the
> reason is that it can not lookup the address. Did you try to create an
> open a url to the repository yourself and does that work (i.e., in a
> standalone java program).
>
> regards,
> Karl
>
> On Fri, Jul 17, 2009 at 11:01 AM, Romain
> Rouvoy<ro...@lifl.fr> wrote:
>> Hi guys,
>>
>> I am currently trying to execute Felix 1.8 on a Nokia N800 running
>> JamVM
>> 1.5.2.
>>
>> However, I get the following error when executing the command "obr
>> list":
>>
>>> ERROR: Error parsing repository metadata
>>> java.nio.channels.UnresolvedAddressException
>>> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java:
>>> 160)
>>> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
>>> at java.net.Socket.connect(Socket.java:454)
>>> at java.net.Socket.connect(Socket.java:414)
>>> at
>>>
>>> gnu
>>> .java
>>> .net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java:
>>> 721)
>>> at
>>>
>>> gnu
>>> .java
>>> .net
>>> .protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:
>>> 802)
>>> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
>>> at
>>>
>>> gnu
>>> .java
>>> .net
>>> .protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java:
>>> 219)
>>> at
>>>
>>> gnu
>>> .java
>>> .net
>>> .protocol
>>> .http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
>>> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:426)
>>> at java.net.URLConnection.getContentLength(URLConnection.java:302)
>>> at
>>> gnu
>>> .java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java:
>>> 79)
>>> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
>>> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
>>> at
>>> gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:
>>> 286)
>>> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
>>> at
>>> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:
>>> 209)
>>> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
>>> at
>>>
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .RepositoryImpl.setLastmodified(RepositoryImpl.java:
>>> 162)
>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>> at java.lang.reflect.Method.invoke(Method.java:327)
>>> at
>>>
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .metadataparser
>>> .XmlCommonHandler.startElement(XmlCommonHandler.java:
>>> 490)
>>> at
>>>
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .metadataparser
>>> .kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:
>>> 67)
>>> at
>>>
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>> at org.apache.felix.bundlerepository.RepositoryImpl.access
>>> $000(RepositoryImpl.java:44)
>>> at org.apache.felix.bundlerepository.RepositoryImpl
>>> $1.run(RepositoryImpl.java:75)
>>> at
>>> java.security.AccessController.doPrivileged(AccessController.java:
>>> 154)
>>> at
>>>
>>> org
>>> .apache
>>> .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:
>>> 71)
>>> at
>>>
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>>> at
>>>
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>>> at
>>>
>>> org
>>> .apache
>>> .felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:
>>> 160)
>>> at
>>>
>>> org
>>> .apache
>>> .felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:
>>> 102)
>>> at org.apache.felix.shell.impl.Activator
>>> $ShellServiceImpl.executeCommand(Activator.java:291)
>>> at org.apache.felix.shell.tui.Activator
>>> $ShellTuiRunnable.run(Activator.java:177)
>>> at java.lang.Thread.run(Thread.java:745)
>>> java.lang.reflect.InvocationTargetException
>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>> at java.lang.reflect.Method.invoke(Method.java:327)
>>> at
>>>
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .metadataparser
>>> .XmlCommonHandler.startElement(XmlCommonHandler.java:
>>> 490)
>>> at
>>>
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .metadataparser
>>> .kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:
>>> 67)
>>> at
>>>
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>>> at org.apache.felix.bundlerepository.RepositoryImpl.access
>>> $000(RepositoryImpl.java:44)
>>> at org.apache.felix.bundlerepository.RepositoryImpl
>>> $1.run(RepositoryImpl.java:75)
>>> at
>>> java.security.AccessController.doPrivileged(AccessController.java:
>>> 154)
>>> at
>>>
>>> org
>>> .apache
>>> .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:
>>> 71)
>>> at
>>>
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>>> at
>>>
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>>> at
>>>
>>> org
>>> .apache
>>> .felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:
>>> 160)
>>> at
>>>
>>> org
>>> .apache
>>> .felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:
>>> 102)
>>> at org.apache.felix.shell.impl.Activator
>>> $ShellServiceImpl.executeCommand(Activator.java:291)
>>> at org.apache.felix.shell.tui.Activator
>>> $ShellTuiRunnable.run(Activator.java:177)
>>> at java.lang.Thread.run(Thread.java:745)
>>> Caused by: java.nio.channels.UnresolvedAddressException
>>> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java:
>>> 160)
>>> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
>>> at java.net.Socket.connect(Socket.java:454)
>>> at java.net.Socket.connect(Socket.java:414)
>>> at
>>>
>>> gnu
>>> .java
>>> .net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java:
>>> 721)
>>> at
>>>
>>> gnu
>>> .java
>>> .net
>>> .protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:
>>> 802)
>>> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
>>> at
>>>
>>> gnu
>>> .java
>>> .net
>>> .protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java:
>>> 219)
>>> at
>>>
>>> gnu
>>> .java
>>> .net
>>> .protocol
>>> .http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
>>> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:426)
>>> at java.net.URLConnection.getContentLength(URLConnection.java:302)
>>> at
>>> gnu
>>> .java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java:
>>> 79)
>>> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
>>> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
>>> at
>>> gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:
>>> 286)
>>> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
>>> at
>>> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:
>>> 209)
>>> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
>>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
>>> at
>>>
>>> org
>>> .apache
>>> .felix
>>> .bundlerepository
>>> .RepositoryImpl.setLastmodified(RepositoryImpl.java:
>>> 162)
>>> at java.lang.reflect.VMMethod.invoke(Native Method)
>>> ...15 more
>>
>> It seems that it fails to parse the default repository descriptor
>> available
>> on the Felix website :-/
>> Does any of you managed to get it run smoothly on an Internet Tablet?
>>
>> Kind regards,
>> Romain
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Felix 1.8 / JamVM 1.5.2 / Nokia N800
Posted by Karl Pauls <ka...@gmail.com>.
I'm not saying its not a bug in felix but it looks to me like the
reason is that it can not lookup the address. Did you try to create an
open a url to the repository yourself and does that work (i.e., in a
standalone java program).
regards,
Karl
On Fri, Jul 17, 2009 at 11:01 AM, Romain Rouvoy<ro...@lifl.fr> wrote:
> Hi guys,
>
> I am currently trying to execute Felix 1.8 on a Nokia N800 running JamVM
> 1.5.2.
>
> However, I get the following error when executing the command "obr list":
>
>> ERROR: Error parsing repository metadata
>> java.nio.channels.UnresolvedAddressException
>> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java: 160)
>> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
>> at java.net.Socket.connect(Socket.java:454)
>> at java.net.Socket.connect(Socket.java:414)
>> at
>> gnu .java.net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java:
>> 721)
>> at
>> gnu .java .net .protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:802)
>> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
>> at
>> gnu .java .net.protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java:
>> 219)
>> at
>> gnu .java .net .protocol .http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
>> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:426)
>> at java.net.URLConnection.getContentLength(URLConnection.java:302)
>> at gnu.java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java:
>> 79)
>> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
>> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
>> at gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:286)
>> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
>> at
>> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:209)
>> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
>> at
>> org .apache .felix .bundlerepository.RepositoryImpl.setLastmodified(RepositoryImpl.java:
>> 162)
>> at java.lang.reflect.VMMethod.invoke(Native Method)
>> at java.lang.reflect.Method.invoke(Method.java:327)
>> at
>> org .apache .felix .bundlerepository .metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:
>> 490)
>> at
>> org .apache .felix .bundlerepository .metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:
>> 67)
>> at
>> org .apache .felix .bundlerepository .RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>> at org.apache.felix.bundlerepository.RepositoryImpl.access
>> $000(RepositoryImpl.java:44)
>> at org.apache.felix.bundlerepository.RepositoryImpl
>> $1.run(RepositoryImpl.java:75)
>> at
>> java.security.AccessController.doPrivileged(AccessController.java:154)
>> at
>> org .apache .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>> at
>> org .apache .felix .bundlerepository .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>> at
>> org .apache .felix .bundlerepository .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>> at
>> org .apache .felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>> at
>> org .apache .felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:
>> 102)
>> at org.apache.felix.shell.impl.Activator
>> $ShellServiceImpl.executeCommand(Activator.java:291)
>> at org.apache.felix.shell.tui.Activator
>> $ShellTuiRunnable.run(Activator.java:177)
>> at java.lang.Thread.run(Thread.java:745)
>> java.lang.reflect.InvocationTargetException
>> at java.lang.reflect.VMMethod.invoke(Native Method)
>> at java.lang.reflect.Method.invoke(Method.java:327)
>> at
>> org .apache .felix .bundlerepository .metadataparser.XmlCommonHandler.startElement(XmlCommonHandler.java:
>> 490)
>> at
>> org .apache .felix .bundlerepository .metadataparser.kxmlsax.KXml2SAXParser.parseXML(KXml2SAXParser.java:
>> 67)
>> at
>> org .apache .felix .bundlerepository .RepositoryImpl.parseRepositoryFile(RepositoryImpl.java:256)
>> at org.apache.felix.bundlerepository.RepositoryImpl.access
>> $000(RepositoryImpl.java:44)
>> at org.apache.felix.bundlerepository.RepositoryImpl
>> $1.run(RepositoryImpl.java:75)
>> at
>> java.security.AccessController.doPrivileged(AccessController.java:154)
>> at
>> org .apache .felix.bundlerepository.RepositoryImpl.<init>(RepositoryImpl.java:71)
>> at
>> org .apache .felix .bundlerepository .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:86)
>> at
>> org .apache .felix .bundlerepository .RepositoryAdminImpl.addRepository(RepositoryAdminImpl.java:73)
>> at
>> org .apache .felix.bundlerepository.ObrCommandImpl.urls(ObrCommandImpl.java:160)
>> at
>> org .apache .felix.bundlerepository.ObrCommandImpl.execute(ObrCommandImpl.java:
>> 102)
>> at org.apache.felix.shell.impl.Activator
>> $ShellServiceImpl.executeCommand(Activator.java:291)
>> at org.apache.felix.shell.tui.Activator
>> $ShellTuiRunnable.run(Activator.java:177)
>> at java.lang.Thread.run(Thread.java:745)
>> Caused by: java.nio.channels.UnresolvedAddressException
>> at gnu.java.nio.SocketChannelImpl.connect(SocketChannelImpl.java: 160)
>> at gnu.java.net.PlainSocketImpl.connect(PlainSocketImpl.java:281)
>> at java.net.Socket.connect(Socket.java:454)
>> at java.net.Socket.connect(Socket.java:414)
>> at
>> gnu .java.net.protocol.http.HTTPConnection.getSocket(HTTPConnection.java:
>> 721)
>> at
>> gnu .java .net .protocol.http.HTTPConnection.getOutputStream(HTTPConnection.java:802)
>> at gnu.java.net.protocol.http.Request.dispatch(Request.java:292)
>> at
>> gnu .java .net.protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java:
>> 219)
>> at
>> gnu .java .net .protocol .http.HTTPURLConnection.getHeaderField(HTTPURLConnection.java:582)
>> at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:426)
>> at java.net.URLConnection.getContentLength(URLConnection.java:302)
>> at gnu.java.net.loader.RemoteURLLoader.getResource(RemoteURLLoader.java:
>> 79)
>> at java.net.URLClassLoader.findResources(URLClassLoader.java:722)
>> at java.lang.ClassLoader.getResources(ClassLoader.java:640)
>> at gnu.classpath.ServiceFactory.lookupProviders(ServiceFactory.java:286)
>> at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:163)
>> at
>> java.text.DateFormatSymbols.getZoneStrings(DateFormatSymbols.java:209)
>> at java.text.DateFormatSymbols.<init>(DateFormatSymbols.java:280)
>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:458)
>> at java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:440)
>> at
>> org .apache .felix .bundlerepository.RepositoryImpl.setLastmodified(RepositoryImpl.java:
>> 162)
>> at java.lang.reflect.VMMethod.invoke(Native Method)
>> ...15 more
>
> It seems that it fails to parse the default repository descriptor available
> on the Felix website :-/
> Does any of you managed to get it run smoothly on an Internet Tablet?
>
> Kind regards,
> Romain
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>
--
Karl Pauls
karlpauls@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org