Skip to main content



      Home
Home » Eclipse Projects » Equinox » Jetty on Multiple Ports
Jetty on Multiple Ports [message #105986] Fri, 07 March 2008 18:19 Go to next message
Eclipse UserFriend
Originally posted by: irbull.cs.uvic.ca

Is it possible to have jetty listening on more than 1 port, or maybe
start multiple Jetty bundles (not sure what it means to start a bundle
twice) so that two separate bundles are listening this way?

Cheers,
Ian
Re: Jetty on Multiple Ports [message #106005 is a reply to message #105986] Sat, 08 March 2008 09:53 Go to previous messageGo to next message
Eclipse UserFriend
Ian,

Ian Bull schrieb:
> Is it possible to have jetty listening on more than 1 port, or maybe
> start multiple Jetty bundles (not sure what it means to start a bundle
> twice) so that two separate bundles are listening this way?

You can use JettyConfigurator#startServer to start additional Jetty
servers. Each becomes its own HttpService.

http://help.eclipse.org/help33/topic/org.eclipse.platform.do c.isv/reference/api/org/eclipse/equinox/http/jetty/JettyConf igurator.html

-Gunnar

--
Gunnar Wagenknecht
gunnar@wagenknecht.org
http://wagenknecht.org/
Re: Jetty on Multiple Ports [message #106016 is a reply to message #106005] Sat, 08 March 2008 12:13 Go to previous message
Eclipse UserFriend
Originally posted by: irbull.cs.uvic.ca

Thanks Gunnar,

you come through every time :-)

Cheers,
Ian

Gunnar Wagenknecht wrote:
> Ian,
>
> Ian Bull schrieb:
>> Is it possible to have jetty listening on more than 1 port, or maybe
>> start multiple Jetty bundles (not sure what it means to start a bundle
>> twice) so that two separate bundles are listening this way?
>
> You can use JettyConfigurator#startServer to start additional Jetty
> servers. Each becomes its own HttpService.
>
> http://help.eclipse.org/help33/topic/org.eclipse.platform.do c.isv/reference/api/org/eclipse/equinox/http/jetty/JettyConf igurator.html
>
>
> -Gunnar
>
Previous Topic:[OSGi services] Connection configurations as services with a Connection Service consuming them
Next Topic:Remote install/start
Goto Forum:
  


Current Time: Thu Jul 03 02:30:14 EDT 2025

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

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

Back to the top