<!--
	if you want to get it faster: debug="0", reloadable="false", 
	  also remember: debug="false" in ant's build.xml
	if you need debug info: debug="0" reoadable="true",
	  also remember: debug="true" in ant's build.xml
-->

<Server port="8005" shutdown="SHUTDOWN" debug="0">
  <Service name="Tomcat-Standalone">
    <!-- httpd, we don't want reverse lookups-->
    <!--At server startup time, this Connector will create a number 
    of request processing threads-->
    <!--deprecated alt: org.apache.catalina.connector.http.HttpConnector-->
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8080" minProcessors="5" maxProcessors="75"
               enableLookups="false" 
               acceptCount="10" debug="0" connectionTimeout="60000"/>
    <!--entire request processing machinery assoc with a particular service-->
    <Engine name="Standalone" defaultHost="localhost" debug="0">
      <Logger className="org.apache.catalina.logger.FileLogger"
              prefix="catalina_log." suffix=".txt"
              timestamp="true"/>
      <Realm className="org.apache.catalina.realm.MemoryRealm" />
      <!-- Define vhost, we don't want automatic application deployment -->
      <Host name="localhost" debug="0" appBase="/var/www/htdocs/webapps" 
       unpackWARs="false" autoDeploy="false">
        <!-- reloadable="true" is good for development, bad for performance-->
        <DefaultContext reloadable="false" cookies="false"/>
        <Valve className="org.apache.catalina.valves.AccessLogValve"
                 directory="logs"  prefix="wwwtomcat_access_log." suffix=".txt"
                 pattern="common"/>
        <Logger className="org.apache.catalina.logger.FileLogger"
                 directory="/var/log/tomcat"  prefix="wwwtomcat_log." 
		 suffix=".txt" timestamp="true"/>
        <!-- Define properties for each web application.  This is only needed
             if you want to set non-default properties, or have web application
             document roots in places other than the virtual host's appBase
             directory.  -->
        <!-- Tomcat Root Context -->
        <!--
          <Context path="" docBase="ROOT" debug="0"/>
        -->
      </Host>
    </Engine>
  </Service>
</Server>
