John wrote:
> You need two Listener tags, minimum.  One at the Server "level" in
> server.xml, and one at each Host "level".

Thanks!  (It was in the documentation, I stopped reading too early.)  I put
in the other <Listener> tag under the <Host> tag, and it seems to be
working.  However, I am seeing several warnings in catalina.out after each
request

WARNING: server has closed the current connection (-1)

Dec 2, 2002 2:24:18 PM org.apache.jk.common.ChannelSocket processConnection

(total of 6 of these warnings for each request)

I thought I was using mod_jk with Ajp13, but now I see in server.xml:

    <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8009" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="20000"
               useURIValidationHack="false"
 
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>

    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <!--
    <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="8009" minProcessors="5" maxProcessors="75"
               acceptCount="10" debug="0"/>
    -->

And I'm confused.  Should I switch the comments around and use the
Ajp13Connector instead?

This is HP-UX 11 with Apache 2 (provided by HP) and Tomcat 4.1.12 (binary
distribution from Jakarta).

Thanks,

-- 
Wendy Smoak
Applications Systems Analyst, Sr.
Arizona State University PA Information Resources Management

Reply via email to