You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jacob Kjome <ho...@visi.com> on 2002/12/02 23:12:43 UTC
Re[2]: Help with auto-generating Apache config files for mod_jk
Hello Wendy,
The CoyoteConnector still supports the jk connector in addition to its
support for jk2. You can still use your listeners to create the
mod_jk.conf auto-generated files for jk.
Jake
Monday, December 02, 2002, 4:00:33 PM, you wrote:
WS> John wrote:
>> You need two Listener tags, minimum. One at the Server "level" in
>> server.xml, and one at each Host "level".
WS> Thanks! (It was in the documentation, I stopped reading too early.) I put
WS> in the other <Listener> tag under the <Host> tag, and it seems to be
WS> working. However, I am seeing several warnings in catalina.out after each
WS> request
WS> WARNING: server has closed the current connection (-1)
WS> Dec 2, 2002 2:24:18 PM org.apache.jk.common.ChannelSocket processConnection
WS> (total of 6 of these warnings for each request)
WS> I thought I was using mod_jk with Ajp13, but now I see in server.xml:
WS> <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
WS> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
WS> port="8009" minProcessors="5" maxProcessors="75"
WS> enableLookups="true" redirectPort="8443"
WS> acceptCount="10" debug="0" connectionTimeout="20000"
WS> useURIValidationHack="false"
WS> protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
WS> <!-- Define an AJP 1.3 Connector on port 8009 -->
WS> <!--
WS> <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
WS> port="8009" minProcessors="5" maxProcessors="75"
WS> acceptCount="10" debug="0"/>
WS> -->
WS> And I'm confused. Should I switch the comments around and use the
WS> Ajp13Connector instead?
WS> This is HP-UX 11 with Apache 2 (provided by HP) and Tomcat 4.1.12 (binary
WS> distribution from Jakarta).
WS> Thanks,
--
Best regards,
Jacob mailto:hoju@visi.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>