Re: Programmatically add new http connector in Jetty from Karaf

2017-09-12 Thread Nicolas Brasey
Hi Achim, Yes you are right, not an easy one...I understand. Or, like you proposed, what about providing an API to configure the virtual hosts? I believe virtual hosts are supported by all the containers pax web supports, right ? This should be sufficient for my use case. But like I said, I

Re: Programmatically add new http connector in Jetty from Karaf

2017-09-12 Thread 'Achim Nierbeck' via OPS4J
Hi Nicolas, this would require, that we open an API for every supported Container ... still thinking about how to handle that :/ Please open an issue for your new requirements ... but don't know how fast people are to actually get to it. Regards, Achim 2017-09-12 17:56 GMT+02:00 Nicolas Brasey

Re: Programmatically add new http connector in Jetty from Karaf

2017-09-12 Thread Nicolas Brasey
Hi Achim, Thanks a lot for your answer. Yes I think it would be good to be able to access directly the lower http server for deeper customization. Do you think this would be possible to have it scheduled for the future releases ? Let me know if I should create a new story for that... In the mean

Re: Programmatically add new http connector in Jetty from Karaf

2017-09-10 Thread 'Achim Nierbeck' via OPS4J
Hi Nicolas, I fear right now this isn't possible. As Pax Web doesn't expose a "Jetty service". It would need the following changes: The JettyFactory would also need to listen to Connectors and restart the jetty instance every time this changes. But what you could do: Configure a bunch of