From 2b2e21dbbfd265b488cf7db621fc5add96bb34ea Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Wed, 27 Jan 2016 17:35:10 +0100 Subject: [PATCH] Disable JNDI on Jetty by default Our Investigations show that JNDI lookup is quite costly on Jetty and it was enabled by default while embedded tomcat does not. This commit excludes `jetty-jndi` to align the behavior with Tomcat. If you are relying on JNDI, the `jetty-jndi` should simply be added in your project. Closes gh-4710 --- spring-boot-starters/spring-boot-starter-jetty/pom.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spring-boot-starters/spring-boot-starter-jetty/pom.xml b/spring-boot-starters/spring-boot-starter-jetty/pom.xml index d9343f09e0c..ce47d438c1d 100644 --- a/spring-boot-starters/spring-boot-starter-jetty/pom.xml +++ b/spring-boot-starters/spring-boot-starter-jetty/pom.xml @@ -33,6 +33,12 @@ org.eclipse.jetty.websocket javax-websocket-server-impl + + + org.eclipse.jetty + jetty-jndi + +