Testsuite: org.apache.tomcat.websocket.TestWsRemoteEndpoint Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.926 sec ------------- Standard Error ----------------- 04-Dec-2024 19:46:01.312 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriterZeroLengthAnnotation] 04-Dec-2024 19:46:02.612 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 04-Dec-2024 19:46:02.707 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2024 19:46:02.710 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 04-Dec-2024 19:46:03.089 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-39681"] 04-Dec-2024 19:46:03.307 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-39681"] 04-Dec-2024 19:46:03.318 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2024 19:46:03.365 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-39681"] 04-Dec-2024 19:46:03.374 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-39681"] 04-Dec-2024 19:46:03.388 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriterAnnotation] 04-Dec-2024 19:46:03.391 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 04-Dec-2024 19:46:03.392 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2024 19:46:03.392 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 04-Dec-2024 19:46:03.398 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-44277"] 04-Dec-2024 19:46:03.483 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-44277"] 04-Dec-2024 19:46:03.485 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2024 19:46:03.489 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-44277"] 04-Dec-2024 19:46:03.493 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-44277"] 04-Dec-2024 19:46:03.495 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriterProgrammatic] 04-Dec-2024 19:46:03.499 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-3"] 04-Dec-2024 19:46:03.500 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2024 19:46:03.500 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 04-Dec-2024 19:46:03.505 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-3-37335"] 04-Dec-2024 19:46:03.548 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-3-37335"] 04-Dec-2024 19:46:03.554 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2024 19:46:03.558 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-3-exec-3] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.base/jdk.internal.event.SocketReadEvent.enabled(SocketReadEvent.java:92) java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:492) org.apache.tomcat.util.net.NioChannel.read(NioChannel.java:147) org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1296) org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.read(NioEndpoint.java:1186) org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:74) 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) 04-Dec-2024 19:46:03.560 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-3-37335"] 04-Dec-2024 19:46:03.563 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-3-37335"] 04-Dec-2024 19:46:03.570 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testStreamProgrammatic] 04-Dec-2024 19:46:03.572 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-4"] 04-Dec-2024 19:46:03.573 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2024 19:46:03.574 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 04-Dec-2024 19:46:03.581 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-4-35909"] 04-Dec-2024 19:46:03.620 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-4-35909"] 04-Dec-2024 19:46:03.622 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2024 19:46:03.631 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-4-35909"] 04-Dec-2024 19:46:03.645 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-4-35909"] 04-Dec-2024 19:46:03.646 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriterErrorProgrammatic] 04-Dec-2024 19:46:03.648 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-5"] 04-Dec-2024 19:46:03.649 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2024 19:46:03.650 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 04-Dec-2024 19:46:03.664 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-5-41501"] 04-Dec-2024 19:46:03.747 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-5-41501"] 04-Dec-2024 19:46:03.748 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2024 19:46:03.753 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-5-41501"] 04-Dec-2024 19:46:03.755 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-5-41501"] 04-Dec-2024 19:46:03.764 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriterZeroLengthProgrammatic] 04-Dec-2024 19:46:03.766 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-6"] 04-Dec-2024 19:46:03.767 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2024 19:46:03.767 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 04-Dec-2024 19:46:03.780 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-6-41665"] 04-Dec-2024 19:46:03.815 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-6-41665"] 04-Dec-2024 19:46:03.817 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2024 19:46:03.821 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-6-41665"] 04-Dec-2024 19:46:03.824 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-6-41665"] 04-Dec-2024 19:46:03.826 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testStreamAnnotation] 04-Dec-2024 19:46:03.831 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-7"] 04-Dec-2024 19:46:03.831 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2024 19:46:03.832 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 04-Dec-2024 19:46:03.837 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-7-33321"] 04-Dec-2024 19:46:03.879 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-7-33321"] 04-Dec-2024 19:46:03.883 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2024 19:46:03.885 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-7-33321"] 04-Dec-2024 19:46:03.888 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-7-33321"] 04-Dec-2024 19:46:03.890 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriterErrorAnnotation] 04-Dec-2024 19:46:03.892 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-8"] 04-Dec-2024 19:46:03.892 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Dec-2024 19:46:03.893 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 04-Dec-2024 19:46:03.902 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-8-44307"] 04-Dec-2024 19:46:03.983 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-8-44307"] 04-Dec-2024 19:46:03.984 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Dec-2024 19:46:03.987 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-8-44307"] 04-Dec-2024 19:46:03.989 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-8-44307"] ------------- ---------------- --------------- Testcase: testWriterZeroLengthAnnotation took 2.234 sec Testcase: testWriterAnnotation took 0.106 sec Testcase: testWriterProgrammatic took 0.074 sec Testcase: testStreamProgrammatic took 0.077 sec Testcase: testWriterErrorProgrammatic took 0.111 sec Testcase: testWriterZeroLengthProgrammatic took 0.063 sec Testcase: testStreamAnnotation took 0.063 sec Testcase: testWriterErrorAnnotation took 0.1 sec