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

Details

File Contents

Testsuite: org.apache.coyote.http11.upgrade.TestUpgrade
Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.324 sec
------------- Standard Error -----------------
25-Jun-2022 09:02:37.526 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testMessagesBlocking]
25-Jun-2022 09:02:37.984 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"]
25-Jun-2022 09:02:38.023 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
25-Jun-2022 09:02:38.023 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.0.23-dev]
25-Jun-2022 09:02:38.233 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33091"]
25-Jun-2022 09:02:38.840 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33091"]
25-Jun-2022 09:02:38.843 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
25-Jun-2022 09:02:38.853 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33091"]
25-Jun-2022 09:02:38.854 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-33091"]
25-Jun-2022 09:02:38.867 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSimpleUpgradeBlocking]
25-Jun-2022 09:02:38.875 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"]
25-Jun-2022 09:02:38.877 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
25-Jun-2022 09:02:38.877 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.0.23-dev]
25-Jun-2022 09:02:38.881 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-35981"]
25-Jun-2022 09:02:38.884 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-35981"]
25-Jun-2022 09:02:38.889 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
25-Jun-2022 09:02:38.891 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-35981"]
25-Jun-2022 09:02:38.891 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-35981"]
25-Jun-2022 09:02:38.895 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testMessagesNonBlocking]
25-Jun-2022 09:02:38.897 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-3"]
25-Jun-2022 09:02:38.928 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
25-Jun-2022 09:02:38.928 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.0.23-dev]
25-Jun-2022 09:02:38.933 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44571"]
25-Jun-2022 09:02:39.438 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44571"]
25-Jun-2022 09:02:39.441 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
25-Jun-2022 09:02:39.443 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44571"]
25-Jun-2022 09:02:39.444 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-3-44571"]
25-Jun-2022 09:02:39.450 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSetWriteListenerTwice]
25-Jun-2022 09:02:39.452 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-4"]
25-Jun-2022 09:02:39.454 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
25-Jun-2022 09:02:39.455 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.0.23-dev]
25-Jun-2022 09:02:39.458 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44267"]
25-Jun-2022 09:02:39.468 SEVERE [http-nio2-127.0.0.1-auto-4-exec-2] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored
	java.lang.IllegalArgumentException: It is illegal to call setWriteListener() more than once for the same upgraded connection
		at org.apache.coyote.http11.upgrade.UpgradeServletOutputStream.setWriteListener(UpgradeServletOutputStream.java:112)
		at org.apache.coyote.http11.upgrade.TestUpgrade$SetWriteListenerTwice.init(TestUpgrade.java:450)
		at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:914)
		at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1654)
		at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
		at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1155)
		at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:327)
		at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:461)
		at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:397)
		at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)
		at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)
		at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
		at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
		at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
		at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
		at java.base/java.lang.Thread.run(Thread.java:829)
25-Jun-2022 09:02:39.470 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44267"]
25-Jun-2022 09:02:39.473 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
25-Jun-2022 09:02:39.475 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [Thread-7] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.base@11.0.15/jdk.internal.misc.Unsafe.park(Native Method)
 java.base@11.0.15/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
 java.base@11.0.15/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
 java.base@11.0.15/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)
 java.base@11.0.15/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
 java.base@11.0.15/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054)
 java.base@11.0.15/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
 java.base@11.0.15/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
 java.base@11.0.15/java.lang.Thread.run(Thread.java:829)
