From e90e45cbe05f93626364b45b89f8cc59b813919d Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 20 Aug 2015 14:24:30 -0400 Subject: [PATCH] Rearrange hatch.xml to support jetty 9.3 Resolves problem similar to what's described here: https://jira.spring.io/browse/SPR-13162 Likely the configuration was not quite right all along and the Jetty update just exposed it. Signed-off-by: Bill Erickson --- hatch.xml | 69 ++++++++++---------------- src/org/evergreen_ils/hatch/Hatch.java | 5 ++ 2 files changed, 31 insertions(+), 43 deletions(-) diff --git a/hatch.xml b/hatch.xml index 372cba7489..83f5bf659d 100644 --- a/hatch.xml +++ b/hatch.xml @@ -45,10 +45,10 @@ /jetty/etc/keystore - OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4 - OBF:1u2u1wml1z7s1z7a1wnl1u2g + password + password /jetty/etc/keystore - OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4 + password @@ -86,7 +86,6 @@ - @@ -111,48 +110,32 @@ - + + + + + + / + + org.evergreen_ils.hatch.HatchWebSocketServlet + /hatch + + + + - + - - - - - - - - - - - maxThreads - - - - - - maxConnections - - - - - - idleTimeout - - - - - - timeout - - - - - - - + + + + diff --git a/src/org/evergreen_ils/hatch/Hatch.java b/src/org/evergreen_ils/hatch/Hatch.java index 716ccae41e..0bed93f9cc 100644 --- a/src/org/evergreen_ils/hatch/Hatch.java +++ b/src/org/evergreen_ils/hatch/Hatch.java @@ -24,6 +24,11 @@ import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.servlet.ServletHandler; +import org.eclipse.jetty.servlet.ServletContextHandler; +import org.eclipse.jetty.servlet.ServletHolder; +import org.eclipse.jetty.server.handler.ContextHandler; +import org.eclipse.jetty.server.Handler; +import org.eclipse.jetty.server.handler.HandlerList; import org.eclipse.jetty.util.resource.Resource; import org.eclipse.jetty.xml.XmlConfiguration; -- 2.43.2