Testsuite: org.apache.tomcat.websocket.TestWsWebSocketContainerTimeoutClient Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.167 sec ------------- Standard Error ----------------- 04-Jul-2024 14:18:15.328 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriteTimeoutClientEndpoint] 04-Jul-2024 14:18:15.776 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"] 04-Jul-2024 14:18:15.802 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Jul-2024 14:18:15.802 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 04-Jul-2024 14:18:15.931 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-35063"] 04-Jul-2024 14:18:21.240 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-35063"] 04-Jul-2024 14:18:21.242 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Jul-2024 14:18:21.254 SEVERE [http-nio-127.0.0.1-auto-1-exec-3] org.apache.tomcat.websocket.pojo.PojoEndpointBase.onError No error handling configured for [org.apache.tomcat.websocket.TestWsWebSocketContainer$BlockingPojo] and the following error occurred java.net.SocketException: Connection reset at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:394) at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:426) at org.apache.tomcat.util.net.NioChannel.read(NioChannel.java:147) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1291) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1244) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.read(NioEndpoint.java:1188) at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:74) at org.apache.tomcat.websocket.server.WsFrameServer.doOnDataAvailable(WsFrameServer.java:184) at org.apache.tomcat.websocket.server.WsFrameServer.notifyDataAvailable(WsFrameServer.java:164) at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:152) at org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:60) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:57) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:904) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 04-Jul-2024 14:18:21.255 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-1-exec-3] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.base@17.0.7/java.lang.StackTraceElement.initStackTraceElements(Native Method) java.base@17.0.7/java.lang.StackTraceElement.of(StackTraceElement.java:541) java.base@17.0.7/java.lang.Throwable.getOurStackTrace(Throwable.java:839) java.base@17.0.7/java.lang.Throwable.printStackTrace(Throwable.java:671) java.base@17.0.7/java.lang.Throwable.printStackTrace(Throwable.java:736) app//org.apache.juli.OneLineFormatter.format(OneLineFormatter.java:160) java.logging@17.0.7/java.util.logging.StreamHandler.publish(StreamHandler.java:199) java.logging@17.0.7/java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:95) java.logging@17.0.7/java.util.logging.Logger.log(Logger.java:980) java.logging@17.0.7/java.util.logging.Logger.doLog(Logger.java:1007) java.logging@17.0.7/java.util.logging.Logger.logp(Logger.java:1284) app//org.apache.juli.logging.DirectJDKLog.log(DirectJDKLog.java:175) app//org.apache.juli.logging.DirectJDKLog.error(DirectJDKLog.java:141) app//org.apache.tomcat.websocket.pojo.PojoEndpointBase.onError(PojoEndpointBase.java:123) app//org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.onError(WsHttpUpgradeHandler.java:234) app//org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:156) app//org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:60) app//org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:57) app//org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:904) app//org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) app//org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) app//org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) app//org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) app//org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) java.base@17.0.7/java.lang.Thread.run(Thread.java:833) 04-Jul-2024 14:18:21.260 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-35063"] 04-Jul-2024 14:18:21.265 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-35063"] 04-Jul-2024 14:18:21.271 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testWriteTimeoutClientContainer] 04-Jul-2024 14:18:21.273 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"] 04-Jul-2024 14:18:21.273 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat] 04-Jul-2024 14:18:21.274 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.1.26-dev] 04-Jul-2024 14:18:21.279 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-46177"] 04-Jul-2024 14:18:26.373 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-46177"] 04-Jul-2024 14:18:26.374 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat] 04-Jul-2024 14:18:26.376 SEVERE [http-nio-127.0.0.1-auto-2-exec-2] org.apache.tomcat.websocket.pojo.PojoEndpointBase.onError No error handling configured for [org.apache.tomcat.websocket.TestWsWebSocketContainer$BlockingPojo] and the following error occurred java.net.SocketException: Connection reset at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:394) at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:426) at org.apache.tomcat.util.net.NioChannel.read(NioChannel.java:147) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1291) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.fillReadBuffer(NioEndpoint.java:1244) at org.apache.tomcat.util.net.NioEndpoint$NioSocketWrapper.read(NioEndpoint.java:1188) at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:74) at org.apache.tomcat.websocket.server.WsFrameServer.doOnDataAvailable(WsFrameServer.java:184) at org.apache.tomcat.websocket.server.WsFrameServer.notifyDataAvailable(WsFrameServer.java:164) at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:152) at org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:60) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:57) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:904) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:833) 04-Jul-2024 14:18:26.378 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@17.0.7/java.text.SimpleDateFormat.encode(SimpleDateFormat.java:890) java.base@17.0.7/java.text.SimpleDateFormat.compile(SimpleDateFormat.java:869) java.base@17.0.7/java.text.SimpleDateFormat.initialize(SimpleDateFormat.java:657) java.base@17.0.7/java.text.SimpleDateFormat.(SimpleDateFormat.java:628) app//org.apache.juli.DateFormatCache$Cache.(DateFormatCache.java:124) app//org.apache.juli.DateFormatCache.(DateFormatCache.java:90) app//org.apache.juli.OneLineFormatter.lambda$setTimeFormat$1(OneLineFormatter.java:105) app//org.apache.juli.OneLineFormatter$$Lambda$53/0x0000000801028000.get(Unknown Source) java.base@17.0.7/java.lang.ThreadLocal$SuppliedThreadLocal.initialValue(ThreadLocal.java:305) java.base@17.0.7/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:195) java.base@17.0.7/java.lang.ThreadLocal.get(ThreadLocal.java:172) app//org.apache.juli.OneLineFormatter.addTimestamp(OneLineFormatter.java:169) app//org.apache.juli.OneLineFormatter.format(OneLineFormatter.java:124) java.logging@17.0.7/java.util.logging.StreamHandler.publish(StreamHandler.java:199) java.logging@17.0.7/java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:95) java.logging@17.0.7/java.util.logging.Logger.log(Logger.java:980) java.logging@17.0.7/java.util.logging.Logger.doLog(Logger.java:1007) java.logging@17.0.7/java.util.logging.Logger.logp(Logger.java:1284) app//org.apache.juli.logging.DirectJDKLog.log(DirectJDKLog.java:175) app//org.apache.juli.logging.DirectJDKLog.error(DirectJDKLog.java:141) app//org.apache.tomcat.websocket.pojo.PojoEndpointBase.onError(PojoEndpointBase.java:123) app//org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.onError(WsHttpUpgradeHandler.java:234) app//org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.upgradeDispatch(WsHttpUpgradeHandler.java:156) app//org.apache.coyote.http11.upgrade.UpgradeProcessorInternal.dispatch(UpgradeProcessorInternal.java:60) app//org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:57) app//org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:904) app//org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741) app//org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) app//org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) app//org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) app//org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) java.base@17.0.7/java.lang.Thread.run(Thread.java:833) 04-Jul-2024 14:18:26.380 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-46177"] 04-Jul-2024 14:18:26.383 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-46177"] ------------- ---------------- --------------- Testcase: testWriteTimeoutClientEndpoint took 6.015 sec Testcase: testWriteTimeoutClientContainer took 5.114 sec