Add leak prevention listener to windows installer
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 27 Oct 2009 22:35:05 +0000 (22:35 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 27 Oct 2009 22:35:05 +0000 (22:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@830379 13f79535-47bb-0310-9956-ffa450edef68

res/confinstall/server_1.xml

index f997fb7..3661018 100644 (file)
@@ -25,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" />