[ https://issues.apache.org/jira/browse/FELIX-111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard S. Hall closed FELIX-111. --------------------------------- > problem with org.apache.felix.http.jetty and HttpAdmin > ------------------------------------------------------ > > Key: FELIX-111 > URL: https://issues.apache.org/jira/browse/FELIX-111 > Project: Felix > Issue Type: Bug > Components: HTTP Service > Affects Versions: 0.8.0 > Environment: WinXP, Sun JDK 5.0 > Reporter: Didier DONSEZ > Assigned To: Rob Walker > Priority: Minor > > problem with org.apache.felix.http.jetty and HttpAdmin > I try to start the HttpAdmin on Felix with org.apache.felix.http.jetty > but the trace is dumped and http://localhost:8080/admin returns 404 Not Found > Is it a bug ? a misuse ? > Didier > Remark: the HttpAdmin (found on the > http://oscar-osgi.sf.net/obr2/repository.xml) > do not import org.osgi.framework in the manifest. You need to patch it ! > > obr start "HTTP Service" > Target resource(s): > ------------------- > HTTP Service (0.8.0.SNAPSHOT) > Deploying...DEBUG: WIRE: 4.0 -> javax.servlet.http -> 4.0 > DEBUG: WIRE: 4.0 -> javax.servlet -> 4.0 > DEBUG: WIRE: 4.0 -> org.osgi.service.http -> 4.0 > DEBUG: WIRE: 4.0 -> org.osgi.framework -> 0 > 13:32:32.218 EVENT Starting Jetty/4.2.x > 13:32:32.265 EVENT Started SocketListener on 0.0.0.0:8080 > 13:32:32.265 EVENT Started [EMAIL PROTECTED] > done. > -> start file:C:\osgi\bundlefarm\httpadmin\httpadmin.jar > DEBUG: WIRE: 5.0 -> javax.servlet.http -> 4.0 > DEBUG: WIRE: 5.0 -> javax.servlet -> 4.0 > DEBUG: WIRE: 5.0 -> org.osgi.service.http -> 4.0 > DEBUG: WIRE: 5.0 -> org.osgi.framework -> 0 > ERROR: **** > **** > Package 'javax.servlet.http' is imported by bundle 4 from bundle 4, but the > expo > rted package from bundle 4 does not contain the requested class > 'javax.servlet.h > ttp.LocalStrings'. Please verify that the class name is correct in the > importing > bundle 4 and/or that the exported package is correctly bundled in 4. > **** > **** > ERROR: **** > **** > Package 'javax.servlet.http' is imported by bundle 4 from bundle 4, but the > expo > rted package from bundle 4 does not contain the requested class > 'javax.servlet.h > ttp.LocalStrings_fr'. Please verify that the class name is correct in the > import > ing bundle 4 and/or that the exported package is correctly bundled in 4. > **** > **** > WARNING: javax/servlet/http/LocalStrings_fr.properties > (org.apache.felix.modulel > oader.ResourceNotFoundException: > javax/servlet/http/LocalStrings_fr.properties) > ERROR: **** > **** > Package 'javax.servlet.http' is imported by bundle 4 from bundle 4, but the > expo > rted package from bundle 4 does not contain the requested class > 'javax.servlet.h > ttp.LocalStrings_fr_FR'. Please verify that the class name is correct in the > imp > orting bundle 4 and/or that the exported package is correctly bundled in 4. > **** > **** > WARNING: javax/servlet/http/LocalStrings_fr_FR.properties > (org.apache.felix.modu > leloader.ResourceNotFoundException: > javax/servlet/http/LocalStrings_fr_FR.proper > ties) > ERROR: **** > **** > Class 'org/mortbay/http/mime' was not found. Bundle 4 does not import package > '' > , nor is the package exported by any other bundle or available from the > system c > lass loader. > **** > **** > ERROR: **** > **** > Class 'org/mortbay/http/mime_fr' was not found. Bundle 4 does not import > package > '', nor is the package exported by any other bundle or available from the > syste > m class loader. > **** > **** > ERROR: **** > **** > Class 'org/mortbay/http/mime_fr_FR' was not found. Bundle 4 does not import > pack > age '', nor is the package exported by any other bundle or available from the > sy > stem class loader. > **** > **** > ERROR: **** > **** > Class 'org/mortbay/http/encoding' was not found. Bundle 4 does not import > packag > e '', nor is the package exported by any other bundle or available from the > syst > em class loader. > **** > **** > ERROR: **** > **** > Class 'org/mortbay/http/encoding_fr' was not found. Bundle 4 does not import > pac > kage '', nor is the package exported by any other bundle or available from > the s > ystem class loader. > **** > **** > ERROR: **** > **** > Class 'org/mortbay/http/encoding_fr_FR' was not found. Bundle 4 does not > import > package '', nor is the package exported by any other bundle or available from > th > e system class loader. > **** > **** > 13:32:36.859 EVENT Started ServletHttpContext[/] > 13:32:36.875 EVENT Started HttpContext[/admin/resource] > -> ps > START LEVEL 1 > ID State Level Name > [ 0] [Active ] [ 0] System Bundle (0.8.0.SNAPSHOT) > [ 1] [Active ] [ 1] ShellService (0.8.0.SNAPSHOT) > [ 2] [Active ] [ 1] ShellTUI (0.8.0.SNAPSHOT) > [ 3] [Active ] [ 1] BundleRepository (0.8.0.SNAPSHOT) > [ 4] [Active ] [ 1] HTTP Service (0.8.0.SNAPSHOT) > [ 5] [Active ] [ 1] HTTP Admin (1.0.0) > -> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.