On 01/09/2012 11:01 AM, Kaya Saman wrote:
Hi,
just checked through my logs and found this:
SEVERE: The web application [/xwiki] created a ThreadLocal with key of
type [org.apache.log4j.helpers.ThreadLocalMap] (value
[org.apache.log4j.helpers.ThreadLocalMap@2ff7ac92]) and a value of type
[java.util.Hashtable] (value
[{url=http://wiki.optiplex-networks.com/xwiki/bin/export/XWiki/ResetPasswordRequestClass?format=xar&name=XWiki.ResetPasswordRequestClass&pages=XWiki.ResetPasswordRequestClass}])
but failed to remove it when the web application was stopped. This is
very likely to create a memory leak.
it's probably the reason my Java instance is so unstable and hogging my
systems swap. Can anything be done to sort it?
That's not severe, it's only triggered when undeploying XWiki. When
shutting down Tomcat, it doesn't mean anything since the JVM is going to
exit anyway. The only real concern is when you redeploy the war at
runtime, through the container's management interface, and Tomcat does
handle that, it just reports it as a warning.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/