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

Details

File Contents

Testsuite: org.apache.tomcat.websocket.server.TestClose
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.196 sec
------------- Standard Error -----------------
Mar 26, 2019 5:06:11 AM org.apache.catalina.startup.LoggingBaseTest setUp
INFO: Starting test case [testTcpCloseInOnMessage]
Mar 26, 2019 5:06:11 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Loaded APR based Apache Tomcat Native library 1.2.22 using APR version 1.7.0.
Mar 26, 2019 5:06:11 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Mar 26, 2019 5:06:11 AM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 1.0.2s-dev  xx XXX xxxx)
Mar 26, 2019 5:06:12 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-1"]
Mar 26, 2019 5:06:12 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Mar 26, 2019 5:06:12 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.94-dev
Mar 26, 2019 5:06:12 AM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Mar 26, 2019 5:06:12 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-apr-127.0.0.1-auto-1-40203"]
Mar 26, 2019 5:06:12 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onOpen
INFO: Session opened
Mar 26, 2019 5:06:12 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onMessage
INFO: Message received: Test
Mar 26, 2019 5:06:12 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onError
INFO: onError
java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: Unexpected error [32] writing data to the APR/native socket [140,085,324,441,936] with wrapper [org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper@6e530e62:140085324441936].
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:286)
	at org.apache.tomcat.websocket.WsSession.sendCloseMessage(WsSession.java:592)
	at org.apache.tomcat.websocket.WsSession.doClose(WsSession.java:483)
	at org.apache.tomcat.websocket.WsSession.doClose(WsSession.java:445)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.onError(WsHttpUpgradeHandler.java:159)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.access$300(WsHttpUpgradeHandler.java:47)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onError(WsHttpUpgradeHandler.java:223)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onDataAvailable(WsHttpUpgradeHandler.java:206)
	at org.apache.coyote.http11.upgrade.AbstractServletInputStream.onDataAvailable(AbstractServletInputStream.java:203)
	at org.apache.coyote.http11.upgrade.AbstractProcessor.upgradeDispatch(AbstractProcessor.java:94)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:635)
	at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2512)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Unexpected error [32] writing data to the APR/native socket [140,085,324,441,936] with wrapper [org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper@6e530e62:140085324441936].
	at org.apache.tomcat.websocket.FutureToSendHandler.get(FutureToSendHandler.java:120)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:281)
	... 15 more
Caused by: java.io.IOException: Unexpected error [32] writing data to the APR/native socket [140,085,324,441,936] with wrapper [org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper@6e530e62:140085324441936].
	at org.apache.coyote.http11.upgrade.AprServletOutputStream.doWriteInternal(AprServletOutputStream.java:144)
	at org.apache.coyote.http11.upgrade.AprServletOutputStream.doWrite(AprServletOutputStream.java:70)
	at org.apache.coyote.http11.upgrade.AbstractServletOutputStream.writeInternal(AbstractServletOutputStream.java:153)
	at org.apache.coyote.http11.upgrade.AbstractServletOutputStream.write(AbstractServletOutputStream.java:121)
	at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.onWritePossible(WsRemoteEndpointImplServer.java:94)
	at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.doWrite(WsRemoteEndpointImplServer.java:81)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:456)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessage(WsRemoteEndpointImplBase.java:344)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:276)
	... 15 more

Mar 26, 2019 5:06:12 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onClose
INFO: onClose: CloseReason: code [1006], reason [The client aborted the connection.]
Mar 26, 2019 5:06:12 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-1-40203"]
Mar 26, 2019 5:06:12 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onError
INFO: onError
java.io.EOFException: The client aborted the connection.
	at org.apache.coyote.http11.upgrade.AprServletInputStream.doRead(AprServletInputStream.java:110)
	at org.apache.coyote.http11.upgrade.AbstractServletInputStream.read(AbstractServletInputStream.java:129)
	at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:56)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onDataAvailable(WsHttpUpgradeHandler.java:202)
	at org.apache.coyote.http11.upgrade.AbstractServletInputStream.onDataAvailable(AbstractServletInputStream.java:203)
	at org.apache.coyote.http11.upgrade.AbstractProcessor.upgradeDispatch(AbstractProcessor.java:94)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:635)
	at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2512)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)

