You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Montz, James C. (James Tower)" <JC...@jamestower.com> on 2004/09/21 00:43:20 UTC

Simple server.xml config question... AJP13 Connector vs. CoyoteConnector

Are these 2 Connector's mutually exclusive and/or redundant in the same
server.xml?
...
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8101" minProcessors="5" maxProcessors="75"
enableLookups="true" acceptCount="100"
               debug="0" connectionTimeout="20000"
useURIValidationHack="false" disableUploadTimeout="true" />

    <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="8201" minProcessors="5" maxProcessors="256"
enableLookups="true" connectionTimeout="20000"
               acceptCount="10" debug="0"/>
...




I have also seen variations of these documented in books & online;

    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8201" address="127.0.0.1"
               minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="0"
               useURIValidationHack="false"
 
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>

And

    <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="8201" address="127.0.0.1"
               minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="0"
               useURIValidationHack="false"
 
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>


What should the proper configuration of connector's be for Apache 2.0
Front Ending Tomcat 4.1 using mod_jk2?
Could someone explain what the differences between the different classes
are (org.apache.coyote.tomcat4.CoyoteConnector,
org.apache.ajp.tomcat4.Ajp13Connector)?

My original understanding was that Coyote is basically a stand alone
HTTP Server for Tomcat, and Ajp13Connector handled the inter process
communication for Apache to Tomcat.


Thanks,

James


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org