diff --git a/webapp/src/main/java/org/apache/atlas/web/service/EmbeddedServer.java b/webapp/src/main/java/org/apache/atlas/web/service/EmbeddedServer.java index 3797769f07..a05741556c 100755 --- a/webapp/src/main/java/org/apache/atlas/web/service/EmbeddedServer.java +++ b/webapp/src/main/java/org/apache/atlas/web/service/EmbeddedServer.java @@ -71,7 +71,7 @@ public EmbeddedServer(String host, int port, String path) throws IOException { executor.allowCoreThreadTimeOut(true); ExecutorThreadPool pool = new ExecutorThreadPool(executor, minThreads); - server = new Server(pool);executor.shutdown(); + server = new Server(pool); Connector connector = getConnector(host, port); connector.addBean(new JettyConnectionMetrics(getMeterRegistry()));