Mar 26, 2019 5:06:12 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Tomcat
Mar 26, 2019 5:06:12 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-1-40203"]
Mar 26, 2019 5:06:12 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-1-40203"]
Mar 26, 2019 5:06:12 AM org.apache.catalina.startup.LoggingBaseTest setUp
INFO: Starting test case [testWsCloseThenTcpCloseWhenOnMessageSends]
Mar 26, 2019 5:06:12 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Loaded APR based Apache Tomcat Native library 1.2.22 using APR version 1.7.0.
Mar 26, 2019 5:06:12 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Mar 26, 2019 5:06:12 AM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 1.0.2s-dev  xx XXX xxxx)
Mar 26, 2019 5:06:12 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-2"]
Mar 26, 2019 5:06:12 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Mar 26, 2019 5:06:12 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.94-dev
Mar 26, 2019 5:06:12 AM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Mar 26, 2019 5:06:12 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-apr-127.0.0.1-auto-2-42644"]
Mar 26, 2019 5:06:12 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onOpen
INFO: Session opened
Mar 26, 2019 5:06:12 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onMessage
INFO: Message received: Test
Mar 26, 2019 5:06:12 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onError
INFO: onError
java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: The socket [140,084,988,889,040] associated with this connection has been closed.
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:286)
	at org.apache.tomcat.websocket.WsSession.sendCloseMessage(WsSession.java:592)
	at org.apache.tomcat.websocket.WsSession.onClose(WsSession.java:515)
	at org.apache.tomcat.websocket.WsFrameBase.processDataControl(WsFrameBase.java:348)
	at org.apache.tomcat.websocket.WsFrameBase.processData(WsFrameBase.java:290)
	at org.apache.tomcat.websocket.WsFrameBase.processInputBuffer(WsFrameBase.java:131)
	at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:67)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onDataAvailable(WsHttpUpgradeHandler.java:202)
	at org.apache.coyote.http11.upgrade.AbstractServletInputStream.onDataAvailable(AbstractServletInputStream.java:203)
	at org.apache.coyote.http11.upgrade.AbstractProcessor.upgradeDispatch(AbstractProcessor.java:94)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:635)
	at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2512)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: The socket [140,084,988,889,040] associated with this connection has been closed.
	at org.apache.tomcat.websocket.FutureToSendHandler.get(FutureToSendHandler.java:120)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:281)
	... 15 more
Caused by: java.io.IOException: The socket [140,084,988,889,040] associated with this connection has been closed.
	at org.apache.coyote.http11.upgrade.AprServletOutputStream.doWrite(AprServletOutputStream.java:61)
	at org.apache.coyote.http11.upgrade.AbstractServletOutputStream.writeInternal(AbstractServletOutputStream.java:153)
	at org.apache.coyote.http11.upgrade.AbstractServletOutputStream.write(AbstractServletOutputStream.java:121)
	at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.onWritePossible(WsRemoteEndpointImplServer.java:94)
	at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.doWrite(WsRemoteEndpointImplServer.java:81)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:456)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessage(WsRemoteEndpointImplBase.java:344)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:276)
	... 15 more

Mar 26, 2019 5:06:12 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onClose
INFO: onClose: CloseReason: code [1000], reason [null]
Mar 26, 2019 5:06:12 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-2-42644"]
Mar 26, 2019 5:06:12 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Tomcat
Mar 26, 2019 5:06:12 AM org.apache.tomcat.websocket.server.WsServerContainer destroy
WARNING: Unable to destroy WebSocket thread group [WebSocketServer-ROOT] as [1] threads were still running when the web application was stopped. The thread group will be destroyed once the threads terminate.
Mar 26, 2019 5:06:12 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [WebSocketServer-ROOT-2] but has failed to stop it. This is very likely to create a memory leak.
Mar 26, 2019 5:06:12 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-2-42644"]
Mar 26, 2019 5:06:12 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-2-42644"]
Mar 26, 2019 5:06:12 AM org.apache.catalina.startup.LoggingBaseTest setUp
INFO: Starting test case [testTcpCloseWhenOnMessageSends]
Mar 26, 2019 5:06:12 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Loaded APR based Apache Tomcat Native library 1.2.22 using APR version 1.7.0.
Mar 26, 2019 5:06:12 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Mar 26, 2019 5:06:12 AM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 1.0.2s-dev  xx XXX xxxx)
Mar 26, 2019 5:06:12 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-3"]
Mar 26, 2019 5:06:12 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Mar 26, 2019 5:06:12 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.94-dev
Mar 26, 2019 5:06:12 AM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Mar 26, 2019 5:06:12 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-apr-127.0.0.1-auto-3-56687"]
Mar 26, 2019 5:06:12 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onOpen
INFO: Session opened
Mar 26, 2019 5:06:12 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onMessage
INFO: Message received: Test
Mar 26, 2019 5:06:12 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onError
INFO: onError
java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: The socket [140,084,988,886,192] associated with this connection has been closed.
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:286)
	at org.apache.tomcat.websocket.WsSession.sendCloseMessage(WsSession.java:592)
	at org.apache.tomcat.websocket.WsSession.doClose(WsSession.java:483)
	at org.apache.tomcat.websocket.WsSession.doClose(WsSession.java:445)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.onError(WsHttpUpgradeHandler.java:159)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.access$300(WsHttpUpgradeHandler.java:47)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onError(WsHttpUpgradeHandler.java:223)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onDataAvailable(WsHttpUpgradeHandler.java:206)
	at org.apache.coyote.http11.upgrade.AbstractServletInputStream.onDataAvailable(AbstractServletInputStream.java:203)
	at org.apache.coyote.http11.upgrade.AbstractProcessor.upgradeDispatch(AbstractProcessor.java:94)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:635)
	at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2512)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: The socket [140,084,988,886,192] associated with this connection has been closed.
	at org.apache.tomcat.websocket.FutureToSendHandler.get(FutureToSendHandler.java:120)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:281)
	... 15 more
