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 15:40 Go to next message
Jacob Scott is currently offline Jacob Scott
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 14:20 Go to previous message
Violeta Georgieva is currently offline Violeta Georgieva
Messages: 214
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: Sat Apr 19 23:19:51 EDT 2014

Powered by FUDForum. Page generated in 0.12302 seconds