Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Disabling Jetty server on startup
Disabling Jetty server on startup [message #86216] Thu, 05 April 2007 02:24 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #86247 is a reply to message #86216] Thu, 05 April 2007 03:02 Go to previous messageGo to next message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
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

"Timothy Webb" <tiwebb@cisco.com> wrote in message
news:ev1ml1$v56$1@build.eclipse.org...
> 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 Go to previous message
Eclipse UserFriend
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
Previous Topic:BUG#121737 and Eclipse 3.2.1
Next Topic:Server with OSGi/equinox
Goto Forum:
  


Current Time: Fri Apr 26 13:19:30 GMT 2024

Powered by FUDForum. Page generated in 0.03105 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top