You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by dw...@apache.org on 2007/10/05 18:04:33 UTC

svn commit: r582323 - in /geronimo/server/branches/2.0/assemblies: geronimo-tomcat6-jee5/src/main/resources/var/config/config.xml geronimo-tomcat6-minimal/src/main/resources/var/config/config.xml

Author: dwoods
Date: Fri Oct  5 09:04:32 2007
New Revision: 582323

URL: http://svn.apache.org/viewvc?rev=582323&view=rev
Log:
GERONIMO-3507 - Expose all TomcatConnector attributes in config.xml

Modified:
    geronimo/server/branches/2.0/assemblies/geronimo-tomcat6-jee5/src/main/resources/var/config/config.xml
    geronimo/server/branches/2.0/assemblies/geronimo-tomcat6-minimal/src/main/resources/var/config/config.xml

Modified: geronimo/server/branches/2.0/assemblies/geronimo-tomcat6-jee5/src/main/resources/var/config/config.xml
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.0/assemblies/geronimo-tomcat6-jee5/src/main/resources/var/config/config.xml?rev=582323&r1=582322&r2=582323&view=diff
==============================================================================
--- geronimo/server/branches/2.0/assemblies/geronimo-tomcat6-jee5/src/main/resources/var/config/config.xml (original)
+++ geronimo/server/branches/2.0/assemblies/geronimo-tomcat6-jee5/src/main/resources/var/config/config.xml Fri Oct  5 09:04:32 2007
@@ -130,16 +130,38 @@
             <attribute name="host">${ServerHostname}</attribute>
             <attribute name="port">${HTTPPortPrimary + PortOffset}</attribute>
             <attribute name="redirectPort">${HTTPSPortPrimary + PortOffset}</attribute>
+            <attribute name="maxHttpHeaderSize">8192</attribute>
+            <attribute name="maxThreads">150</attribute>
+            <attribute name="minSpareThreads">25</attribute>
+            <attribute name="maxSpareThreads">75</attribute>
+            <attribute name="enableLookups">false</attribute>
+            <attribute name="acceptCount">100</attribute>
             <attribute name="connectionTimeout">${WebConnectorConTimeout}</attribute>
+            <attribute name="disableUploadTimeout">true</attribute>
         </gbean>
         <gbean name="TomcatAJPConnector">
             <attribute name="host">${ServerHostname}</attribute>
             <attribute name="port">${AJPPortPrimary + PortOffset}</attribute>
             <attribute name="redirectPort">${HTTPSPortPrimary + PortOffset}</attribute>
+            <attribute name="minSpareThreads">25</attribute>
+            <attribute name="maxSpareThreads">75</attribute>
+            <attribute name="enableLookups">false</attribute>
         </gbean>
         <gbean name="TomcatWebSSLConnector">
             <attribute name="host">${ServerHostname}</attribute>
             <attribute name="port">${HTTPSPortPrimary + PortOffset}</attribute>
+            <attribute name="maxHttpHeaderSize">8192</attribute>
+            <attribute name="maxThreads">150</attribute>
+            <attribute name="minSpareThreads">25</attribute>
+            <attribute name="maxSpareThreads">75</attribute>
+            <attribute name="enableLookups">false</attribute>
+            <attribute name="acceptCount">100</attribute>
+            <attribute name="disableUploadTimeout">false</attribute>
+            <attribute name="clientAuth">false</attribute>
+            <attribute name="algorithm">Default</attribute>
+            <attribute name="sslProtocol">TLS</attribute>
+            <attribute name="keystoreFile">var/security/keystores/geronimo-default</attribute>
+            <attribute name="keystorePass">secret</attribute>
         </gbean>
     </module>
 

Modified: geronimo/server/branches/2.0/assemblies/geronimo-tomcat6-minimal/src/main/resources/var/config/config.xml
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.0/assemblies/geronimo-tomcat6-minimal/src/main/resources/var/config/config.xml?rev=582323&r1=582322&r2=582323&view=diff
==============================================================================
--- geronimo/server/branches/2.0/assemblies/geronimo-tomcat6-minimal/src/main/resources/var/config/config.xml (original)
+++ geronimo/server/branches/2.0/assemblies/geronimo-tomcat6-minimal/src/main/resources/var/config/config.xml Fri Oct  5 09:04:32 2007
@@ -58,21 +58,54 @@
     <module name="org.apache.geronimo.configs/jasper/${version}/car" load="false"/>
 
     <module name="org.apache.geronimo.configs/tomcat6/${version}/car">
+        <gbean name="TomcatEngine">
+            <attribute name="initParams">
+                name=Geronimo
+            </attribute>
+            <!-- To disable accesslogging uncomment the following line
+            <reference name="TomcatValveChain" />
+            -->
+        </gbean>
+        <!-- To disable accesslogging uncomment the following line
+        <gbean name="FirstValve" load="false"></gbean>
+        -->
         <gbean name="TomcatResources"/>
         <gbean name="TomcatWebConnector">
             <attribute name="host">${ServerHostname}</attribute>
             <attribute name="port">${HTTPPortPrimary + PortOffset}</attribute>
             <attribute name="redirectPort">${HTTPSPortPrimary + PortOffset}</attribute>
+            <attribute name="maxHttpHeaderSize">8192</attribute>
+            <attribute name="maxThreads">150</attribute>
+            <attribute name="minSpareThreads">25</attribute>
+            <attribute name="maxSpareThreads">75</attribute>
+            <attribute name="enableLookups">false</attribute>
+            <attribute name="acceptCount">100</attribute>
             <attribute name="connectionTimeout">${WebConnectorConTimeout}</attribute>
+            <attribute name="disableUploadTimeout">true</attribute>
         </gbean>
         <gbean name="TomcatAJPConnector">
             <attribute name="host">${ServerHostname}</attribute>
             <attribute name="port">${AJPPortPrimary + PortOffset}</attribute>
             <attribute name="redirectPort">${HTTPSPortPrimary + PortOffset}</attribute>
+            <attribute name="minSpareThreads">25</attribute>
+            <attribute name="maxSpareThreads">75</attribute>
+            <attribute name="enableLookups">false</attribute>
         </gbean>
         <gbean name="TomcatWebSSLConnector">
             <attribute name="host">${ServerHostname}</attribute>
             <attribute name="port">${HTTPSPortPrimary + PortOffset}</attribute>
+            <attribute name="maxHttpHeaderSize">8192</attribute>
+            <attribute name="maxThreads">150</attribute>
+            <attribute name="minSpareThreads">25</attribute>
+            <attribute name="maxSpareThreads">75</attribute>
+            <attribute name="enableLookups">false</attribute>
+            <attribute name="acceptCount">100</attribute>
+            <attribute name="disableUploadTimeout">false</attribute>
+            <attribute name="clientAuth">false</attribute>
+            <attribute name="algorithm">Default</attribute>
+            <attribute name="sslProtocol">TLS</attribute>
+            <attribute name="keystoreFile">var/security/keystores/geronimo-default</attribute>
+            <attribute name="keystorePass">secret</attribute>
         </gbean>
     </module>