Run| Workspace| Log| Issues| Fixes| Pre-reqs| Stats| XRef| Maven Repository Proxy Log Gump Logo

Details

File Contents

Testsuite: org.apache.tomcat.websocket.server.TestSlowClient
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.817 sec
------------- Standard Output ---------------
Received start, now sending data
------------- ---------------- ---------------
------------- Standard Error -----------------
18-Oct-2021 10:28:20.454 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSendingFromAppThread]
18-Oct-2021 10:28:20.829 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"]
18-Oct-2021 10:28:20.854 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
18-Oct-2021 10:28:20.854 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.72-dev]
18-Oct-2021 10:28:20.965 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46367"]
18-Oct-2021 10:28:26.195 WARNING [Thread-9] org.apache.tomcat.websocket.WsSession.doClose Failed to flush batched messages on session close
	java.io.IOException: java.nio.channels.ClosedChannelException
		at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:327)
		at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:262)
		at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.flushBatch(WsRemoteEndpointImplBase.java:125)
		at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.setBatchingAllowed(WsRemoteEndpointImplBase.java:112)
		at org.apache.tomcat.websocket.WsSession.doClose(WsSession.java:696)
		at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:325)
		at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:254)
		at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString(WsRemoteEndpointImplBase.java:195)
		at org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText(WsRemoteEndpointBasic.java:37)
		at org.apache.tomcat.websocket.TesterFirehoseServer$Writer.doRun(TesterFirehoseServer.java:167)
		at org.apache.tomcat.websocket.TesterFirehoseServer$Writer.run(TesterFirehoseServer.java:152)
		at java.base/java.lang.Thread.run(Thread.java:829)
	Caused by: java.nio.channels.ClosedChannelException
		at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:367)
		at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:388)
		at org.apache.tomcat.util.net.Nio2Channel.write(Nio2Channel.java:166)
		at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper.doWrite(Nio2Endpoint.java:1196)
		at org.apache.tomcat.util.net.SocketWrapperBase.doWrite(SocketWrapperBase.java:718)
		at org.apache.tomcat.util.net.SocketWrapperBase.writeBlocking(SocketWrapperBase.java:538)
		at org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:482)
		at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.doWrite(WsRemoteEndpointImplServer.java:89)
		at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:451)
		at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:314)
		... 11 more
Exception in thread "Thread-9" java.lang.IllegalStateException: Message will not be sent because the WebSocket session has been closed
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:442)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:314)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:262)
	at org.apache.tomcat.websocket.WsSession.sendCloseMessage(WsSession.java:816)
	at org.apache.tomcat.websocket.WsSession.doClose(WsSession.java:704)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:325)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendMessageBlock(WsRemoteEndpointImplBase.java:254)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.sendString(WsRemoteEndpointImplBase.java:195)
	at org.apache.tomcat.websocket.WsRemoteEndpointBasic.sendText(WsRemoteEndpointBasic.java:37)
	at org.apache.tomcat.websocket.TesterFirehoseServer$Writer.doRun(TesterFirehoseServer.java:167)
	at org.apache.tomcat.websocket.TesterFirehoseServer$Writer.run(TesterFirehoseServer.java:152)
	at java.base/java.lang.Thread.run(Thread.java:829)
18-Oct-2021 10:28:41.094 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46367"]
18-Oct-2021 10:28:41.102 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
18-Oct-2021 10:28:41.114 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46367"]
18-Oct-2021 10:28:41.116 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-46367"]
------------- ---------------- ---------------

Testcase: testSendingFromAppThread took 20.79 sec

Apache Gump, Gump, Apache, the Apache feather logo, and the Apache Gump project logos are trademarks of The Apache Software Foundation.

Last Updated: Mon, 18 Oct 2021 06:00:04 ().Python Logo