[mapguide-commits] r4959 - sandbox/adsk/2.2gp/Oem/LinuxApt
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Thu Jun 17 13:58:45 EDT 2010
Author: brucedechant
Date: 2010-06-17 17:58:45 +0000 (Thu, 17 Jun 2010)
New Revision: 4959
Modified:
sandbox/adsk/2.2gp/Oem/LinuxApt/server.xml
Log:
Added Java memory leak fix for Tomcat
Modified: sandbox/adsk/2.2gp/Oem/LinuxApt/server.xml
===================================================================
--- sandbox/adsk/2.2gp/Oem/LinuxApt/server.xml 2010-06-17 17:50:24 UTC (rev 4958)
+++ sandbox/adsk/2.2gp/Oem/LinuxApt/server.xml 2010-06-17 17:58:45 UTC (rev 4959)
@@ -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