<?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">

  <Call name="addListener">
    <Arg>
      <New class="org.mortbay.http.SocketListener">
        <Set name="Port">8081</Set>
        <Set name="MinThreads">1</Set>
        <Set name="MaxThreads">10</Set>
        <Set name="MaxIdleTimeMs">50000</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>./web</Arg>
    <Set name="DefaultsDescriptor">./config/webdefault.xml</Set>
  </Call>
  
  <Call name="addContext">
    <Arg>/</Arg>   
    <Set name="realmName">Jetty Demo Realm</Set>
   
    <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>
<?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">

  <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">50000</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>./web</Arg>
    <Set name="DefaultsDescriptor">./config/webdefault.xml</Set>
  </Call>
  
  <Call name="addContext">
    <Arg>/</Arg>   
    <Set name="realmName">Jetty Demo Realm</Set>
   
    <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>
Change back to port 8080, which is what the tutorial should be on
Change back to port 8080, which is what the tutorial should be on


git-svn-id: 1006245cb1bdea2fd4c9095e50bc2ef3d167b18c@243235 13f79535-47bb-0310-9956-ffa450edef68
