Changes for page Tomcat Installation

Last modified by Thomas Mortagne on 2023/12/01

<
From version < 59.1 >
edited by Vincent Massol
on 2021/01/21
To version < 60.1 >
edited by Vincent Massol
on 2021/01/21
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -347,7 +347,7 @@
347 347  
348 348  == ThreadLocal Errors ==
349 349  
350 -If you see the following error in the Tomcat logs, it usually means that the XWiki webapp was started/stopped using the Tomcat Manager and not by starting/stopping Tomcat itself (i.e. the starting/stopping the JVM). This is a [[known limitation that needs to be fixed>>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.

Get Connected