Caused by: java.io.IOException: The socket [140,084,988,886,192] associated with this connection has been closed.
	at org.apache.coyote.http11.upgrade.AprServletOutputStream.doWrite(AprServletOutputStream.java:61)
	at org.apache.coyote.http11.upgrade.AbstractServletOutputStream.writeInternal(AbstractServletOutputStream.java:153)
	at org.apache.coyote.http11.upgrade.AbstractServletOutputStream.write(AbstractServletOutputStream.java:121)
	at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.onWritePossible(WsRemoteEndpointImplServer.java:94)
	at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.doWrite(WsRemoteEndpointImplServer.java:81)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:456)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessage(WsRemoteEndpointImplBase.java:344)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:276)
	... 15 more

Mar 26, 2019 5:06:12 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onClose
INFO: onClose: CloseReason: code [1006], reason [The client aborted the connection.]
Mar 26, 2019 5:06:12 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onError
INFO: onError
java.io.EOFException: The client aborted the connection.
	at org.apache.coyote.http11.upgrade.AprServletInputStream.doRead(AprServletInputStream.java:110)
	at org.apache.coyote.http11.upgrade.AbstractServletInputStream.read(AbstractServletInputStream.java:129)
	at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:56)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onDataAvailable(WsHttpUpgradeHandler.java:202)
	at org.apache.coyote.http11.upgrade.AbstractServletInputStream.onDataAvailable(AbstractServletInputStream.java:203)
	at org.apache.coyote.http11.upgrade.AbstractProcessor.upgradeDispatch(AbstractProcessor.java:94)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:635)
	at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2512)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)

Mar 26, 2019 5:06:12 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-3-56687"]
Mar 26, 2019 5:06:12 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Tomcat
Mar 26, 2019 5:06:12 AM org.apache.tomcat.websocket.server.WsServerContainer destroy

Continuation...

WARNING: Unable to destroy WebSocket thread group [WebSocketServer-ROOT] as [1] threads were still running when the web application was stopped. The thread group will be destroyed once the threads terminate.
Mar 26, 2019 5:06:12 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [WebSocketServer-ROOT-2] but has failed to stop it. This is very likely to create a memory leak.
Mar 26, 2019 5:06:12 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-3-56687"]
Mar 26, 2019 5:06:12 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-3-56687"]
Mar 26, 2019 5:06:12 AM org.apache.catalina.startup.LoggingBaseTest setUp
INFO: Starting test case [testWsCloseThenTcpClose]
Mar 26, 2019 5:06:12 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Loaded APR based Apache Tomcat Native library 1.2.22 using APR version 1.7.0.
Mar 26, 2019 5:06:12 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Mar 26, 2019 5:06:12 AM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 1.0.2s-dev  xx XXX xxxx)
Mar 26, 2019 5:06:12 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-4"]
Mar 26, 2019 5:06:12 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Mar 26, 2019 5:06:12 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.94-dev
Mar 26, 2019 5:06:13 AM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-apr-127.0.0.1-auto-4-52074"]
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onOpen
INFO: Session opened
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onError
INFO: onError
java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: Unexpected error [32] writing data to the APR/native socket [140,084,988,886,192] with wrapper [org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper@310bae2a:140084988886192].
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:286)
	at org.apache.tomcat.websocket.WsSession.sendCloseMessage(WsSession.java:592)
	at org.apache.tomcat.websocket.WsSession.onClose(WsSession.java:515)
	at org.apache.tomcat.websocket.WsFrameBase.processDataControl(WsFrameBase.java:348)
	at org.apache.tomcat.websocket.WsFrameBase.processData(WsFrameBase.java:290)
	at org.apache.tomcat.websocket.WsFrameBase.processInputBuffer(WsFrameBase.java:131)
	at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:67)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onDataAvailable(WsHttpUpgradeHandler.java:202)
	at org.apache.coyote.http11.upgrade.AbstractServletInputStream.onDataAvailable(AbstractServletInputStream.java:203)
	at org.apache.coyote.http11.upgrade.AbstractProcessor.upgradeDispatch(AbstractProcessor.java:94)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:635)
	at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2512)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Unexpected error [32] writing data to the APR/native socket [140,084,988,886,192] with wrapper [org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper@310bae2a:140084988886192].
	at org.apache.tomcat.websocket.FutureToSendHandler.get(FutureToSendHandler.java:120)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:281)
	... 15 more
