remm 02/04/11 16:01:26
Modified: catalina/src/conf server.xml
Log:
- Add the new default configuration, based on my proposal.
- Obviously, some tweaking may still be needed, and the parameters to be used
for the new Coyote connector are still being refined.
Revision Changes Path
1.57 +20 -11 jakarta-tomcat-4.0/catalina/src/conf/server.xml
Index: server.xml
===================================================================
RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/conf/server.xml,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- server.xml 14 Mar 2002 21:06:56 -0000 1.56
+++ server.xml 11 Apr 2002 23:01:26 -0000 1.57
@@ -14,12 +14,10 @@
<!-- Uncomment these entries to enable JMX MBeans support -->
-<!--
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
- debug="0"/>
+ debug="0"/>
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
- debug="0"/>
--->
+ debug="0"/>
<!-- Global JNDI resources -->
<GlobalNamingResources>
@@ -93,22 +91,32 @@
<!-- Note : To disable connection timeouts, set connectionTimeout value
to -1 -->
- <!-- Define an SSL HTTP/1.1 Connector on port 8443 -->
+ <!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->
<!--
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8443" minProcessors="5" maxProcessors="75"
enableLookups="true"
acceptCount="10" debug="0" scheme="https" secure="true"
useURIValidationHack="false">
- <Factory className="org.apache.catalina.net.SSLServerSocketFactory"
+ <Factory className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
clientAuth="false" protocol="TLS" />
</Connector>
-->
+ <!-- Define a Coyote/JK2 AJP 1.4 Connector on port 8009 -->
+ <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"/>
+
<!-- Define an AJP 1.3 Connector on port 8009 -->
+ <!--
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
port="8009" minProcessors="5" maxProcessors="75"
acceptCount="10" debug="0"/>
+ -->
<!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
<!-- See proxy documentation for more information about using this. -->
@@ -178,9 +186,9 @@
<!-- Comment out the old realm but leave here for now in case we
need to go back quickly -->
-<!--
+ <!--
<Realm className="org.apache.catalina.realm.MemoryRealm" />
--->
+ -->
<!-- Replace the above Realm with one of the following to get a Realm
stored in a database and accessed via JDBC -->
@@ -232,9 +240,11 @@
directory with the "directory" attribute. Specify either a relative
(to $CATALINA_HOME) or absolute path to the desired directory.
-->
+ <!--
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="localhost_access_log." suffix=".txt"
pattern="common" resolveHosts="false"/>
+ -->
<!-- Logger shared by all Contexts related to this virtual host. By
default (when using FileLogger), log files are created in the "logs"
@@ -381,6 +391,7 @@
-->
<!-- Define an Apache-Connector Service -->
+<!--
<Service name="Tomcat-Apache">
<Connector className="org.apache.catalina.connector.warp.WarpConnector"
@@ -388,20 +399,18 @@
enableLookups="true" appBase="webapps"
acceptCount="10" debug="0"/>
- <!-- Replace "localhost" with what your Apache "ServerName" is set to -->
<Engine className="org.apache.catalina.connector.warp.WarpEngine"
name="Apache" debug="0">
- <!-- Global logger unless overridden at lower levels -->
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="apache_log." suffix=".txt"
timestamp="true"/>
- <!-- Because this Realm is here, an instance will be shared globally -->
<Realm className="org.apache.catalina.realm.MemoryRealm" />
</Engine>
</Service>
+-->
</Server>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>