| <?xml version="1.0" encoding="ISO-8859-1"?> |
| <!-- $Id$ --> |
| <!DOCTYPE Configure PUBLIC |
| "-//Mort Bay Consulting//DTD Configure 1.2//EN" |
| "http://jetty.mortbay.org/configure_1_2.dtd"> |
| |
| <Configure class="org.mortbay.jetty.Server"> |
| |
| <!-- This writes a log of each incoming request to the default output, which makes |
| it easier to see what Tapestry and Jetty are up to. --> |
| |
| <Call name="instance" class="org.mortbay.util.Log"> |
| <Call name="disableLog"/> |
| <Call name="add"> |
| <Arg> |
| <New class="org.mortbay.util.OutputStreamLogSink"> |
| <Call name="start"/> |
| </New> |
| </Arg> |
| </Call> |
| </Call> |
| |
| |
| |
| <Call name="addListener"> |
| <Arg> |
| <New class="org.mortbay.http.SocketListener"> |
| <Set name="Port">8080</Set> |
| <Set name="MinThreads">1</Set> |
| <Set name="MaxThreads">10</Set> |
| <Set name="MaxIdleTimeMs">30000</Set> |
| <Set name="MaxReadTimeMs">10000</Set> |
| <Set name="MaxStopTimeMs">5000</Set> |
| <Set name="LowResourcePersistTimeMs">2000</Set> |
| <Set name="confidentialPort">8443</Set> |
| </New> |
| </Arg> |
| </Call> |
| |
| |
| <!-- By moving web.xml into WEB-INF, the working directory ends up with the |
| approximate format of a WAR. --> |
| |
| <Call name="addWebApplication"> |
| <Arg>/tutorial</Arg> |
| <Arg>.</Arg> |
| <Arg>../../config/webdefault.xml</Arg> |
| <Arg type="boolean">false</Arg> |
| </Call> |
| |
| </Configure> |