freebsd-ports/www/tomcat6/files/patch-conf__server.xml
Alex Dupre 0cd198a0b8 Update to 6.0.20 release:
- fix rc.d script on shutdown
- fix package creation
- keep modified config files on deinstall
- other small enhancements and bugfixes

I'll take maintainership on September if nemoliu will not ping.

PR:		ports/129411, ports/136727
Submitted by:	Jonathan Chen <jonc@chen.org.nz>,
		Mike Jakubik <mikej@rogers.com>
Approved by:	maintainer timeout (months)
2009-07-29 13:33:19 +00:00

29 lines
1.2 KiB
XML

--- ./conf/server.xml.orig 2007-07-24 22:33:24.134058137 +0800
+++ ./conf/server.xml 2007-07-24 22:34:42.223606359 +0800
@@ -2,7 +2,7 @@
define subcomponents such as "Valves" at this level.
Documentation at /docs/config/server.html
-->
-<Server port="8005" shutdown="SHUTDOWN">
+<Server port="%%SHUTDOWN_PORT%%" shutdown="SHUTDOWN">
<!--APR library loader. Documentation at /docs/apr.html -->
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
@@ -47,7 +47,7 @@
APR (HTTP/AJP) Connector: /docs/apr.html
Define a non-SSL HTTP/1.1 Connector on port 8080
-->
- <Connector port="8080" protocol="HTTP/1.1"
+ <Connector port="%%HTTP_PORT%%" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<!-- A "Connector" using the shared thread pool-->
@@ -68,7 +68,7 @@
-->
<!-- Define an AJP 1.3 Connector on port 8009 -->
- <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
+ <Connector port="%%AJP_1_3_PORT%%" protocol="AJP/1.3" redirectPort="8443" />
<!-- An Engine represents the entry point (within Catalina) that processes