Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-1140

Starting HTTP service on Asus WL500G-P with OpenWrt (Kernel 2.4)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • framework-1.6.1
    • http-2.2.1
    • HTTP Service
    • None
    • Router Asus WL500G-Premium with Kamikaze 8.09 (Kernel 2.4)
      Using JamVM 1.5.3 with GNU Classpath 0.98 to run the Felix Framework

    Description

      I have the following bundles installed:

      System Bundle (1.6.1)
      Apache Felix Shell Service (1.2.0)
      Apache Felix Shell TUI (1.2.0)
      Apache Felix Bundle Repository (1.4.0)
      Apache Felix Configuration Admin Service (1.0.10)
      Apache Felix Dependency Manager (2.0.1)
      Apache Felix Log Service (1.0.0)
      Apache Felix Prefrences Service (1.0.2)
      OSGi R4 Compendium Bundle (4.1.0)
      HTTP Service (1.0.0)

      When starting HTTP Service i get this:

      Ex1: Service of type org.osgi.service.cm.ManagedService registered.

      Exception in thread "Jetty HTTP Service Launcher" java.lang.ExceptionInInitializerError
      at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:509)
      at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
      at org.apache.felix.http.jetty.Activator.initializeJetty(Activator.java:391)
      at org.apache.felix.http.jetty.Activator.startJetty(Activator.java:205)
      at org.apache.felix.http.jetty.Activator.run(Activator.java:248)
      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.findURLResource(URLClassLoader.java:682)
      at java.net.URLClassLoader.findResource(URLClassLoader.java:697)
      at java.lang.ClassLoader.getResource(ClassLoader.java:608)
      at org.apache.felix.framework.searchpolicy.ModuleImpl.searchDynamicImports(ModuleImpl.java:1238)
      at org.apache.felix.framework.searchpolicy.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:515)
      at org.apache.felix.framework.searchpolicy.ModuleImpl.getResourceByDelegation(ModuleImpl.java:434)
      at org.apache.felix.framework.searchpolicy.ModuleImpl$ModuleClassLoader.getResource(ModuleImpl.java:1590)
      at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:730)
      at java.util.ResourceBundle.tryBundle(ResourceBundle.java:499)
      at java.util.ResourceBundle.tryBundle(ResourceBundle.java:568)
      at java.util.ResourceBundle.getBundle(ResourceBundle.java:418)
      at java.util.ResourceBundle.getBundle(ResourceBundle.java:234)
      at org.mortbay.jetty.MimeTypes.<clinit>(MimeTypes.java:106)
      at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:509)
      ...5 more

      Im not sure if this a bug, or simply im missing some bundle, but i think all the necessary bundles are installed, otherwise the HTTP bundle wouldn't register org.osgi.service.cm.ManagedService.

      Attachments

        Activity

          People

            Unassigned Unassigned
            fsubi Flávio Sá
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: