Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2012-09-06 00:54:55 -0400
committerGreg Wilkins2012-09-06 00:54:55 -0400
commit2dfcebfc04ae327d5df27734392c6312715de888 (patch)
treec2f65c542f04421219585a68a399d5fd9b0a14fc /jetty-server/src/main/config/etc/jetty.xml
parent3acf2e65ed84b3e9c71fd0a5a0f8a80300d2c389 (diff)
downloadorg.eclipse.jetty.project-2dfcebfc04ae327d5df27734392c6312715de888.tar.gz
org.eclipse.jetty.project-2dfcebfc04ae327d5df27734392c6312715de888.tar.xz
org.eclipse.jetty.project-2dfcebfc04ae327d5df27734392c6312715de888.zip
jetty-9 distribution working
Diffstat (limited to 'jetty-server/src/main/config/etc/jetty.xml')
-rw-r--r--jetty-server/src/main/config/etc/jetty.xml17
1 files changed, 7 insertions, 10 deletions
diff --git a/jetty-server/src/main/config/etc/jetty.xml b/jetty-server/src/main/config/etc/jetty.xml
index afaaa184a0..6d5a7e7940 100644
--- a/jetty-server/src/main/config/etc/jetty.xml
+++ b/jetty-server/src/main/config/etc/jetty.xml
@@ -1,5 +1,6 @@
<?xml version="1.0"?>
-<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
+<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
+
<!-- =============================================================== -->
<!-- Configure the Jetty Server -->
@@ -16,32 +17,28 @@
<Configure id="Server" class="org.eclipse.jetty.server.Server">
-
<!-- =========================================================== -->
<!-- Server Thread Pool -->
<!-- =========================================================== -->
- <Set name="ThreadPool">
- <!-- Default queued blocking threadpool -->
- <New class="org.eclipse.jetty.util.thread.QueuedThreadPool">
+ <Arg name="threadpool">
+ <New id="threadpool" class="org.eclipse.jetty.util.thread.QueuedThreadPool">
<Set name="minThreads">10</Set>
<Set name="maxThreads">200</Set>
<Set name="detailedDump">false</Set>
</New>
- </Set>
+ </Arg>
+ <Arg name="container"><Ref id="Container"/></Arg>
<!-- =========================================================== -->
<!-- Set connectors -->
<!-- =========================================================== -->
-
<Call name="addConnector">
<Arg>
<New class="org.eclipse.jetty.server.SelectChannelConnector">
+ <Arg name="server"><Ref id="Server" /></Arg>
<Set name="host"><Property name="jetty.host" /></Set>
<Set name="port"><Property name="jetty.port" default="8080"/></Set>
<Set name="idleTimeout">300000</Set>
- <Set name="Acceptors">2</Set>
- <Set name="statsOn">false</Set>
- <Set name="confidentialPort">8443</Set>
</New>
</Arg>
</Call>

Back to the top