Testsuite: org.apache.catalina.loader.TestWebappClassLoaderMemoryLeak Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.394 sec ------------- Standard Error ----------------- 24-Jan-2024 16:55:10.514 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testTimerThreadLeak] 24-Jan-2024 16:55:11.695 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 24-Jan-2024 16:55:11.769 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 24-Jan-2024 16:55:11.778 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.86-dev] 24-Jan-2024 16:55:11.995 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-44315"] 24-Jan-2024 16:55:12.267 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesStopTimerThread The web application [ROOT] appears to have started a TimerThread named [leaked-thread] via the java.util.Timer API but has failed to stop it. To prevent a memory leak, the timer (and hence the associated thread) has been forcibly canceled. 24-Jan-2024 16:55:12.288 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-44315"] 24-Jan-2024 16:55:12.290 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 24-Jan-2024 16:55:12.291 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-44315"] 24-Jan-2024 16:55:12.295 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-44315"] ------------- ---------------- --------------- Testcase: testTimerThreadLeak took 2.262 sec