25-Jun-2022 09:02:39.476 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44267"]
25-Jun-2022 09:02:39.476 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-4-44267"]
25-Jun-2022 09:02:39.484 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testFirstCallToOnWritePossible]
25-Jun-2022 09:02:39.486 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-5"]
25-Jun-2022 09:02:39.493 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
25-Jun-2022 09:02:39.493 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.0.23-dev]
25-Jun-2022 09:02:39.499 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41155"]
25-Jun-2022 09:02:39.505 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41155"]
25-Jun-2022 09:02:39.505 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
25-Jun-2022 09:02:39.507 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-5-exec-4] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.base@11.0.15/sun.nio.ch.FileDispatcherImpl.write0(Native Method)
 java.base@11.0.15/sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
 java.base@11.0.15/sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:113)
 java.base@11.0.15/sun.nio.ch.IOUtil.write(IOUtil.java:79)
 java.base@11.0.15/sun.nio.ch.IOUtil.write(IOUtil.java:50)
 java.base@11.0.15/sun.nio.ch.UnixAsynchronousSocketChannelImpl.implWrite(UnixAsynchronousSocketChannelImpl.java:701)
 java.base@11.0.15/sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:383)
 java.base@11.0.15/sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:400)
 app//org.apache.tomcat.util.net.Nio2Channel.write(Nio2Channel.java:178)
 app//org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper.flushNonBlockingInternal(Nio2Endpoint.java:1298)
 app//org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper.writeNonBlocking(Nio2Endpoint.java:1165)
 app//org.apache.tomcat.util.net.SocketWrapperBase.write(SocketWrapperBase.java:462)
 app//org.apache.coyote.http11.upgrade.UpgradeServletOutputStream.writeInternal(UpgradeServletOutputStream.java:214)
 app//org.apache.coyote.http11.upgrade.UpgradeServletOutputStream.write(UpgradeServletOutputStream.java:142)
 app//org.apache.coyote.http11.upgrade.TestUpgrade$FixedResponseNonBlocking$FixedResponseWriteListener.onWritePossible(TestUpgrade.java:490)
 app//org.apache.coyote.http11.upgrade.UpgradeServletOutputStream.onWritePossible(UpgradeServletOutputStream.java:254)
 app//org.apache.coyote.http11.upgrade.UpgradeProcessorExternal.dispatch(UpgradeProcessorExternal.java:95)
 app//org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:59)
 app//org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:867)
 app//org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1654)
 app//org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
 app//org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
 app//org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
 app//org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
 java.base@11.0.15/java.lang.Thread.run(Thread.java:829)
25-Jun-2022 09:02:39.508 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [Thread-9] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.base@11.0.15/jdk.internal.misc.Unsafe.park(Native Method)
 java.base@11.0.15/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
 java.base@11.0.15/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
 java.base@11.0.15/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)
 java.base@11.0.15/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
 java.base@11.0.15/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054)
 java.base@11.0.15/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
 java.base@11.0.15/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
 java.base@11.0.15/java.lang.Thread.run(Thread.java:829)
25-Jun-2022 09:02:39.508 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41155"]
25-Jun-2022 09:02:39.509 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-5-41155"]
25-Jun-2022 09:02:39.512 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSetNullReadListener]
25-Jun-2022 09:02:39.513 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-6"]
25-Jun-2022 09:02:39.517 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
25-Jun-2022 09:02:39.517 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.0.23-dev]
25-Jun-2022 09:02:39.523 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45339"]
25-Jun-2022 09:02:39.533 SEVERE [http-nio2-127.0.0.1-auto-6-exec-3] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored
	java.lang.IllegalArgumentException: It is illegal to pass null to setReadListener()
		at org.apache.coyote.http11.upgrade.UpgradeServletInputStream.setReadListener(UpgradeServletInputStream.java:96)
		at org.apache.coyote.http11.upgrade.TestUpgrade$SetNullReadListener.init(TestUpgrade.java:380)
		at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:914)
		at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1654)
		at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
		at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1155)
		at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:327)
		at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:461)
		at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:397)
		at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)
		at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)
		at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
		at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
		at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
		at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
		at java.base/java.lang.Thread.run(Thread.java:829)
