blob: 36504587162015d4a24f7cddafe5fbc6dab117db [file] [log] [blame]
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure 1.2//EN" "http://jetty.mortbay.org/configure_1_2.dtd">
<!-- =============================================================== -->
<!-- Configure the Jetty Server for the Administration Interface -->
<!-- =============================================================== -->
<Configure class="org.mortbay.jetty.Server">
<!-- =============================================================== -->
<!-- Configure the Request Listeners -->
<!-- =============================================================== -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- Add and configure a HTTP listener to port 8081 -->
<!-- The default port can be changed using: java -Djetty.admin.port=80 -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<Call name="addListener">
<Arg>
<New class="org.mortbay.http.SocketListener">
<Set name="Host">127.0.0.1</Set>
<Set name="Port"><SystemProperty name="jetty.admin.port" default="8081"/></Set>
<Set name="MinThreads">5</Set>
<Set name="MaxThreads">100</Set>
<Set name="MaxIdleTimeMs">30000</Set>
<Set name="LowResourcePersistTimeMs">5000</Set>
</New>
</Arg>
</Call>
<!-- =============================================================== -->
<!-- Configure the Contexts -->
<!-- =============================================================== -->
<Call name="addContext">
<Arg>/</Arg>
<Call name="addServlet">
<Arg>Admin</Arg>
<Arg>/</Arg>
<Arg>org.mortbay.servlet.AdminServlet</Arg>
</Call>
<Call name="setAttribute">
<Arg>org.mortbay.http.HttpServer</Arg>
<Arg><Call name="getHttpServer"/></Arg>
</Call>
</Call>
</Configure>