Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » How do you enable MemoryLeakProtection logging with Virgo Server for Apache Tomcat
How do you enable MemoryLeakProtection logging with Virgo Server for Apache Tomcat [message #909786] Fri, 07 September 2012 19:40 Go to next message
Jacob Scott is currently offline Jacob ScottFriend
Messages: 3
Registered: May 2012
Junior Member
Tomcat has built in, on by default logging to help detect common web app memory leak problems (for example, ClassLoader leaks -- a full writeup is available at wiki.apache.org/tomcat/MemoryLeakProtection). However, I don't see similar logging show up anywhere in servicability/ even when deploying known-buggy .war files.

Do I need to tweak configuration somewhere to get these logs to show up?

Thanks,

Jacob
Re: How do you enable MemoryLeakProtection logging with Virgo Server for Apache Tomcat [message #911494 is a reply to message #909786] Tue, 11 September 2012 18:20 Go to previous message
Violeta Georgieva is currently offline Violeta GeorgievaFriend
Messages: 278
Registered: October 2010
Senior Member
Hi,

We do not have this configuration by default.

Can you try to add the following two listener declarations in the tomcat-server.xml located in <Virgo-Home>/configuration

  <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
  <Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />


Regards
Violeta
Previous Topic:Security Manager AGAIN
Next Topic:Virgo packaged Spring 3 bundles not having all dependencies fulfilled
Goto Forum:
  


Current Time: Fri Mar 29 12:39:22 GMT 2024

Powered by FUDForum. Page generated in 0.02425 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top