stefano     2003/02/20 12:02:31

  Modified:    tools/jetty/conf jettyconf.xml
  Added:       tools/jetty/conf webdefaults.xml
  Log:
  updating jetty conf files
  
  Revision  Changes    Path
  1.3       +3 -6      xml-cocoon2/tools/jetty/conf/jettyconf.xml
  
  Index: jettyconf.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/tools/jetty/conf/jettyconf.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- jettyconf.xml     3 Dec 2002 15:44:44 -0000       1.2
  +++ jettyconf.xml     20 Feb 2003 20:02:31 -0000      1.3
  @@ -1,7 +1,6 @@
   <?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                                      -->
   <!-- =============================================================== -->
  @@ -12,9 +11,8 @@
     <!-- Configure the Request Listeners                                 -->
     <!-- =============================================================== -->
   
  -
     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
  -  <!-- Add and configure a HTTP listener to port 8080                       -->
  +  <!-- Add and configure a HTTP listener to port 8888                  -->
     <!-- The default port can be changed using: java -Djetty.port=80     -->
     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
     <Call name="addListener">
  @@ -29,12 +27,10 @@
       </Arg>
     </Call>
   
  -
     <!-- =============================================================== -->
     <!-- Configure the Contexts                                          -->
     <!-- =============================================================== -->
   
  -
     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
     <!-- Add root context web applications.                              -->
     <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
  @@ -49,7 +45,8 @@
   
     <Call name="addWebApplication">
       <Arg>/</Arg>
  -    <Arg><SystemProperty name="jetty.home" default="."/></Arg>
  +    <Arg><SystemProperty name="webapp" default="."/></Arg>
  +    <Set name="defaultsDescriptor">./conf/webdefaults.xml</Set>
     </Call>
   
   </Configure>
  
  
  
  1.1                  xml-cocoon2/tools/jetty/conf/webdefaults.xml
  
  Index: webdefaults.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" 
"http://java.sun.com/dtd/web-app_2_3.dtd";>   
  
  <!-- ===================================================================== -->
  <web-app>
    <description>
      This file is applied to a Web application before it's own WEB-INF/web.xml file
    </description>
  
    <!-- ==================================================================== -->
    <!-- Context params to control Session Cookies                            -->
    <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
    <!-- UNCOMMENT TO ACTIVATE
    <context-param>
      <param-name>org.mortbay.jetty.servlet.SessionDomain</param-name>
      <param-value>127.0.0.1</param-value>
    </context-param>
  
    <context-param>
      <param-name>org.mortbay.jetty.servlet.SessionPath</param-name>
      <param-value>/</param-value>
    </context-param>
  
    <context-param>
      <param-name>org.mortbay.jetty.servlet.MaxAge</param-name>
      <param-value>-1</param-value>
    </context-param>
    -->
  
    <!-- ==================================================================== -->
    <session-config>
      <session-timeout>30</session-timeout>
    </session-config>
  
  </web-app>
  
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to