Caused by: java.io.IOException: Unexpected error [32] writing data to the APR/native socket [140,084,988,886,192] with wrapper [org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper@310bae2a:140084988886192].
	at org.apache.coyote.http11.upgrade.AprServletOutputStream.doWriteInternal(AprServletOutputStream.java:144)
	at org.apache.coyote.http11.upgrade.AprServletOutputStream.doWrite(AprServletOutputStream.java:70)
	at org.apache.coyote.http11.upgrade.AbstractServletOutputStream.writeInternal(AbstractServletOutputStream.java:153)
	at org.apache.coyote.http11.upgrade.AbstractServletOutputStream.write(AbstractServletOutputStream.java:121)
	at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.onWritePossible(WsRemoteEndpointImplServer.java:94)
	at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.doWrite(WsRemoteEndpointImplServer.java:81)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:456)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessage(WsRemoteEndpointImplBase.java:344)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:276)
	... 15 more

Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onClose
INFO: onClose: CloseReason: code [1001], reason [null]
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-4-52074"]
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Tomcat
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.WsServerContainer destroy
WARNING: Unable to destroy WebSocket thread group [WebSocketServer-ROOT] as [1] threads were still running when the web application was stopped. The thread group will be destroyed once the threads terminate.
Mar 26, 2019 5:06:13 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [WebSocketServer-ROOT-1] but has failed to stop it. This is very likely to create a memory leak.
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-4-52074"]
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-4-52074"]
Mar 26, 2019 5:06:13 AM org.apache.catalina.startup.LoggingBaseTest setUp
INFO: Starting test case [testWsCloseThenTcpReset]
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Loaded APR based Apache Tomcat Native library 1.2.22 using APR version 1.7.0.
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 1.0.2s-dev  xx XXX xxxx)
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-5"]
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.94-dev
Mar 26, 2019 5:06:13 AM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-apr-127.0.0.1-auto-5-46079"]
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onOpen
INFO: Session opened
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onError
INFO: onError
java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: Unexpected error [104] writing data to the APR/native socket [140,084,788,450,240] with wrapper [org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper@5af4d941:140084788450240].
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:286)
	at org.apache.tomcat.websocket.WsSession.sendCloseMessage(WsSession.java:592)
	at org.apache.tomcat.websocket.WsSession.onClose(WsSession.java:515)
	at org.apache.tomcat.websocket.WsFrameBase.processDataControl(WsFrameBase.java:348)
	at org.apache.tomcat.websocket.WsFrameBase.processData(WsFrameBase.java:290)
	at org.apache.tomcat.websocket.WsFrameBase.processInputBuffer(WsFrameBase.java:131)
	at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:67)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onDataAvailable(WsHttpUpgradeHandler.java:202)
	at org.apache.coyote.http11.upgrade.AbstractServletInputStream.onDataAvailable(AbstractServletInputStream.java:203)
	at org.apache.coyote.http11.upgrade.AbstractProcessor.upgradeDispatch(AbstractProcessor.java:94)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:635)
	at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2512)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Unexpected error [104] writing data to the APR/native socket [140,084,788,450,240] with wrapper [org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper@5af4d941:140084788450240].
	at org.apache.tomcat.websocket.FutureToSendHandler.get(FutureToSendHandler.java:120)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:281)
	... 15 more
Caused by: java.io.IOException: Unexpected error [104] writing data to the APR/native socket [140,084,788,450,240] with wrapper [org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper@5af4d941:140084788450240].
	at org.apache.coyote.http11.upgrade.AprServletOutputStream.doWriteInternal(AprServletOutputStream.java:144)
	at org.apache.coyote.http11.upgrade.AprServletOutputStream.doWrite(AprServletOutputStream.java:70)
	at org.apache.coyote.http11.upgrade.AbstractServletOutputStream.writeInternal(AbstractServletOutputStream.java:153)
	at org.apache.coyote.http11.upgrade.AbstractServletOutputStream.write(AbstractServletOutputStream.java:121)
	at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.onWritePossible(WsRemoteEndpointImplServer.java:94)
	at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.doWrite(WsRemoteEndpointImplServer.java:81)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:456)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessage(WsRemoteEndpointImplBase.java:344)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:276)
	... 15 more

Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onClose
INFO: onClose: CloseReason: code [1001], reason [null]
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-5-46079"]
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Tomcat
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.WsServerContainer destroy
WARNING: Unable to destroy WebSocket thread group [WebSocketServer-ROOT] as [1] threads were still running when the web application was stopped. The thread group will be destroyed once the threads terminate.
Mar 26, 2019 5:06:13 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [WebSocketServer-ROOT-1] but has failed to stop it. This is very likely to create a memory leak.
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-5-46079"]
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-5-46079"]
Mar 26, 2019 5:06:13 AM org.apache.catalina.startup.LoggingBaseTest setUp
INFO: Starting test case [testWsCloseThenTcpResetWhenOnMessageSends]
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Loaded APR based Apache Tomcat Native library 1.2.22 using APR version 1.7.0.
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 1.0.2s-dev  xx XXX xxxx)
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-6"]
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.94-dev
Mar 26, 2019 5:06:13 AM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-apr-127.0.0.1-auto-6-46259"]
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onOpen
INFO: Session opened
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onMessage
INFO: Message received: Test
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onError
INFO: onError
java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: The socket [140,084,788,476,624] associated with this connection has been closed.
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:286)
	at org.apache.tomcat.websocket.WsSession.sendCloseMessage(WsSession.java:592)
	at org.apache.tomcat.websocket.WsSession.onClose(WsSession.java:515)
	at org.apache.tomcat.websocket.WsFrameBase.processDataControl(WsFrameBase.java:348)
	at org.apache.tomcat.websocket.WsFrameBase.processData(WsFrameBase.java:290)
	at org.apache.tomcat.websocket.WsFrameBase.processInputBuffer(WsFrameBase.java:131)
	at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:67)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onDataAvailable(WsHttpUpgradeHandler.java:202)
	at org.apache.coyote.http11.upgrade.AbstractServletInputStream.onDataAvailable(AbstractServletInputStream.java:203)
	at org.apache.coyote.http11.upgrade.AbstractProcessor.upgradeDispatch(AbstractProcessor.java:94)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:635)
	at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2512)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: The socket [140,084,788,476,624] associated with this connection has been closed.
	at org.apache.tomcat.websocket.FutureToSendHandler.get(FutureToSendHandler.java:120)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:281)
	... 15 more
