Hi Paul,

You can take a look on:

http://blog.nanthrax.net/?p=352

You can setup two connector in jetty.xml and then bind a servlet to
vhost. It doesn't use whiteboard, but you can define the vhost as
service property.

I can also add a full example in Karaf if you think it makes sense.

Regards
JB

On 08/11/2019 09:43, Paul Fraser wrote:
> Hi,
> 
> https://github.com/ops4j/org.ops4j.pax.web/tree/master/samples/whiteboard-extended
> 
> 
> has been offered as an example of serving on 2 ports, for example with
> the karaf jetty setup.
> 
> How and where are the port values set?
> 
> These examples are 3 years old, is there anything more recent (Karaf
> 4.2.6) and perhaps simpler ?
> 
> Paul Fraser
> 
> 
> 

-- 
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to