Hi everyone,
I am trying to run XWiki in a Docker environment (RH8 - Docker 27.2.0). I have followed the deployment guide, after starting XWiki without problems after four or five hours the XWiki application stops unexpectedly unlike the Mysql application keeps running correctly and without problem.
The logs for the Xwiki app is:
WARNING [Thread-20] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [searcherExecutor-21-thread-1] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.base@17.0.12/jdk.internal.misc.Unsafe.park(Native Method)
java.base@17.0.12/java.util.concurrent.locks.LockSupport.park(Unknown Source)
java.base@17.0.12/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(Unknown Source)
java.base@17.0.12/java.util.concurrent.ForkJoinPool.unmanagedBlock(Unknown Source)
java.base@17.0.12/java.util.concurrent.ForkJoinPool.managedBlock(Unknown Source)
java.base@17.0.12/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
java.base@17.0.12/java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
java.base@17.0.12/java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
java.base@17.0.12/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.base@17.0.12/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.base@17.0.12/java.lang.Thread.run(Unknown Source)
SEVERE [Thread-20] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [ROOT] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@5a2876ce]) and a value of type [org.codehaus.plexus.classworlds.realm.ClassRealm] (value [ClassRealm[plexus.core, parent: null]]) 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.
22-Oct-2024 23:50:29.164 SEVERE [Thread-20] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [ROOT] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@4dfbb199]) and a value of type [org.restlet.ext.jaxrs.internal.core.MatchedInfo] (value [org.restlet.ext.jaxrs.internal.core.MatchedInfo@691137f9]) 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.
Thank you in advance for your valuable help.