Caused by: java.io.IOException: The socket [140,084,788,476,624] associated with this connection has been closed.
	at org.apache.coyote.http11.upgrade.AprServletOutputStream.doWrite(AprServletOutputStream.java:61)
	at org.apache.coyote.http11.upgrade.AbstractServletOutputStream.writeInternal(AbstractServletOutputStream.java:153)
	at org.apache.coyote.http11.upgrade.AbstractServletOutputStream.write(AbstractServletOutputStream.java:121)
	at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.onWritePossible(WsRemoteEndpointImplServer.java:94)
	at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.doWrite(WsRemoteEndpointImplServer.java:81)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:456)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessage(WsRemoteEndpointImplBase.java:344)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:276)
	... 15 more

Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onClose
INFO: onClose: CloseReason: code [1000], reason [null]
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-6-46259"]
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Tomcat
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-6-46259"]
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-6-46259"]
Mar 26, 2019 5:06:13 AM org.apache.catalina.startup.LoggingBaseTest setUp
INFO: Starting test case [testTcpResetWhenOnMessageSends]
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Loaded APR based Apache Tomcat Native library 1.2.22 using APR version 1.7.0.
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 1.0.2s-dev  xx XXX xxxx)
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-7"]
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.94-dev
Mar 26, 2019 5:06:13 AM org.apache.catalina.startup.TldConfig execute

Continuation...

INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-apr-127.0.0.1-auto-7-43264"]
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onOpen
INFO: Session opened
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onMessage
INFO: Message received: Test
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onError
INFO: onError
java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: The socket [140,084,788,522,656] associated with this connection has been closed.
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:286)
	at org.apache.tomcat.websocket.WsSession.sendCloseMessage(WsSession.java:592)
	at org.apache.tomcat.websocket.WsSession.doClose(WsSession.java:483)
	at org.apache.tomcat.websocket.WsSession.doClose(WsSession.java:445)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.onError(WsHttpUpgradeHandler.java:159)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.access$300(WsHttpUpgradeHandler.java:47)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onError(WsHttpUpgradeHandler.java:223)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onDataAvailable(WsHttpUpgradeHandler.java:206)
	at org.apache.coyote.http11.upgrade.AbstractServletInputStream.onDataAvailable(AbstractServletInputStream.java:203)
	at org.apache.coyote.http11.upgrade.AbstractProcessor.upgradeDispatch(AbstractProcessor.java:94)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:635)
	at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2512)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: The socket [140,084,788,522,656] associated with this connection has been closed.
	at org.apache.tomcat.websocket.FutureToSendHandler.get(FutureToSendHandler.java:120)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:281)
	... 15 more
Caused by: java.io.IOException: The socket [140,084,788,522,656] associated with this connection has been closed.
	at org.apache.coyote.http11.upgrade.AprServletOutputStream.doWrite(AprServletOutputStream.java:61)
	at org.apache.coyote.http11.upgrade.AbstractServletOutputStream.writeInternal(AbstractServletOutputStream.java:153)
	at org.apache.coyote.http11.upgrade.AbstractServletOutputStream.write(AbstractServletOutputStream.java:121)
	at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.onWritePossible(WsRemoteEndpointImplServer.java:94)
	at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.doWrite(WsRemoteEndpointImplServer.java:81)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:456)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessage(WsRemoteEndpointImplBase.java:344)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:276)
	... 15 more

Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onClose
INFO: onClose: CloseReason: code [1006], reason [The client aborted the connection.]
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-7-43264"]
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onError
INFO: onError
java.io.EOFException: The client aborted the connection.
	at org.apache.coyote.http11.upgrade.AprServletInputStream.doRead(AprServletInputStream.java:110)
	at org.apache.coyote.http11.upgrade.AbstractServletInputStream.read(AbstractServletInputStream.java:129)
	at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:56)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onDataAvailable(WsHttpUpgradeHandler.java:202)
	at org.apache.coyote.http11.upgrade.AbstractServletInputStream.onDataAvailable(AbstractServletInputStream.java:203)
	at org.apache.coyote.http11.upgrade.AbstractProcessor.upgradeDispatch(AbstractProcessor.java:94)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:635)
	at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2512)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)

