aboutsummaryrefslogtreecommitdiff
path: root/www/tomcat7/files/patch-conf::server.xml
blob: 1e1f67aed8f6f73bc2d67e72e7bf97f9baa7e10f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
$FreeBSD$

--- conf/server.xml.orig	Sun Jun  5 21:37:27 2005
+++ conf/server.xml	Sun Jun  5 21:40:08 2005
@@ -10,7 +10,7 @@
      define subcomponents such as "Valves" or "Loggers" at this level.
  -->
 
-<Server port="8005" shutdown="SHUTDOWN">
+<Server port="%%SHUTDOWN_PORT%%" shutdown="SHUTDOWN">
 
   <!-- Comment these entries out to disable JMX MBeans support used for the 
        administration web application -->
@@ -72,8 +72,8 @@
          IP address of the remote client.
     -->
 
-    <!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
-    <Connector port="8080" maxHttpHeaderSize="8192"
+    <!-- Define a non-SSL HTTP/1.1 Connector -->
+    <Connector port="%%HTTP_PORT%%" maxHttpHeaderSize="8192"
                maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
                enableLookups="false" redirectPort="8443" acceptCount="100"
                connectionTimeout="20000" disableUploadTimeout="true" />
@@ -97,8 +97,8 @@
                clientAuth="false" sslProtocol="TLS" />
     -->
 
-    <!-- Define an AJP 1.3 Connector on port 8009 -->
-    <Connector port="8009" 
+    <!-- Define an AJP 1.3 Connector -->
+    <Connector port="%%AJP_1_3_PORT%%" 
                enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />
 
     <!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->