Hi Kit,

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.

HTH
-Simon

[EMAIL PROTECTED] wrote on 09/09/2007 10:57:52 AM:

> I'm following the instructions for embedded HTTP into Equinox for static
> content here:
>
> http://www.eclipse.org/equinox/server/http_in_equinox.php
> http://www.eclipse.org/equinox/server/http_writing_application.php
>
> A couple of problems.  Jetty by defaults tries to use port 80.  I've
changed
> this by setting a VM argument in the Run configuration:
>
> -Dorg.eclipse.equinox.http.jetty.http.port=8080
>
> Now, the framework seems to launch the server successfully:
>
> osgi> Sep 9, 2007 7:56:15 AM org.mortbay.http.HttpServer doStart
> INFO:
> Version Jetty/5.1.x
> Sep 9, 2007 7:56:15 AM org.mortbay.util.Container
> start
> INFO: Started [EMAIL PROTECTED]
> Sep 9,
> 2007 7:56:15 AM org.mortbay.util.Container start
> INFO: Started
> HttpContext[/,/]
> Sep 9, 2007 7:56:15 AM org.mortbay.http.SocketListener
> start
> INFO: Started SocketListener on 0.0.0.0:8080
> Sep 9, 2007 7:56:15 AM
> org.mortbay.util.Container start
> INFO: Started
> [EMAIL PROTECTED]
>
> But, my test bundle doesn't work.  I get:
>
> HTTP ERROR: 404
>
> ProxyServlet: /files/index.html
>
> RequestURI=/files/index.html
>
> Powered by Jetty://
>
> Any ideas?  I'm following the directions verbatim, save for the package
name
> of the bundle - which probably shouldn't matter.
>
> TIA,
> Kit
>
>
>
> _______________________________________________
> equinox-dev mailing list
> equinox-dev@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/equinox-dev

_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Reply via email to