Mar 26, 2019 5:06:13 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Tomcat
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.WsServerContainer destroy
WARNING: Unable to destroy WebSocket thread group [WebSocketServer-ROOT] as [1] threads were still running when the web application was stopped. The thread group will be destroyed once the threads terminate.
Mar 26, 2019 5:06:13 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [WebSocketServer-ROOT-2] but has failed to stop it. This is very likely to create a memory leak.
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-7-43264"]
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-7-43264"]
Mar 26, 2019 5:06:13 AM org.apache.catalina.startup.LoggingBaseTest setUp
INFO: Starting test case [testTcpResetInOnMessage]
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Loaded APR based Apache Tomcat Native library 1.2.22 using APR version 1.7.0.
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 1.0.2s-dev  xx XXX xxxx)
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-8"]
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.94-dev
Mar 26, 2019 5:06:13 AM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-apr-127.0.0.1-auto-8-35657"]
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onOpen
INFO: Session opened
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onMessage
INFO: Message received: Test
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onError
INFO: onError
java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: Unexpected error [32] writing data to the APR/native socket [140,084,988,886,192] with wrapper [org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper@5310186:140084988886192].
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:286)
	at org.apache.tomcat.websocket.WsSession.sendCloseMessage(WsSession.java:592)
	at org.apache.tomcat.websocket.WsSession.doClose(WsSession.java:483)
	at org.apache.tomcat.websocket.WsSession.doClose(WsSession.java:445)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.onError(WsHttpUpgradeHandler.java:159)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.access$300(WsHttpUpgradeHandler.java:47)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onError(WsHttpUpgradeHandler.java:223)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onDataAvailable(WsHttpUpgradeHandler.java:206)
	at org.apache.coyote.http11.upgrade.AbstractServletInputStream.onDataAvailable(AbstractServletInputStream.java:203)
	at org.apache.coyote.http11.upgrade.AbstractProcessor.upgradeDispatch(AbstractProcessor.java:94)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:635)
	at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2512)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Unexpected error [32] writing data to the APR/native socket [140,084,988,886,192] with wrapper [org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper@5310186:140084988886192].
	at org.apache.tomcat.websocket.FutureToSendHandler.get(FutureToSendHandler.java:120)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:281)
	... 15 more
Caused by: java.io.IOException: Unexpected error [32] writing data to the APR/native socket [140,084,988,886,192] with wrapper [org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper@5310186:140084988886192].
	at org.apache.coyote.http11.upgrade.AprServletOutputStream.doWriteInternal(AprServletOutputStream.java:144)
	at org.apache.coyote.http11.upgrade.AprServletOutputStream.doWrite(AprServletOutputStream.java:70)
	at org.apache.coyote.http11.upgrade.AbstractServletOutputStream.writeInternal(AbstractServletOutputStream.java:153)
	at org.apache.coyote.http11.upgrade.AbstractServletOutputStream.write(AbstractServletOutputStream.java:121)
	at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.onWritePossible(WsRemoteEndpointImplServer.java:94)
	at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.doWrite(WsRemoteEndpointImplServer.java:81)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:456)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessage(WsRemoteEndpointImplBase.java:344)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:276)
	... 15 more

Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onClose
INFO: onClose: CloseReason: code [1006], reason [Unexpected error [104] reading data from the APR/native socket [140,084,988,886,192] with wrapper [org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper@5310186:140084988886192].]
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onError
INFO: onError
java.io.IOException: Unexpected error [104] reading data from the APR/native socket [140,084,988,886,192] with wrapper [org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper@5310186:140084988886192].
	at org.apache.coyote.http11.upgrade.AprServletInputStream.doRead(AprServletInputStream.java:116)
	at org.apache.coyote.http11.upgrade.AbstractServletInputStream.read(AbstractServletInputStream.java:129)
	at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:56)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onDataAvailable(WsHttpUpgradeHandler.java:202)
	at org.apache.coyote.http11.upgrade.AbstractServletInputStream.onDataAvailable(AbstractServletInputStream.java:203)
	at org.apache.coyote.http11.upgrade.AbstractProcessor.upgradeDispatch(AbstractProcessor.java:94)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:635)
	at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2512)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)

Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-8-35657"]
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Tomcat
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.WsServerContainer destroy
WARNING: Unable to destroy WebSocket thread group [WebSocketServer-ROOT] as [1] threads were still running when the web application was stopped. The thread group will be destroyed once the threads terminate.
Mar 26, 2019 5:06:13 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [WebSocketServer-ROOT-1] but has failed to stop it. This is very likely to create a memory leak.
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-8-35657"]
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-8-35657"]
Mar 26, 2019 5:06:13 AM org.apache.catalina.startup.LoggingBaseTest setUp
INFO: Starting test case [testTcpClose]
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Loaded APR based Apache Tomcat Native library 1.2.22 using APR version 1.7.0.
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 1.0.2s-dev  xx XXX xxxx)
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-9"]
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.94-dev
Mar 26, 2019 5:06:13 AM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-apr-127.0.0.1-auto-9-53021"]
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onOpen
INFO: Session opened
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onError
INFO: onError
java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: Unexpected error [32] writing data to the APR/native socket [140,084,989,085,168] with wrapper [org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper@751952b5:140084989085168].
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:286)
	at org.apache.tomcat.websocket.WsSession.sendCloseMessage(WsSession.java:592)
	at org.apache.tomcat.websocket.WsSession.doClose(WsSession.java:483)
	at org.apache.tomcat.websocket.WsSession.doClose(WsSession.java:445)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.onError(WsHttpUpgradeHandler.java:159)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.access$300(WsHttpUpgradeHandler.java:47)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onError(WsHttpUpgradeHandler.java:223)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onDataAvailable(WsHttpUpgradeHandler.java:206)
	at org.apache.coyote.http11.upgrade.AbstractServletInputStream.onDataAvailable(AbstractServletInputStream.java:203)
	at org.apache.coyote.http11.upgrade.AbstractProcessor.upgradeDispatch(AbstractProcessor.java:94)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:635)
	at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2512)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Unexpected error [32] writing data to the APR/native socket [140,084,989,085,168] with wrapper [org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper@751952b5:140084989085168].
	at org.apache.tomcat.websocket.FutureToSendHandler.get(FutureToSendHandler.java:120)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:281)
	... 15 more
