You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2003/07/28 13:25:45 UTC
cvs commit: jakarta-tomcat-catalina/catalina/src/conf server.xml
remm 2003/07/28 04:25:45
Modified: catalina/src/conf server.xml
Log:
- Beautify the connectors default configuration (note: old configurations are
of course still valid).
Revision Changes Path
1.18 +15 -16 jakarta-tomcat-catalina/catalina/src/conf/server.xml
Index: server.xml
===================================================================
RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/conf/server.xml,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- server.xml 18 Apr 2003 02:50:38 -0000 1.17
+++ server.xml 28 Jul 2003 11:25:44 -0000 1.18
@@ -89,9 +89,9 @@
-->
<!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
- <Connector className="org.apache.coyote.tomcat5.CoyoteConnector"
- port="8080" minProcessors="5" maxProcessors="100"
- enableLookups="true" redirectPort="8443" acceptCount="100"
+ <Connector port="8080"
+ maxThreads="100" minSpareThreads="1" maxSpareThreads="10"
+ enableLookups="false" redirectPort="8443" acceptCount="100"
debug="0" connectionTimeout="20000"
disableUploadTimeout="true" />
<!-- Note : To disable connection timeouts, set connectionTimeout value
@@ -99,28 +99,27 @@
<!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->
<!--
- <Connector className="org.apache.coyote.tomcat5.CoyoteConnector"
- port="8443" minProcessors="5" maxProcessors="75"
- enableLookups="true" disableUploadTimeout="true"
- acceptCount="100" debug="0" scheme="https" secure="true">
- <Factory className="org.apache.coyote.tomcat5.CoyoteServerSocketFactory"
- clientAuth="false" protocol="TLS" />
+ <Connector port="8443"
+ maxThreads="50" minSpareThreads="1" maxSpareThreads="5"
+ enableLookups="false" disableUploadTimeout="true"
+ acceptCount="100" debug="0" scheme="https" secure="true">
+ <Factory clientAuth="false" protocol="TLS" />
</Connector>
-->
<!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
- <Connector className="org.apache.coyote.tomcat5.CoyoteConnector"
- port="8009" minProcessors="5" maxProcessors="75"
- enableLookups="true" redirectPort="8443"
+ <Connector port="8009"
+ maxThreads="100" minSpareThreads="1" maxSpareThreads="10"
+ enableLookups="false" redirectPort="8443"
acceptCount="10" debug="0"
- protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
+ protocol="AJP/1.3" />
<!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
<!-- See proxy documentation for more information about using this. -->
<!--
- <Connector className="org.apache.coyote.tomcat5.CoyoteConnector"
- port="8082" minProcessors="5" maxProcessors="75"
- enableLookups="true"
+ <Connector port="8082"
+ maxThreads="100" minSpareThreads="1" maxSpareThreads="10"
+ enableLookups="false"
acceptCount="100" debug="0" connectionTimeout="20000"
proxyPort="80" disableUploadTimeout="true" />
-->
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org