Testsuite: org.apache.tomcat.websocket.TestWsRemoteEndpoint Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.92 sec ------------- Standard Error ----------------- 08-Nov-2024 14:55:09.957 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriterZeroLengthAnnotation] 08-Nov-2024 14:55:10.946 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 08-Nov-2024 14:55:10.990 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 14:55:10.990 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 08-Nov-2024 14:55:11.292 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-43743"] 08-Nov-2024 14:55:11.561 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-43743"] 08-Nov-2024 14:55:11.564 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 14:55:11.592 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-43743"] 08-Nov-2024 14:55:11.600 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-43743"] 08-Nov-2024 14:55:11.624 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriterAnnotation] 08-Nov-2024 14:55:11.627 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 08-Nov-2024 14:55:11.628 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 14:55:11.628 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 08-Nov-2024 14:55:11.651 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-36637"] 08-Nov-2024 14:55:11.759 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-36637"] 08-Nov-2024 14:55:11.763 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 14:55:11.768 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [http-nio-127.0.0.1-auto-2-exec-2] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.base/java.nio.ByteBuffer.position(ByteBuffer.java:1557) org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:73) org.apache.tomcat.websocket.server.WsFrameServer.doOnDataAvailable(WsFrameServer.java:184) org.apache.tomcat.websocket.server.WsFrameServer.notifyDataAvailable(WsFrameServer.java:164) org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:152) org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:60) org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:57) org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:905) org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1746) org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1148) org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) java.base/java.lang.Thread.run(Thread.java:1570) 08-Nov-2024 14:55:11.773 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-36637"] 08-Nov-2024 14:55:11.784 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-36637"] 08-Nov-2024 14:55:11.786 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriterProgrammatic] 08-Nov-2024 14:55:11.793 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 08-Nov-2024 14:55:11.794 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 14:55:11.794 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 08-Nov-2024 14:55:11.808 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-37581"] 08-Nov-2024 14:55:11.869 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-37581"] 08-Nov-2024 14:55:11.870 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 14:55:11.875 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-37581"] 08-Nov-2024 14:55:11.878 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-37581"] 08-Nov-2024 14:55:11.880 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testStreamProgrammatic] 08-Nov-2024 14:55:11.887 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 08-Nov-2024 14:55:11.888 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 14:55:11.888 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 08-Nov-2024 14:55:11.894 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-34957"] 08-Nov-2024 14:55:12.000 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-34957"] 08-Nov-2024 14:55:12.003 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 14:55:12.010 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-34957"] 08-Nov-2024 14:55:12.013 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-34957"] 08-Nov-2024 14:55:12.015 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriterErrorProgrammatic] 08-Nov-2024 14:55:12.021 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 08-Nov-2024 14:55:12.021 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 14:55:12.022 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 08-Nov-2024 14:55:12.040 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-38493"] 08-Nov-2024 14:55:12.115 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-38493"] 08-Nov-2024 14:55:12.119 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 14:55:12.140 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-38493"] 08-Nov-2024 14:55:12.150 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-38493"] 08-Nov-2024 14:55:12.154 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriterZeroLengthProgrammatic] 08-Nov-2024 14:55:12.157 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 08-Nov-2024 14:55:12.162 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 14:55:12.167 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 08-Nov-2024 14:55:12.189 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-45065"] 08-Nov-2024 14:55:12.293 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-45065"] 08-Nov-2024 14:55:12.296 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 14:55:12.308 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-45065"] 08-Nov-2024 14:55:12.321 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-45065"] 08-Nov-2024 14:55:12.323 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testStreamAnnotation] 08-Nov-2024 14:55:12.325 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 08-Nov-2024 14:55:12.325 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 14:55:12.326 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 08-Nov-2024 14:55:12.340 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-36477"] 08-Nov-2024 14:55:12.474 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-36477"] 08-Nov-2024 14:55:12.480 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 14:55:12.484 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-36477"] 08-Nov-2024 14:55:12.489 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-36477"] 08-Nov-2024 14:55:12.491 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriterErrorAnnotation] 08-Nov-2024 14:55:12.493 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 08-Nov-2024 14:55:12.500 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 08-Nov-2024 14:55:12.500 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 08-Nov-2024 14:55:12.515 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-37497"] 08-Nov-2024 14:55:12.644 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-37497"] 08-Nov-2024 14:55:12.645 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 08-Nov-2024 14:55:12.648 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-37497"] 08-Nov-2024 14:55:12.654 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-37497"] ------------- ---------------- --------------- Testcase: testWriterZeroLengthAnnotation took 1.799 sec Testcase: testWriterAnnotation took 0.178 sec Testcase: testWriterProgrammatic took 0.094 sec Testcase: testStreamProgrammatic took 0.135 sec Testcase: testWriterErrorProgrammatic took 0.137 sec Testcase: testWriterZeroLengthProgrammatic took 0.17 sec Testcase: testStreamAnnotation took 0.169 sec Testcase: testWriterErrorAnnotation took 0.165 sec