25-Jun-2022 09:02:39.536 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45339"]
25-Jun-2022 09:02:39.552 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
25-Jun-2022 09:02:39.555 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45339"]
25-Jun-2022 09:02:39.555 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-6-45339"]
25-Jun-2022 09:02:39.559 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSetNullWriteListener]
25-Jun-2022 09:02:39.560 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-7"]
25-Jun-2022 09:02:39.590 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
25-Jun-2022 09:02:39.590 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.0.23-dev]
25-Jun-2022 09:02:39.595 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36825"]
25-Jun-2022 09:02:39.598 SEVERE [http-nio2-127.0.0.1-auto-7-exec-1] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored
	java.lang.IllegalArgumentException: It is illegal to pass null to setWriteListener()
		at org.apache.coyote.http11.upgrade.UpgradeServletOutputStream.setWriteListener(UpgradeServletOutputStream.java:108)
		at org.apache.coyote.http11.upgrade.TestUpgrade$SetNullWriteListener.init(TestUpgrade.java:400)
		at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:914)
		at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1654)
		at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
		at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1155)
		at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:327)
		at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:461)
		at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:397)
		at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)
		at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)
		at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
		at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
		at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
		at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
		at java.base/java.lang.Thread.run(Thread.java:829)
25-Jun-2022 09:02:39.599 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36825"]
25-Jun-2022 09:02:39.602 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
25-Jun-2022 09:02:39.604 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36825"]
25-Jun-2022 09:02:39.604 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-7-36825"]
25-Jun-2022 09:02:39.609 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSimpleUpgradeNonBlocking]
25-Jun-2022 09:02:39.610 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-8"]
25-Jun-2022 09:02:39.621 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
25-Jun-2022 09:02:39.621 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.0.23-dev]
25-Jun-2022 09:02:39.629 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41443"]
25-Jun-2022 09:02:39.638 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41443"]
25-Jun-2022 09:02:39.640 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
25-Jun-2022 09:02:39.646 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41443"]
25-Jun-2022 09:02:39.646 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-8-41443"]
25-Jun-2022 09:02:39.649 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testSetReadListenerTwice]

Continuation...

25-Jun-2022 09:02:39.651 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-9"]
25-Jun-2022 09:02:39.673 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
25-Jun-2022 09:02:39.673 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.0.23-dev]
25-Jun-2022 09:02:39.677 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-9-38703"]
25-Jun-2022 09:02:39.684 SEVERE [http-nio2-127.0.0.1-auto-9-exec-2] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored
	java.lang.IllegalArgumentException: It is illegal to call setReadListener() more than once for the same upgraded connection
		at org.apache.coyote.http11.upgrade.UpgradeServletInputStream.setReadListener(UpgradeServletInputStream.java:100)
		at org.apache.coyote.http11.upgrade.TestUpgrade$SetReadListenerTwice.init(TestUpgrade.java:425)
		at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:914)
		at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1654)
		at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
		at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1155)
		at org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:327)
		at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:461)
		at org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:397)
		at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)
		at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)
		at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
		at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
		at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
		at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
		at java.base/java.lang.Thread.run(Thread.java:829)
25-Jun-2022 09:02:39.689 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-9-38703"]
25-Jun-2022 09:02:39.691 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
25-Jun-2022 09:02:39.693 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [Thread-14] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.base@11.0.15/jdk.internal.misc.Unsafe.park(Native Method)
 java.base@11.0.15/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234)
 java.base@11.0.15/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2123)
 java.base@11.0.15/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)
 java.base@11.0.15/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)
 java.base@11.0.15/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1054)
 java.base@11.0.15/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1114)
 java.base@11.0.15/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
 java.base@11.0.15/java.lang.Thread.run(Thread.java:829)
25-Jun-2022 09:02:39.694 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-9-38703"]
25-Jun-2022 09:02:39.694 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-9-38703"]
------------- ---------------- ---------------

Testcase: testMessagesBlocking took 1.463 sec
Testcase: testSimpleUpgradeBlocking took 0.029 sec
Testcase: testMessagesNonBlocking took 0.555 sec
Testcase: testSetWriteListenerTwice took 0.033 sec
Testcase: testFirstCallToOnWritePossible took 0.028 sec
Testcase: testSetNullReadListener took 0.046 sec
Testcase: testSetNullWriteListener took 0.049 sec
Testcase: testSimpleUpgradeNonBlocking took 0.04 sec
Testcase: testSetReadListenerTwice took 0.055 sec

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

Last Updated: Sat, 25 Jun 2022 06:00:06 ().Python Logo