[ https://issues.apache.org/jira/browse/FELIX-1140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
J.W. Janssen resolved FELIX-1140. --------------------------------- Resolution: Won't Fix Issue is more than 4 years old, using old versions of Felix Framework & HTTP service. If this issue still persists with the current versions, please reopen this issue. > Starting HTTP service on Asus WL500G-P with OpenWrt (Kernel 2.4) > ---------------------------------------------------------------- > > Key: FELIX-1140 > URL: https://issues.apache.org/jira/browse/FELIX-1140 > Project: Felix > Issue Type: Bug > Components: HTTP Service > Affects Versions: framework-1.6.1 > Environment: 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 > Reporter: Flávio Sá > > 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira