Hi Renier, you can download attachments to this issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=330098
Best regards, Dmytro Pishchukhin On Sat, Dec 4, 2010 at 04:35, Renier Morales <[email protected]> wrote: > Hi, > > Having problems making Jetty-OSGi start my webapp. Does anyone have a > launch configuration they can share for the example at > http://wiki.eclipse.org/Jetty/Tutorial/Jetty-OSGi_SDK ? > > I've gone through the link above and the WebApp section in the OSGi > specification, but can't get the webapp up. It's like Jetty is not > starting the server. I do get a message in the console: > osgi> No default jetty started. > Returning defaultJettyServer = null > > I'm using Eclipse 3.6 and a managed target that is using the helios > update site, with the Equinox and Jetty components features enabled. > I've made sure the bundle has a proper WEB-INF/web.xml and that > META-INF/MANIFEST.MF has the Web-ContextPath header. Really, just trying > to follow the tutorial. Has anyone encountered a similar problem? > > META-INF/MANIFEST.MF: > Manifest-Version: 1.0 > Bundle-ManifestVersion: 2 > Bundle-Name: webapp > Bundle-SymbolicName: com.my.web > Bundle-Version: 1.0.1 > Import-Package: org.osgi.framework, > javax.servlet;version="2.5.0", > javax.servlet.http;version="2.5.0" > Web-ContextPath: /web > Bundle-ActivationPolicy: lazy > > WEB-INF/web.xml: > <?xml version="1.0" encoding="ISO-8859-1"?> > <web-app > xmlns="http://java.sun.com/xml/ns/javaee" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" > version="2.5"> > > <display-name>Webapp</display-name> > </web-app> > > Plain web descriptor since I only have static content for now. So no > servlets yet. I should still be able to see static content from the root > of the bundle, correct? > > Any tips will be appreciated, > > -Renier > > > _______________________________________________ > jetty-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/jetty-users >
_______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
