Re: Karaf pax.web 2 Servlets 2 ports

2019-11-08 Thread Jean-Baptiste Onofré
That's similar indeed. Let's add a full example (and eventually improvement on Pax Web). Regards JB On 08/11/2019 10:50, Markus Rathgeb wrote: > Isn't this similar to this thread (at least after some comments): > https://lists.apache.org/thread.html/69182ee8feef88896f840efde48146053997119e820ef0

Re: Karaf pax.web 2 Servlets 2 ports

2019-11-08 Thread Markus Rathgeb
Isn't this similar to this thread (at least after some comments): https://lists.apache.org/thread.html/69182ee8feef88896f840efde48146053997119e820ef037853c1c9b@%3Cuser.karaf.apache.org%3E You also referenced to http://blog.nanthrax.net/?p=352 My observations has been that it should work for "Web Bu

Re: Karaf pax.web 2 Servlets 2 ports

2019-11-08 Thread Jean-Baptiste Onofré
OK, I created https://issues.apache.org/jira/browse/KARAF-6515 for the tracking. Regards JB On 08/11/2019 10:08, Paul Fraser wrote: > Hi JB, > > As usual, thanks for your very fast reply. > > A full example would be most valuable. I will try and work through the > blog and will let you know ho

Re: Karaf pax.web 2 Servlets 2 ports

2019-11-08 Thread Paul Fraser
Hi JB, As usual, thanks for your very fast reply. A full example would be most valuable. I will try and work through the blog and will let you know how I go. Paul On 8/11/2019 7:52 pm, Jean-Baptiste Onofré wrote: Hi Paul, You can take a look on: http://blog.nanthrax.net/?p=352 You can se

Re: Karaf pax.web 2 Servlets 2 ports

2019-11-08 Thread Jean-Baptiste Onofré
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 J

Karaf pax.web 2 Servlets 2 ports

2019-11-08 Thread Paul Fraser
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.