On 06/08/2015 13:25, John English wrote:
It would appear from my experiments that when there are multiple
setHandler blocks defining webapps all mapped to /, the last one
wins if the virtual host lists are not disjoint. If I have one accepting
127.0.0.1 (A) and another without a VH list (B),
Hi Joakim,
I'm migrating the application from Jetty 6.1.19 to Jetty-9.1.1. I have few
doubts in the code used to start the server. The existing code in Jetty6
uses webAppDeployer to deploy but the same class is replaced by
webAppProvider in jetty-9.
In the below code from Jetty6 , when I change
John,
Your jetty.xml you posted does not look correctly configured. You should
have a HandlerList containing a ContextHandlerCollection (which contains
your webapp with its virtual host setup) and a DefaultHandler. If you
webapp does not answer the request because the virtual hosts don't match,