Skip to main content



      Home
Home » Eclipse Projects » Equinox » Disabling Jetty server on startup
Disabling Jetty server on startup [message #86216] Wed, 04 April 2007 22: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] Wed, 04 April 2007 22: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] Wed, 04 April 2007 23:02 Go to previous messageGo to next message
Eclipse UserFriend
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 03: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: Thu Jul 17 20:14:14 EDT 2025

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

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

Back to the top