Well, my answer is "use Ajp13Connector" but that's because I prefer to go
with what I know works instead of whatever someone has just released.  The
official "line" from the dev team is that CoyoteConnector on the Tomcat side
is stable and ready for production use for both JK and JK2.  So, it's up to
you.

John


> -----Original Message-----
> From: Wendy Smoak [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 02, 2002 5:01 PM
> To: 'Tomcat Users List'
> Subject: RE: Help with auto-generating Apache config files for mod_jk
> 
> 
> 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
> 

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

Reply via email to