Disabling Jetty server on startup [message #86216] |
Thu, 05 April 2007 02:24 |
Eclipse User |
|
|
|
Originally posted by: tiwebb.cisco.com
We are running into an issue using the new Jetty server integration. We
need to run Jetty on an alternate port. When the plug-in activates, it
automatically binds to port 80. While we can use the JettyConfigurator
to start up HTTP and HTTPS on alternate ports, the problem we are
running into is that the host already has a service running on port 80.
This causes the bundle activation to fail and therefore we are unable
to start up our services as intended.
It appears that Jetty is configurable via http.enabled and other
properties but we have yet to determine where to successfully place
those properties to override the default start on activation behavior of
Jetty.
Any help would be greatly appreciated.
Cheers,
Tim
|
|
|
Re: Disabling Jetty server on startup [message #86232 is a reply to message #86216] |
Thu, 05 April 2007 02:56 |
Eclipse User |
|
|
|
Originally posted by: devaughn.cisco.com
-Dorg.eclipse.equinox.http.jetty.autostart=false
Timothy Webb wrote:
> We are running into an issue using the new Jetty server integration. We
> need to run Jetty on an alternate port. When the plug-in activates, it
> automatically binds to port 80. While we can use the JettyConfigurator
> to start up HTTP and HTTPS on alternate ports, the problem we are
> running into is that the host already has a service running on port 80.
> This causes the bundle activation to fail and therefore we are unable
> to start up our services as intended.
>
> It appears that Jetty is configurable via http.enabled and other
> properties but we have yet to determine where to successfully place
> those properties to override the default start on activation behavior of
> Jetty.
>
> Any help would be greatly appreciated.
>
> Cheers,
> Tim
|
|
|
|
Re: Disabling Jetty server on startup [message #86307 is a reply to message #86247] |
Thu, 05 April 2007 07:07 |
Eclipse User |
|
|
|
Originally posted by: tiwebb.cisco.com
Thanks, that does exactly what was needed.
Cheers,
Tim
Simon Kaegi wrote:
> Hi Tim,
>
> There's a System/framework property
> "org.eclipse.equinox.http.jetty.autostart" that you can set "false".
> The autostarted instance uses system/framework properties to configure with
> the same parameter names as those shown in JettyConfigurator only prefixed
> with "org.eclipse.equinox.http.jetty".
> e.g. -Dorg.eclipse.equinox.http.jetty.http.port=8080
>
> HTH
> -Simon
|
|
|
Powered by
FUDForum. Page generated in 0.03105 seconds