tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Rall <...@finemaltcoding.com>
Subject Re: Triple initialization of Catalina/mod_webapp
Date Mon, 19 Nov 2001 21:53:19 GMT
Let's play "Find The Misconfiguration!"

My server.xml for Catalina plus mod_webapp (comments removed):

<Server port="8005" shutdown="SHUTDOWN" debug="0">

  <Service name="Tomcat-Apache">

    <Connector className="org.apache.catalina.connector.warp.WarpConnector"
               port="11025" minProcessors="5" maxProcessors="75"
               acceptCount="10" debug="0" connectionTimeout="60000"/>

    <!-- Define the top level container in our container hierarchy -->
    <!-- See the following URL for a good configuration description:
     http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/msg34591.html
    -->
    <Engine name="Apache" defaultHost="localhost" debug="0"
            className="org.apache.catalina.connector.warp.WarpEngine">

      <Logger className="org.apache.catalina.logger.FileLogger"
              directory="../log/debug" prefix="catalina" suffix=".log"
              timestamp="true"/>

      <Realm className="org.apache.catalina.realm.MemoryRealm" />

      <!-- Define the default virtual host -->
      <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true">

        <Valve className="org.apache.catalina.valves.AccessLogValve"
               directory="../log/access" prefix="catalina_access" suffix=".log"
               pattern="common"/>

        <Logger className="org.apache.catalina.logger.FileLogger"
                directory="../log/debug" prefix="catalina" suffix=".log"
                timestamp="true"/>

        <Context path="/servlets" docBase="myapp"
                 reloadable="true" debug="0">
           <Loader checkInterval="1"
                   className="org.apache.catalina.loader.WebappLoader"/>
           <Manager debug="99"/>
        </Context>

      </Host>

    </Engine>

  </Service>

</Server>

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message