For the JK protocol, you can use either Ajp13Connector or CoyoteConnector.
It's up to you.

Ajp13Connector: only JK

CoyoteConnector: JK, JK2, HTTP

The CoyoteConnector on port 8080 in the default server.xml is for serving
HTTP requests if you run Tomcat alone.  If you use Apache and JK/JK2, most
people disable the connector on 8080 and leave the one on 8009 (or whatever)
enabled.

John


> -----Original Message-----
> From: Hari Venkatesan [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 10, 2002 1:44 PM
> To: Tomcat Users List
> Subject: RE: Server.xml
> 
> 
> Jake
> 
> Should I uncomment the the following lines to make it work with IIS
> 
> <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
>          port="8009" minProcessors="5" maxProcessors="75"
>                 acceptCount="10" debug="0"/>
> 
> Hari
> 
> -----Original Message-----
> From: Jacob Kjome [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, December 10, 2002 1:40 PM
> To: Tomcat Users List
> Subject: Re: Server.xml
> 
> Hello Hari,
> 
> That's just a matter of the docs being not quite up-to-date.  The
> Coyote connector is the connector for both http and jk (jk and jk2).
> The other stuff is deprecated, although it still works just fine.
> 
> Jake
> 
> Tuesday, December 10, 2002, 12:24:23 PM, you wrote:
> 
> 
> 
> HV> Can somebody explain why in the default server.xml file we have 
> 
> HV> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
> HV> port="8080" minProcessors="5" maxProcessors="75"
> enableLookups="true"
> HV> redirectPort="8443" acceptCount="10" debug="0"
> connectionTimeout="20000"
> HV> useURIValidationHack="false"/>
> 
> HV> and 
> 
> HV> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
> HV> port="8009" minProcessors="5" maxProcessors="75"
> enableLookups="true"
> HV> redirectPort="8443" acceptCount="10" debug="0"
> connectionTimeout="20000"
> HV> useURIValidationHack="false"
> HV> protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
> 
> HV> but AJPconnector that listens on port 8009 has been 
> commented out. 
> 
> HV> Also when the server starts, we get an INFO message 
> "ajp13 listening
> on
> HV> tcp port 8009.
> 
> HV> I am trying to configure IIS and to redirect and having problems.
> The
> HV> documentation says that I need the following on server.xml file
> 
> HV> <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
> HV>                port="8009" minProcessors="5" maxProcessors="75"
> HV>                acceptCount="10" debug="0"/>
> 
> HV> Should I then comment out the previous connectors and have only
> HV> AjpConnector
> 
> HV> Please help
> 
> HV> Hari
> 
> HV> --
> HV> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> HV> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> -- 
> Best regards,
>  Jacob                            mailto:[EMAIL PROTECTED]
> 
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

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

Reply via email to