Caused by: java.io.IOException: Unexpected error [32] writing data to the APR/native socket [140,084,989,085,168] with wrapper [org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper@751952b5:140084989085168].
	at org.apache.coyote.http11.upgrade.AprServletOutputStream.doWriteInternal(AprServletOutputStream.java:144)
	at org.apache.coyote.http11.upgrade.AprServletOutputStream.doWrite(AprServletOutputStream.java:70)
	at org.apache.coyote.http11.upgrade.AbstractServletOutputStream.writeInternal(AbstractServletOutputStream.java:153)
	at org.apache.coyote.http11.upgrade.AbstractServletOutputStream.write(AbstractServletOutputStream.java:121)
	at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.onWritePossible(WsRemoteEndpointImplServer.java:94)
	at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.doWrite(WsRemoteEndpointImplServer.java:81)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:456)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessage(WsRemoteEndpointImplBase.java:344)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:276)
	... 15 more

Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onClose
INFO: onClose: CloseReason: code [1006], reason [The client aborted the connection.]
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onError
INFO: onError
java.io.EOFException: The client aborted the connection.
	at org.apache.coyote.http11.upgrade.AprServletInputStream.doRead(AprServletInputStream.java:110)
	at org.apache.coyote.http11.upgrade.AbstractServletInputStream.read(AbstractServletInputStream.java:129)

Continuation...

	at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:56)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onDataAvailable(WsHttpUpgradeHandler.java:202)
	at org.apache.coyote.http11.upgrade.AbstractServletInputStream.onDataAvailable(AbstractServletInputStream.java:203)
	at org.apache.coyote.http11.upgrade.AbstractProcessor.upgradeDispatch(AbstractProcessor.java:94)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:635)
	at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2512)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)

Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-9-53021"]
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Tomcat
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.WsServerContainer destroy
WARNING: Unable to destroy WebSocket thread group [WebSocketServer-ROOT] as [1] threads were still running when the web application was stopped. The thread group will be destroyed once the threads terminate.
Mar 26, 2019 5:06:13 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [WebSocketServer-ROOT-1] but has failed to stop it. This is very likely to create a memory leak.
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-9-53021"]
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-9-53021"]
Mar 26, 2019 5:06:13 AM org.apache.catalina.startup.LoggingBaseTest setUp
INFO: Starting test case [testTcpReset]
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: Loaded APR based Apache Tomcat Native library 1.2.22 using APR version 1.7.0.
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized (OpenSSL 1.0.2s-dev  xx XXX xxxx)
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-10"]
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.94-dev
Mar 26, 2019 5:06:13 AM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-apr-127.0.0.1-auto-10-38485"]
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onOpen
INFO: Session opened
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onError
INFO: onError
java.io.IOException: java.util.concurrent.ExecutionException: java.io.IOException: Unexpected error [32] writing data to the APR/native socket [140,085,458,640,560] with wrapper [org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper@64be1f2a:140085458640560].
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:286)
	at org.apache.tomcat.websocket.WsSession.sendCloseMessage(WsSession.java:592)
	at org.apache.tomcat.websocket.WsSession.doClose(WsSession.java:483)
	at org.apache.tomcat.websocket.WsSession.doClose(WsSession.java:445)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.onError(WsHttpUpgradeHandler.java:159)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler.access$300(WsHttpUpgradeHandler.java:47)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onError(WsHttpUpgradeHandler.java:223)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onDataAvailable(WsHttpUpgradeHandler.java:206)
	at org.apache.coyote.http11.upgrade.AbstractServletInputStream.onDataAvailable(AbstractServletInputStream.java:203)
	at org.apache.coyote.http11.upgrade.AbstractProcessor.upgradeDispatch(AbstractProcessor.java:94)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:635)
	at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2512)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Unexpected error [32] writing data to the APR/native socket [140,085,458,640,560] with wrapper [org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper@64be1f2a:140085458640560].
	at org.apache.tomcat.websocket.FutureToSendHandler.get(FutureToSendHandler.java:120)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:281)
	... 15 more
