[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [equinox-dev] Problems with http.jetty...
- From: Simon Kaegi <Simon_Kaegi@xxxxxxxxxx>
- Date: Sun, 9 Sep 2007 13:21:23 -0400
- Delivered-to: email@example.com
My best guess is that your bundle is not "started" and subsequently your
web resources are not registered.
This sort of thing is probably best handled in the user news group. If you
use the console to do an "ss" and add that to a posting that would help.
It might also help to verify in the debugger the "start" method in your
activator is being called and that your resources are registered.
equinox-dev-bounces@xxxxxxxxxxx wrote on 09/09/2007 10:57:52 AM:
> I'm following the instructions for embedded HTTP into Equinox for static
> content here:
> A couple of problems. Jetty by defaults tries to use port 80. I've
> this by setting a VM argument in the Run configuration:
> Now, the framework seems to launch the server successfully:
> osgi> Sep 9, 2007 7:56:15 AM org.mortbay.http.HttpServer doStart
> Version Jetty/5.1.x
> Sep 9, 2007 7:56:15 AM org.mortbay.util.Container
> INFO: Started org.mortbay.jetty.servlet.ServletHandler@def14f
> Sep 9,
> 2007 7:56:15 AM org.mortbay.util.Container start
> INFO: Started
> Sep 9, 2007 7:56:15 AM org.mortbay.http.SocketListener
> INFO: Started SocketListener on 0.0.0.0:8080
> Sep 9, 2007 7:56:15 AM
> org.mortbay.util.Container start
> INFO: Started
> But, my test bundle doesn't work. I get:
> HTTP ERROR: 404
> ProxyServlet: /files/index.html
> Powered by Jetty://
> Any ideas? I'm following the directions verbatim, save for the package
> of the bundle - which probably shouldn't matter.
> equinox-dev mailing list