Testsuite: org.apache.tomcat.websocket.TestWsRemoteEndpoint Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 68.638 sec ------------- Standard Error ----------------- 05-Dec-2024 10:03:09.208 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriterZeroLengthAnnotation] 05-Dec-2024 10:03:10.183 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"] 05-Dec-2024 10:03:10.247 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Dec-2024 10:03:10.248 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 05-Dec-2024 10:03:10.509 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40027"] 05-Dec-2024 10:03:10.779 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40027"] 05-Dec-2024 10:03:10.784 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Dec-2024 10:03:10.812 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40027"] 05-Dec-2024 10:03:10.815 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-40027"] 05-Dec-2024 10:03:10.841 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriterAnnotation] 05-Dec-2024 10:03:10.850 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"] 05-Dec-2024 10:03:10.900 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Dec-2024 10:03:10.900 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 05-Dec-2024 10:03:10.916 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40247"] 05-Dec-2024 10:03:10.972 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40247"] 05-Dec-2024 10:03:10.973 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Dec-2024 10:03:10.979 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40247"] 05-Dec-2024 10:03:10.980 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-40247"] 05-Dec-2024 10:03:10.990 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriterProgrammatic] 05-Dec-2024 10:03:10.995 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"] 05-Dec-2024 10:03:11.009 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Dec-2024 10:03:11.009 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 05-Dec-2024 10:03:11.016 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44127"] 05-Dec-2024 10:03:11.058 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44127"] 05-Dec-2024 10:03:11.059 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Dec-2024 10:03:11.063 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [http-nio2-127.0.0.1-auto-3-exec-2] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.base/java.util.concurrent.locks.ReentrantReadWriteLock$NonfairSync.readerShouldBlock(ReentrantReadWriteLock.java:693) java.base/java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryAcquireShared(ReentrantReadWriteLock.java:475) java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireShared(AbstractQueuedSynchronizer.java:1078) java.base/java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.lock(ReentrantReadWriteLock.java:738) java.base/sun.nio.ch.AsynchronousSocketChannelImpl.begin(AsynchronousSocketChannelImpl.java:117) java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.implRead(UnixAsynchronousSocketChannelImpl.java:519) java.base/sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:277) java.base/sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:298) org.apache.tomcat.util.net.Nio2Channel.read(Nio2Channel.java:156) org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper.fillReadBuffer(Nio2Endpoint.java:1159) org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper.fillReadBuffer(Nio2Endpoint.java:1126) org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper.read(Nio2Endpoint.java:948) 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.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1688) org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1422) org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:637) org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:613) java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:125) java.base/sun.nio.ch.Invoker$1.run(Invoker.java:217) java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113) 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) 05-Dec-2024 10:03:11.066 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44127"] 05-Dec-2024 10:03:11.066 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44127"] 05-Dec-2024 10:03:11.070 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testStreamProgrammatic] 05-Dec-2024 10:03:11.072 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"] 05-Dec-2024 10:03:11.098 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Dec-2024 10:03:11.098 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 05-Dec-2024 10:03:11.116 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-33201"] 05-Dec-2024 10:03:11.180 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-33201"] 05-Dec-2024 10:03:11.183 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Dec-2024 10:03:11.187 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-33201"] 05-Dec-2024 10:03:11.188 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-33201"] 05-Dec-2024 10:03:11.194 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriterErrorProgrammatic] 05-Dec-2024 10:03:11.197 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"] 05-Dec-2024 10:03:11.248 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Dec-2024 10:03:11.249 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 05-Dec-2024 10:03:11.258 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43377"] 05-Dec-2024 10:03:11.321 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43377"] 05-Dec-2024 10:03:11.324 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Dec-2024 10:03:11.330 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43377"] 05-Dec-2024 10:03:47.329 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-43377"] 05-Dec-2024 10:03:47.331 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriterZeroLengthProgrammatic] 05-Dec-2024 10:03:47.333 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"] 05-Dec-2024 10:03:47.335 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Dec-2024 10:03:47.335 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 05-Dec-2024 10:03:47.339 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45081"] 05-Dec-2024 10:03:47.347 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45081"] 05-Dec-2024 10:03:47.347 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Dec-2024 10:03:47.350 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45081"] 05-Dec-2024 10:04:17.462 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45081"] 05-Dec-2024 10:04:17.464 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testStreamAnnotation] 05-Dec-2024 10:04:17.466 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"] 05-Dec-2024 10:04:17.469 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Dec-2024 10:04:17.469 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 05-Dec-2024 10:04:17.473 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-46723"] 05-Dec-2024 10:04:17.490 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-46723"] 05-Dec-2024 10:04:17.491 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Dec-2024 10:04:17.494 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-46723"] 05-Dec-2024 10:04:17.496 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-46723"] 05-Dec-2024 10:04:17.499 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriterErrorAnnotation] 05-Dec-2024 10:04:17.500 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"] 05-Dec-2024 10:04:17.503 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 05-Dec-2024 10:04:17.503 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/11.0.2-dev] 05-Dec-2024 10:04:17.509 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41683"] 05-Dec-2024 10:04:17.566 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41683"] 05-Dec-2024 10:04:17.567 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 05-Dec-2024 10:04:17.570 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41683"] 05-Dec-2024 10:04:17.572 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41683"] ------------- ---------------- --------------- Testcase: testWriterZeroLengthAnnotation took 1.808 sec Testcase: testWriterAnnotation took 0.155 sec Testcase: testWriterProgrammatic took 0.079 sec Testcase: testStreamProgrammatic took 0.123 sec Testcase: testWriterErrorProgrammatic took 36.139 sec Testcase: testWriterZeroLengthProgrammatic took 30.133 sec Testcase: testStreamAnnotation took 0.034 sec Testcase: testWriterErrorAnnotation took 0.077 sec