From e482897e0c4296c0b74f03abccdc7449afffd222 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Wed, 20 Aug 2014 22:13:40 +0300 Subject: [PATCH] Use a separate servlet instance for static files during testing There is something strange going on in Tomcat 8 and/or Atmosphere where the websocket endpoint is deployed for /VAADIN/* and not for /run/* when the same servlet is used Change-Id: If0f5d7b87e410feeb53d1407919fa30cc794468a --- WebContent/WEB-INF/web.xml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/WebContent/WEB-INF/web.xml b/WebContent/WEB-INF/web.xml index 9ca5be2bdf..18c06795c0 100644 --- a/WebContent/WEB-INF/web.xml +++ b/WebContent/WEB-INF/web.xml @@ -66,6 +66,11 @@ true + + VaadinStaticFiles + com.vaadin.server.VaadinServlet + false + VaadinApplicationRunner com.vaadin.launcher.ApplicationRunnerServlet @@ -98,11 +103,9 @@ - + because it modifies the VaadinService timeout parameters --> VaadinApplicationRunnerWithTimeoutRedirect com.vaadin.launcher.ApplicationRunnerServlet @@ -110,7 +113,7 @@ false - + VaadinApplicationRunnerWithPush com.vaadin.launcher.ApplicationRunnerServlet @@ -179,7 +182,7 @@ - VaadinApplicationRunner + VaadinStaticFiles /VAADIN/* -- 2.39.5