tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@locus.apache.org
Subject cvs commit: jakarta-tomcat/proposals/catalina/src/conf server.xml
Date Sun, 13 Feb 2000 03:01:01 GMT
craigmcc    00/02/12 19:01:01

  Modified:    proposals/catalina build.xml
  Added:       proposals/catalina/src/conf server.xml
  Removed:     proposals/catalina server.xml
  Log:
  Move server.xml to "conf" subdirectory to mirror main Tomcat tree.
  
  Revision  Changes    Path
  1.2       +2 -0      jakarta-tomcat/proposals/catalina/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/proposals/catalina/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml	2000/01/20 06:27:17	1.1
  +++ build.xml	2000/02/13 03:01:00	1.2
  @@ -10,11 +10,13 @@
     <target name="prepare">
       <mkdir dir="${catalina.build}"/>
       <mkdir dir="${catalina.build}/classes"/>
  +    <mkdir dir="${catalina.build}/conf"/>
       <mkdir dir="${catalina.build}/etc"/>
       <mkdir dir="${catalina.build}/src"/>
       <mkdir dir="${catalina.build}/lib"/>
       <copyfile src="${jakarta.tools}/projectx-tr2.jar"
                dest="${catalina.build}/lib/xml.jar"/>
  +    <copydir src="src/conf" dest="${catalina.build}/conf"/>
     </target>
   
     <!-- Compile the build directory -->
  
  
  
  1.1                  jakarta-tomcat/proposals/catalina/src/conf/server.xml
  
  Index: server.xml
  ===================================================================
  <!-- Example Server Configuration File -->
  <!-- Note that component elements are nested corresponding to their
       parent-child relationships with each other -->
  
  <Server adminPort="-1" workDir="work">
  
    <!--
    <Connector className="org.apache.tomcat.service.TcpEndpointConnector">
      <Parameter name="handler"
       value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/>
      <Parameter name="port" value="8007"/>
    </Connector>
    -->
  
    <Engine defaultHost="localhost" unknownHost="localhost">
  
      <!-- Because this Realm is here, an instance will be shared globally -->
      <!--
      <Realm className="org.apache.tomcat.realm.JndiRealm"
             param1="value1" /> --> <!-- Parameters to access directory via JNDI
-->
  
      <Host name="localhost">
  
        <!-- Processes all requests for this virtual host -->
        <Valve className="org.apache.tomcat.valves.AccessLogValve"
               directory="localhost_logs" prefix="access_log." suffix=""
               pattern="common"/>
  
        <!-- Shared by all Contexts related to this virtual host -->
        <Logger className="org.apache.tomcat.logger.FileLogger"
                directory="localhost_logs" prefix="tomcat_log." suffix=""
                timestamp="false"/>
  
        <Context path="/" docBase="webpages"/>
  
        <Context path="/examples" docBase="examples">
  	<!-- Processes all requests for this Context -->
          <Valve className="org.apache.tomcat.security.SecurityValve"/>
  	<!-- Used to manage sessions for this Context only -->
          <Manager className="org.apache.tomcat.session.StandardManager"
                   checkInterval="15" maxActiveSessions="100"
  		 pathname="localhost_sessions/examples.sessions"/>
        </Context>
  
      </Host>
  
    </Engine>
  
  </Server>
  
  
  

Mime
View raw message