server.xml !!

?xml version="1.0" encoding="ISO-8859-1"?>

<Server>
    <!-- Debug low-level events in XmlMapper startup -->
    <xmlmapper:debug level="0" />

    <Logger name="tc_log"
            verbosityLevel = "INFORMATION"
    />

    <Logger name="servlet_log"
            path="logs/servlet.log"
    />

    <Logger name="JASPER_LOG"
     path="logs/jasper.log"
            verbosityLevel = "INFORMATION" />

    <ContextManager debug="0" workDir="work" showDebugInfo="true" >

      <!-- ==================== Interceptors ==================== -->


        <ContextInterceptor className="org.apache.tomcat.context.AutoSetup"
/>

        <ContextInterceptor
            className="org.apache.tomcat.context.WebXmlReader" />


        <ContextInterceptor
            className="org.apache.tomcat.context.LoaderInterceptor" />
        <ContextInterceptor
            className="org.apache.tomcat.context.DefaultCMSetter" />
        <ContextInterceptor
            className="org.apache.tomcat.context.WorkDirInterceptor" />

        <RequestInterceptor
            className="org.apache.tomcat.request.SessionInterceptor"
            noCookies="false" />

        <RequestInterceptor
            className="org.apache.tomcat.request.SimpleMapper1"
            debug="0" />

        <RequestInterceptor
            className="org.apache.tomcat.request.InvokerInterceptor"
            debug="0" prefix="/servlet/" />

        <RequestInterceptor
            className="org.apache.tomcat.request.StaticInterceptor"
            debug="0" suppress="false" />

        <RequestInterceptor
            className="org.apache.tomcat.session.StandardSessionInterceptor"
/>

        <RequestInterceptor
            className="org.apache.tomcat.request.AccessInterceptor"
            debug="0" />

        <RequestInterceptor
            className="org.apache.tomcat.request.SimpleRealm"
            debug="0" />

        <ContextInterceptor
            className="org.apache.tomcat.context.LoadOnStartupInterceptor"
/>

      <!-- ==================== Connectors ==================== -->

        <!-- Apache AJP12 support. This is also used to shut down tomcat.
          -->
        <Connector className="org.apache.tomcat.service.PoolTcpConnector">
            <Parameter name="handler"
       value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/>
            <Parameter name="port" value="8007"/>
           <Parameter
                name="max_threads"
                value="30"/>
            <Parameter
                name="max_spare_threads"
                value="20"/>
            <Parameter
                name="min_spare_threads"
                value="5" />
        </Connector>
       <Connector className="org.apache.tomcat.service.PoolTcpConnector">
            <Parameter name="handler"

value="org.apache.tomcat.service.connector.Ajp13ConnectionHandler"/>
            <Parameter name="port" value="8009"/>
            <Parameter
                name="max_threads"
                value="30"/>
            <Parameter
                name="max_spare_threads"
                value="20"/>
            <Parameter
                name="min_spare_threads"
                value="5" />
         </Connector>

        <!-- ==================== Special webapps ==================== -->
        <Context path="/admin"
                 docBase="webapps/admin"
                 crossContext="true"
                 debug="0"
                 reloadable="true"
                 trusted="true" >

        </Context>

    </ContextManager>
</Server>

----- Original Message -----
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, August 13, 2002 12:31 PM
Subject: RE: Memory alloc on tomcat 4.0.4


Hi,

>The output I pasted is a output of the "top" command on Linux. If you
are
>asking why I have so many   threads the answer is I don't know! I think
>that are threads between tomcat and apache that are never  closed.

I wasn't asking why you have so many threads ;)  I was asking for the
details of the configuration.  How is tomcat configured?  Java runtime
settings, server.xml maxProcessors, etc.

Yoav Shapira
Millennium ChemInformatics

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to