User: jules_gosnell
  Date: 01/11/28 15:54:57

  Modified:    jetty/src/etc jetty.xml
  Log:
  move jetty.xml and webdefault.xml into jetty-plugin.sar
  
  Revision  Changes    Path
  1.5       +11 -58    contrib/jetty/src/etc/jetty.xml
  
  Index: jetty.xml
  ===================================================================
  RCS file: /cvsroot/jboss/contrib/jetty/src/etc/jetty.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- jetty.xml 2001/09/16 17:31:01     1.4
  +++ jetty.xml 2001/11/28 23:54:57     1.5
  @@ -1,71 +1,21 @@
   <?xml version="1.0"  encoding="ISO-8859-1"?>
  -<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure 1.1//EN" 
"http://jetty.mortbay.com/configure_1_1.dtd";>
  +<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure 1.0//EN" 
"http://jetty.mortbay.org/configure_1_1.dtd";>
   
  -<!--
  -This is a Jetty HTTP server configuration file.  This configuration
  -uses the generic org.mortbay.util.XmlConfiguration class to call
  -the normal org.mortbay.http.HttpServer configuration API from
  -within an XML script.
  -
  -The format of this file is described in the configure.dtd file.
  -
  -The API that can be called by this file is described in the
  -Javadoc for Jetty.
  -
  -The following concepts must be understood when configuring
  -a server:
  -
  -Listener: is a network interface object that
  -accepts HTTP requests for the server. SocketListeners accept
  -normal requests, while JsseListeners accept SSL requests.
  -The threading model of the server is controlled by the
  -listener parameters.
  -
  -WebApplication: is a bundled collection of resources,
  -servlets and configuration that can provide a unified
  -WWW application.  It is part of the 2.2 servlet standard.
  -The contents of the application are configured by the
  -web.xml deployment descriptor within the application.
  -The configuration of the application within Jetty requires
  -on the context of the application to be set.
  -
  -Context: is a grouping of server resources that share
  -the same URL path prefix, class path and resource base.
  -A Web application is an example of a specific context.
  -Generic contexts may have arbitrary request handlers
  -added to them.  All contexts have a path specification
  -(frequently the default "/") and an option virtual
  -host alias.
  -
  -Handler:  Handlers are the objects that actually
  -service the HTTP requests. Examples of Handlers include
  -ServletHandler, ResourceHandler and NotFoundHandler.
  -Handlers are contained within Contexts, which provide
  -conveniance methods for the common handlers so
  -that servlet and file serving may be configured for
  -a context without explicit creation of a Handler.
  -
  -
  -This file configures the demo server and is equivalent
  -to the org.mortbay.jetty.Demo class.
  -
  -$ID: $
  --->
  -
  -<Configure class="org.mortbay.http.HttpServer">
  +<Configure class="org.mortbay.jetty.Server">
     <Call name="addListener">
       <Arg>
         <New class="org.mortbay.http.SocketListener">
  -        <Set name="Port">8080</Set>
  +        <Set name="Port"><SystemProperty name="jetty.port" default="8080"/></Set>
           <Set name="MinThreads">5</Set>
           <Set name="MaxThreads">255</Set>
  -        <Set name="MaxIdleTimeMs">60000</Set>
  -        <Set name="MaxReadTimeMs">60000</Set>
  +        <Set name="MaxIdleTimeMs">30000</Set>
  +        <Set name="MaxReadTimeMs">10000</Set>
  +        <Set name="MaxStopTimeMs">5000</Set>
  +        <Set name="LowResourcePersistTimeMs">5000</Set>
         </New>
       </Arg>
     </Call>
   
  -
   <!--  Uncomment this to add an SSL listener.
     <Call name="addListener">
       <Arg>
  @@ -73,7 +23,10 @@
           <Set name="Port">8443</Set>
           <Set name="MinThreads">5</Set>
           <Set name="MaxThreads">255</Set>
  -        <Set name="MaxIdleTimeMs">50000</Set>
  +        <Set name="MaxIdleTimeMs">30000</Set>
  +        <Set name="MaxReadTimeMs">10000</Set>
  +        <Set name="MaxStopTimeMs">5000</Set>
  +        <Set name="LowResourcePersistTimeMs">2000</Set>
           <Set name="Keystore"><SystemProperty name="jetty.home" 
default="."/>/etc/demokeystore</Set>
        <Set name="Password">OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4</Set>
        <Set name="KeyPassword">OBF:1u2u1wml1z7s1z7a1wnl1u2g</Set>
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to