|
Re: How to open the Equinox sample web page [message #78855 is a reply to message #78799] |
Mon, 11 December 2006 12:44 |
Eclipse User |
|
|
|
Originally posted by: ridcully560.yahoo.com
Hi Mario,
I think that you can access them via:
http://localhost:8080/bridge/helloworld (Servlet)
or
http://localhost:8080/bridge/helloworld.html (HTML-Resource)
with some browser. You mentioned, that you followed the desription on
the "Embedding an HTTP server in Equinox"-page. But I'm unsure if
there's a webserver (like Jetty) in the status-output you posted -
although I may be wrong there. You might try it with one of this (just
see the website you mentioned for details):
> * org.eclipse.equinox.http
>
OR
>
> * org.eclipse.equinox.http.jetty
> * org.eclipse.equinox.http.servlet
> * org.mortbay.jetty (v5_1_11 - from Orbit Depot)
> * org.apache.commons.logging (v1_0_4 - from Orbit Depot)
Hope that helps,
Johannes
|
|
|
|
Re: How to open the Equinox sample web page [message #78922 is a reply to message #78892] |
Wed, 13 December 2006 10:39 |
Eclipse User |
|
|
|
Originally posted by: ridcully560.yahoo.com
Hi Mario,
> Well, I think I've expended much of my newbie credit :)
I don't think so!
> Of course it had! Thank you very much!! There is only one problem: how to
> change the listening port: I tried setting
> -Dorg.osgi.service.http.port=8080
> in the arguments tab but with no effect :S
Hmm... I think you can start the jetty server with some kind of
configuration-file. To do that I had to change the HttpServer to Server
in the jetty-Activator (in org.eclipse.equinox.http.jetty). I think you
can create a server with new Server(/path/to/config/file). I tried it
that way once to get my hibernate running, but for some reason I'm not
using that way anymore - and I fear I can't tell you if that is a way to
change the port, but maybe it's woth a look.
As it was easier for the moment, I simply switched the tomcat that I
need to run next to the jetty to another port - I'll have to change that
one day, but for now it works.
Johannes
|
|
|
Re: How to open the Equinox sample web page [message #78944 is a reply to message #78892] |
Wed, 13 December 2006 17:33 |
Eclipse User |
|
|
|
Originally posted by: skaegi.sympatico.ca
Hi Mario,
> There is only one problem: how to
> change the listening port: I tried setting
> -Dorg.osgi.service.http.port=8080
> in the arguments tab but with no effect :S
That looks right.
The -Dorg.osgi.service.http.port=8080 should be in the "VM Arguments"
portion of the argument tab.
-Simon
"Mario Scalas" <mario.scalas@gmail.com> wrote in message
news:elmsdb$1ps$1@utils.eclipse.org...
> Hi Johannes
>
> Johannes wrote:
> <snip>
> >You might try it with one of this (just
> > see the website you mentioned for details):
> >
> >> * org.eclipse.equinox.http
> >>
> > OR
> >>
> >> * org.eclipse.equinox.http.jetty
> >> * org.eclipse.equinox.http.servlet
> >> * org.mortbay.jetty (v5_1_11 - from Orbit Depot)
> >> * org.apache.commons.logging (v1_0_4 - from Orbit Depot)
> >
>
> :O Silly me! And I double checked that list several times ... just passed
> over the name "equinox.http" ... with all those *.http* I got confused.
> Well, I think I've expended much of my newbie credit :)
>
> > Hope that helps,
> > Johannes
>
> Of course it had! Thank you very much!! There is only one problem: how to
> change the listening port: I tried setting
> -Dorg.osgi.service.http.port=8080
> in the arguments tab but with no effect :S
>
> Cheers
> Mario
>
> --
> Mario Scalas
>
> "Relax. You don't have to be a great designer --you just have to be
> creatively lazy."
> -- Kent Beck
|
|
|
|
Powered by
FUDForum. Page generated in 0.03499 seconds