Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -347,7 +347,7 @@ 347 347 348 348 == ThreadLocal Errors == 349 349 350 - Ifyou see the following error in the Tomcat logs,itusuallymeansthattheXWikiwebappwasstarted/stopped usingthe TomcatManagerandnotby starting/stopping Tomcatitself(i.e.thestarting/stopping the JVM). Thisis a[[known limitationthat needstobefixed>>https://jira.xwiki.org/browse/XWIKI-9055]].350 +When you stop XWiki you may see the following type of errors in the Tomcat logs. This is a [[known limitation of XWiki in cleaning up some ThreadLocal variables>>https://jira.xwiki.org/browse/XWIKI-9055]]. To be safe, we recommend that you stop XWiki by stopping Tomcat (i.e. stopping the Tomcat JVM). This ensures that there won't be any memory leak related to these ThreadLocal variables. If you use the Tomcat Manager to stop the XWiki webapp (by undeploying it), then we recommend to not do that and instead to stop Tomcat and restart it. 351 351 352 352 {{code language="none"}} 353 353 SEVERE [Thread-794] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [...] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1125fc78]) and a value of type [...] (value [...]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.