You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Hari Venkatesan <hv...@pfgc.com> on 2002/12/10 19:24:23 UTC

Server.xml


Can somebody explain why in the default server.xml file we have 

<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8080" minProcessors="5" maxProcessors="75" enableLookups="true"
redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="20000"
useURIValidationHack="false"/>

and 

<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"/>

but AJPconnector that listens on port 8009 has been commented out. 

Also when the server starts, we get an INFO message "ajp13 listening on
tcp port 8009.

I am trying to configure IIS and to redirect and having problems. The
documentation says that I need the following on server.xml file

<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="8009" minProcessors="5" maxProcessors="75"
               acceptCount="10" debug="0"/>

Should I then comment out the previous connectors and have only
AjpConnector

Please help

Hari

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Server.xml

Posted by Jacob Kjome <ho...@visi.com>.
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:   <ma...@jakarta.apache.org>
HV> For additional commands, e-mail: <ma...@jakarta.apache.org>



-- 
Best regards,
 Jacob                            mailto:hoju@visi.com


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>