| <?xml version="1.0"?> |
| <!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure 1.2//EN" "http://jetty.mortbay.org/configure_1_2.dtd"> |
| |
| <!-- =============================================================== --> |
| <!-- Configure the Jetty Server --> |
| <!-- =============================================================== --> |
| |
| <Configure class="org.mortbay.jetty.Server"> |
| |
| <!-- =============================================================== --> |
| <!-- Configure the Request Listeners --> |
| <!-- =============================================================== --> |
| |
| <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
| <!-- Add and configure a HTTP listener to port 8888 --> |
| <!-- The default port can be changed using: java -Djetty.port=80 --> |
| <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
| <Call name="addListener"> |
| <Arg> |
| <New class="org.mortbay.http.SocketListener"> |
| <Set name="Port"><SystemProperty name="jetty.port" default="8888"/></Set> |
| <Set name="MinThreads">5</Set> |
| <Set name="MaxThreads">100</Set> |
| <Set name="MaxIdleTimeMs">30000</Set> |
| <Set name="LowResourcePersistTimeMs">5000</Set> |
| <Set name="PoolName">Listener</Set> |
| </New> |
| </Arg> |
| </Call> |
| |
| <!-- =============================================================== --> |
| <!-- Configure the Contexts --> |
| <!-- =============================================================== --> |
| |
| <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
| <!-- Add root context web applications. --> |
| <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
| |
| <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
| <!-- Add a all web application within the webapps directory. --> |
| <!-- + No virtual host specified --> |
| <!-- + Look in the webapps directory relative to jetty.home or . --> |
| <!-- + Use the webdefault.xml resource for the defaults descriptor --> |
| <!-- + Upack the war file --> |
| <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> |
| |
| <Call name="addWebApplication"> |
| <Arg><SystemProperty name="context" default="/"/></Arg> |
| <Arg><SystemProperty name="webapp" default="."/></Arg> |
| <Set name="defaultsDescriptor"><SystemProperty name="home" default="."/>/tools/jetty/conf/webdefaults.xml</Set> |
| </Call> |
| |
| </Configure> |