Fixed ShutdownHandler (fixed #708)
Change-Id: Icf93f0f8766c505c330bbf168652f567fa40c908
diff --git a/full/pom.xml b/full/pom.xml
index faafe81..66d6448 100644
--- a/full/pom.xml
+++ b/full/pom.xml
@@ -618,6 +618,19 @@
<artifactId>hibernate-community-dialects</artifactId>
<version>${hibernate.version}</version>
</dependency>
+
+ <!-- Validation -->
+ <dependency>
+ <groupId>org.hibernate.validator</groupId>
+ <artifactId>hibernate-validator</artifactId>
+ <version>8.0.1.Final</version>
+ </dependency>
+ <dependency>
+ <groupId>org.glassfish</groupId>
+ <artifactId>jakarta.el</artifactId>
+ <version>4.0.2</version>
+ <scope>test</scope>
+ </dependency>
<!-- servlet -->
<dependency>
diff --git a/full/src/main/java/de/ids_mannheim/korap/server/KustvaktBaseServer.java b/full/src/main/java/de/ids_mannheim/korap/server/KustvaktBaseServer.java
index db6b7c3..324a98d 100644
--- a/full/src/main/java/de/ids_mannheim/korap/server/KustvaktBaseServer.java
+++ b/full/src/main/java/de/ids_mannheim/korap/server/KustvaktBaseServer.java
@@ -133,7 +133,7 @@
.getHttpConfiguration().setRequestHeaderSize(64000);
ShutdownHandler shutdownHandler = new ShutdownHandler(adminToken, true,
- true);
+ false);
HandlerList handlers = new HandlerList();
handlers.addHandler(shutdownHandler);