Caused by: java.io.IOException: Unexpected error [32] writing data to the APR/native socket [140,085,458,640,560] with wrapper [org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper@64be1f2a:140085458640560].
	at org.apache.coyote.http11.upgrade.AprServletOutputStream.doWriteInternal(AprServletOutputStream.java:144)
	at org.apache.coyote.http11.upgrade.AprServletOutputStream.doWrite(AprServletOutputStream.java:70)
	at org.apache.coyote.http11.upgrade.AbstractServletOutputStream.writeInternal(AbstractServletOutputStream.java:153)
	at org.apache.coyote.http11.upgrade.AbstractServletOutputStream.write(AbstractServletOutputStream.java:121)
	at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.onWritePossible(WsRemoteEndpointImplServer.java:94)
	at org.apache.tomcat.websocket.server.WsRemoteEndpointImplServer.doWrite(WsRemoteEndpointImplServer.java:81)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.writeMessagePart(WsRemoteEndpointImplBase.java:456)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessage(WsRemoteEndpointImplBase.java:344)
	at org.apache.tomcat.websocket.WsRemoteEndpointImplBase.startMessageBlock(WsRemoteEndpointImplBase.java:276)
	... 15 more

Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onClose
INFO: onClose: CloseReason: code [1006], reason [Unexpected error [104] reading data from the APR/native socket [140,085,458,640,560] with wrapper [org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper@64be1f2a:140085458640560].]
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.TestClose$TestEndpoint onError
INFO: onError
java.io.IOException: Unexpected error [104] reading data from the APR/native socket [140,085,458,640,560] with wrapper [org.apache.tomcat.util.net.AprEndpoint$AprSocketWrapper@64be1f2a:140085458640560].
	at org.apache.coyote.http11.upgrade.AprServletInputStream.doRead(AprServletInputStream.java:116)
	at org.apache.coyote.http11.upgrade.AbstractServletInputStream.read(AbstractServletInputStream.java:129)
	at org.apache.tomcat.websocket.server.WsFrameServer.onDataAvailable(WsFrameServer.java:56)
	at org.apache.tomcat.websocket.server.WsHttpUpgradeHandler$WsReadListener.onDataAvailable(WsHttpUpgradeHandler.java:202)
	at org.apache.coyote.http11.upgrade.AbstractServletInputStream.onDataAvailable(AbstractServletInputStream.java:203)
	at org.apache.coyote.http11.upgrade.AbstractProcessor.upgradeDispatch(AbstractProcessor.java:94)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:635)
	at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2512)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)

Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-10-38485"]
Mar 26, 2019 5:06:13 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Tomcat
Mar 26, 2019 5:06:13 AM org.apache.tomcat.websocket.server.WsServerContainer destroy
WARNING: Unable to destroy WebSocket thread group [WebSocketServer-ROOT] as [1] threads were still running when the web application was stopped. The thread group will be destroyed once the threads terminate.
Mar 26, 2019 5:06:13 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [] appears to have started a thread named [WebSocketServer-ROOT-1] but has failed to stop it. This is very likely to create a memory leak.
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-10-38485"]
Mar 26, 2019 5:06:13 AM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-10-38485"]
------------- ---------------- ---------------

Testcase: testTcpCloseInOnMessage took 1.132 sec
Testcase: testWsCloseThenTcpCloseWhenOnMessageSends took 0.22 sec
Testcase: testTcpCloseWhenOnMessageSends took 0.128 sec
Testcase: testWsCloseThenTcpClose took 0.111 sec
Testcase: testWsCloseThenTcpReset took 0.095 sec
Testcase: testWsCloseThenTcpResetWhenOnMessageSends took 0.088 sec
Testcase: testTcpResetWhenOnMessageSends took 0.089 sec
Testcase: testTcpResetInOnMessage took 0.125 sec
Testcase: testTcpClose took 0.095 sec
Testcase: testTcpReset took 0.094 sec

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

Last Updated: Tue, 26 Mar 2019 00:00:07 ().Python Logo