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<[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to