[mapguide-commits] r5128 - branches/2.2/MgDev/Oem/LinuxApt
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Fri Sep 10 17:31:54 EDT 2010
Author: brucedechant
Date: 2010-09-10 21:31:54 +0000 (Fri, 10 Sep 2010)
New Revision: 5128
Modified:
branches/2.2/MgDev/Oem/LinuxApt/server.xml
Log:
Update Tomcat server.xml file
- Add missing JreMemoryLeakPreventionListener entry
Modified: branches/2.2/MgDev/Oem/LinuxApt/server.xml
===================================================================
--- branches/2.2/MgDev/Oem/LinuxApt/server.xml 2010-09-10 06:22:17 UTC (rev 5127)
+++ branches/2.2/MgDev/Oem/LinuxApt/server.xml 2010-09-10 21:31:54 UTC (rev 5128)
@@ -1,3 +1,20 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<!-- Note: A "Server" is not itself a "Container", so you may not
define subcomponents such as "Valves" at this level.
Documentation at /docs/config/server.html
@@ -8,6 +25,8 @@
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
<!--Initialize Jasper prior to webapps are loaded. Documentation at /docs/jasper-howto.html -->
<Listener className="org.apache.catalina.core.JasperListener" />
+ <!-- Prevent memory leaks due to use of particular java/javax APIs-->
+ <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<!-- JMX Support for the Tomcat server. Documentation at /docs/non-existent.html -->
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
@@ -78,7 +97,7 @@
Documentation at /docs/config/engine.html -->
<!-- You should set jvmRoute to support load-balancing via AJP ie :
- <Engine name="Standalone" defaultHost="localhost" jvmRoute="jvm1">
+ <Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">
-->
<Engine name="Catalina" defaultHost="localhost">
More information about the mapguide-commits
mailing list