diff --git a/assemble/pom.xml b/assemble/pom.xml index db26388..49d127f 100644 --- a/assemble/pom.xml +++ b/assemble/pom.xml @@ -126,10 +126,6 @@ org.eclipse.jetty - jetty-continuation - - - org.eclipse.jetty jetty-http diff --git a/assemble/src/main/assemblies/component.xml b/assemble/src/main/assemblies/component.xml index 96e1fbe..a0fd410 100644 --- a/assemble/src/main/assemblies/component.xml +++ b/assemble/src/main/assemblies/component.xml @@ -35,7 +35,6 @@ org.apache.commons:commons-math org.apache.commons:commons-vfs2 org.apache.thrift:libthrift - org.eclipse.jetty:jetty-continuation org.eclipse.jetty:jetty-http org.eclipse.jetty:jetty-io org.eclipse.jetty:jetty-security diff --git a/pom.xml b/pom.xml index bd206e3..3d0d903 100644 --- a/pom.xml +++ b/pom.xml @@ -131,7 +131,7 @@ 2.2.0 3.1 false - 8.1.15.v20140411 + 9.1.5.v20140505 1.6 1.6 3.0.5 @@ -204,7 +204,7 @@ javax.servlet javax.servlet-api - 3.0.1 + 3.1.0 javax.ws.rs @@ -421,11 +421,6 @@ org.eclipse.jetty - jetty-continuation - ${jetty.version} - - - org.eclipse.jetty jetty-http ${jetty.version} @@ -454,12 +449,6 @@ jetty-util ${jetty.version} - - - org.mortbay.jetty - jetty - 6.1.26 - org.powermock powermock-api-easymock diff --git a/server/monitor/pom.xml b/server/monitor/pom.xml index f3dcd4a..e8146be 100644 --- a/server/monitor/pom.xml +++ b/server/monitor/pom.xml @@ -81,10 +81,6 @@ org.eclipse.jetty - jetty-http - - - org.eclipse.jetty jetty-security @@ -101,7 +97,7 @@ org.eclipse.jetty - jetty-continuation + jetty-http runtime diff --git a/server/monitor/src/main/java/org/apache/accumulo/monitor/EmbeddedWebServer.java b/server/monitor/src/main/java/org/apache/accumulo/monitor/EmbeddedWebServer.java index 41890e8..dea263a 100644 --- a/server/monitor/src/main/java/org/apache/accumulo/monitor/EmbeddedWebServer.java +++ b/server/monitor/src/main/java/org/apache/accumulo/monitor/EmbeddedWebServer.java @@ -23,10 +23,10 @@ import org.apache.accumulo.core.conf.Property; import org.apache.commons.lang.StringUtils; import org.eclipse.jetty.security.ConstraintMapping; import org.eclipse.jetty.security.ConstraintSecurityHandler; +import org.eclipse.jetty.server.HttpConnectionFactory; import org.eclipse.jetty.server.Server; -import org.eclipse.jetty.server.nio.SelectChannelConnector; +import org.eclipse.jetty.server.ServerConnector; import org.eclipse.jetty.server.session.SessionHandler; -import org.eclipse.jetty.server.ssl.SslSelectChannelConnector; import org.eclipse.jetty.servlet.ServletContextHandler; import org.eclipse.jetty.util.security.Constraint; import org.eclipse.jetty.util.ssl.SslContextFactory; @@ -35,7 +35,7 @@ public class EmbeddedWebServer { private static String EMPTY = ""; Server server = null; - SelectChannelConnector connector = null; + ServerConnector connector = null; ServletContextHandler handler; boolean usingSsl; @@ -48,13 +48,13 @@ public class EmbeddedWebServer { final AccumuloConfiguration conf = Monitor.getSystemConfiguration(); if (EMPTY.equals(conf.get(Property.MONITOR_SSL_KEYSTORE)) || EMPTY.equals(conf.get(Property.MONITOR_SSL_KEYSTOREPASS)) || EMPTY.equals(conf.get(Property.MONITOR_SSL_TRUSTSTORE)) || EMPTY.equals(conf.get(Property.MONITOR_SSL_TRUSTSTOREPASS))) { - connector = new SelectChannelConnector(); + connector = new ServerConnector(server, new HttpConnectionFactory()); usingSsl = false; } else { SslContextFactory sslContextFactory = new SslContextFactory(); sslContextFactory.setKeyStorePath(conf.get(Property.MONITOR_SSL_KEYSTORE)); sslContextFactory.setKeyStorePassword(conf.get(Property.MONITOR_SSL_KEYSTOREPASS)); - sslContextFactory.setTrustStore(conf.get(Property.MONITOR_SSL_TRUSTSTORE)); + sslContextFactory.setTrustStorePath(conf.get(Property.MONITOR_SSL_TRUSTSTORE)); sslContextFactory.setTrustStorePassword(conf.get(Property.MONITOR_SSL_TRUSTSTOREPASS)); final String includedCiphers = conf.get(Property.MONITOR_SSL_INCLUDE_CIPHERS); @@ -72,7 +72,7 @@ public class EmbeddedWebServer { sslContextFactory.setIncludeProtocols(StringUtils.split(includeProtocols, ',')); } - connector = new SslSelectChannelConnector(sslContextFactory); + connector = new ServerConnector(server, sslContextFactory); usingSsl = true; } diff --git a/start/pom.xml b/start/pom.xml index 9f74aff..bd36449 100644 --- a/start/pom.xml +++ b/start/pom.xml @@ -109,24 +109,4 @@ - - - - hadoop-1 - - - hadoop.profile - 1 - - - - - org.mortbay.jetty - jetty - test - - - - diff --git a/test/pom.xml b/test/pom.xml index 8d8b838..13998c3 100644 --- a/test/pom.xml +++ b/test/pom.xml @@ -307,11 +307,6 @@ hadoop-tools test - - org.mortbay.jetty - jetty - test -