tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GOMEZ Henri <hgo...@slib.fr>
Subject RE: [PATCH] Tomcat 3.3 m3 mod_jk-howto.html (new Bug #1809)
Date Fri, 18 May 2001 16:32:51 GMT
Commited,

Thanks...

>-----Original Message-----
>From: Hans Schmid [mailto:hans@mega-schmid.de]
>Sent: Friday, May 18, 2001 5:00 PM
>To: tomcat-dev@jakarta.apache.org
>Subject: [PATCH] Tomcat 3.3 m3 mod_jk-howto.html (new Bug #1809)
>
>
>Hello,
>
>I just installed Tomcat3.3-m3 with ajpv13 behind Apache 1.3.19 
>on Win2000.
>
>While setting up mod_jk with ajp1.3, I noticed a bug in the
>mod_jk-howto.html
>It states:
>
>
>Add the following block to your TOMCAT_HOME/conf/server.xml file.
>
><Connector className="org.apache.tomcat.service.PoolTcpConnector">
>  <Parameter name="handler"
>value="org.apache.tomcat.service.connector.Ajp13ConnectionHandler"/>
>  <Parameter name="port" value="8009"/>
></Connector>
>
>
>but this is the way Tomcat 3.2.2 has to be setup.
>
>In TC 3.3 the entry should be:
>
><RequestInterceptor
>className="org.apache.tomcat.modules.server.Ajp13Interceptor"
> port="8009" />
>
>
>and its enabled by default.
>
>Anyway, I have attatched diffs against 
>/src/doc/mod_jk-howto.html. This is
>the new paragraph:
>
>---------------------------------------------------------------
>-------------
>-------------------------------
>(Optional) Configuring Tomcat to use the Ajpv13 protocol
>mod_jk can use either the original Ajpv12 protocol or the newer Ajpv13
>protocol. If you choose the latter, you need to activate the "Ajp13"
>Connection Handler in Tomcat. This will give you the benefit 
>of a faster
>protocol and the ability to identify requests made via HTTPS.
>
>Add the following block to your TOMCAT_HOME/conf/server.xml file.
><Connector className="org.apache.tomcat.service.PoolTcpConnector">
>  <Parameter name="handler"
>value="org.apache.tomcat.service.connector.Ajp13ConnectionHandler"/>
>  <Parameter name="port" value="8009"/>
></Connector>
>
>The server.xml file already has a block similar to this for Ajp12
>connections on port 8007 (as delivered by mod_jserv). Even if you think
>you're only using Ajp13, you probably don't want to delete 
>this connector --
>it's required to shut down Tomcat.
>---------------------------------------------------------------
>-------------
>-------------------------------
>
>There is a mod_jk-howto.html in proposals as well. I don't 
>know, if this
>patch should be applied to this one as well.
>
>I hope this helps a little bit since there seems to be so much 
>confusion in
>the user-list about setting up mod_jk.
>
>Best regards,
>
>Hans
>

Mime
View raw message