Author: markt Date: Tue Oct 27 22:34:04 2009 New Revision: 830378 URL: http://svn.apache.org/viewvc?rev=830378&view=rev Log: Document new listener
Modified: tomcat/trunk/webapps/docs/config/listeners.xml Modified: tomcat/trunk/webapps/docs/config/listeners.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/config/listeners.xml?rev=830378&r1=830377&r2=830378&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/config/listeners.xml (original) +++ tomcat/trunk/webapps/docs/config/listeners.xml Tue Oct 27 22:34:04 2009 @@ -218,6 +218,29 @@ </attributes> + <h3>JRE Memory Leak Prevention Listener + (org.apache.catalina.core.JreMemoryLeakPreventionListener)</h3> + + <p>The <strong>JRE Memory Leak Prevention Listener</strong> provides + work-arounds for known places where the Java Runtime environment uses + the context class loader to load a singleton as this will cause a memory + leak if a web application class loader happens to be the context class + loader at the time. The work-around is to initialise these singletons when + this listener starts as Tomcat's common class loader is the context class + loader at that time.</p> + + <p>Currently the <strong>JRE Memory Leak Prevention Listener</strong> + provides work-arounds for the following:</p> + <ul> + <li><code>sun.awt.AppContext.getAppContext()</code></li> + </ul> + + <p>This listener must only be nested within <a href="server.html">Server</a> + elements.</p> + + <p>No additional attributes are support by the <strong>JRE Memory Leak + Prevention Listener</strong>.</p> + </subsection> </section> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org