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

Details

File Contents

Testsuite: org.apache.catalina.valves.TestStuckThreadDetectionValve
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.909 sec
------------- Standard Error -----------------
26-Jun-2022 03:00:41.039 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDetection]
26-Jun-2022 03:00:41.482 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-1"]
26-Jun-2022 03:00:41.507 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Jun-2022 03:00:41.507 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.0.23-dev]
26-Jun-2022 03:00:41.625 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37457"]
26-Jun-2022 03:00:44.630 WARNING [Catalina-utility-2] org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadDetected Thread [http-nio2-127.0.0.1-auto-1-exec-2] (id=[16]) has been active for [2,931] milliseconds (since [6/26/22, 3:00 AM]) to serve the same request for [http://localhost:37457/myservlet] and may be stuck (configured threshold for this StuckThreadDetectionValve is [2] seconds). There is/are [1] thread(s) in total that are monitored by this Valve and may be stuck.
	java.lang.Throwable
		at java.base@11.0.15/java.lang.Thread.sleep(Native Method)
		at app//org.apache.catalina.valves.TestStuckThreadDetectionValve$StickingServlet.doGet(TestStuckThreadDetectionValve.java:156)
		at app//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:668)
		at app//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:777)
		at app//org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:223)
		at app//org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
		at app//org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
		at app//org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
		at app//org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
		at app//org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:206)
		at app//org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:119)
		at app//org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
		at app//org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)
		at app//org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
		at app//org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:356)
		at app//org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
		at app//org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
		at app//org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:867)
		at app//org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1654)
		at app//org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
		at app//org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1155)
		at app//org.apache.tomcat.util.net.Nio2Endpoint.setSocketOptions(Nio2Endpoint.java:327)
		at app//org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:461)
		at app//org.apache.tomcat.util.net.Nio2Endpoint$Nio2Acceptor.completed(Nio2Endpoint.java:397)
		at java.base@11.0.15/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)
		at java.base@11.0.15/sun.nio.ch.Invoker$2.run(Invoker.java:219)
		at java.base@11.0.15/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
		at app//org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
		at app//org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
		at app//org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
		at java.base@11.0.15/java.lang.Thread.run(Thread.java:829)
26-Jun-2022 03:00:49.703 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37457"]
26-Jun-2022 03:00:49.706 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Jun-2022 03:00:49.716 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37457"]
26-Jun-2022 03:00:49.717 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-1-37457"]
26-Jun-2022 03:00:49.728 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testInterruption]
26-Jun-2022 03:00:49.730 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio2-127.0.0.1-auto-2"]
26-Jun-2022 03:00:49.749 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Jun-2022 03:00:49.750 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/10.0.23-dev]
26-Jun-2022 03:00:49.757 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42933"]
26-Jun-2022 03:00:52.755 WARNING [Catalina-utility-1] org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadDetected Thread [http-nio2-127.0.0.1-auto-2-exec-3] (id=[33]) has been active for [2,990] milliseconds (since [6/26/22, 3:00 AM]) to serve the same request for [http://localhost:42933/myservlet] and may be stuck (configured threshold for this StuckThreadDetectionValve is [2] seconds). There is/are [1] thread(s) in total that are monitored by this Valve and may be stuck.
	java.lang.Throwable
		at java.base@11.0.15/java.lang.Thread.sleep(Native Method)
		at app//org.apache.catalina.valves.TestStuckThreadDetectionValve$StickingServlet.doGet(TestStuckThreadDetectionValve.java:156)
		at app//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:668)
		at app//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:777)
		at app//org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:223)
		at app//org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
		at app//org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
		at app//org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
		at app//org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
		at app//org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:206)
		at app//org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:119)
		at app//org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
		at app//org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)
		at app//org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
		at app//org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:356)
		at app//org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
		at app//org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
		at app//org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:867)
		at app//org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1654)
		at app//org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
		at app//org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1155)
		at app//org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:623)
		at app//org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:601)
		at java.base@11.0.15/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)
		at java.base@11.0.15/sun.nio.ch.Invoker$2.run(Invoker.java:219)
		at java.base@11.0.15/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
		at app//org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
		at app//org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
		at app//org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
		at java.base@11.0.15/java.lang.Thread.run(Thread.java:829)
26-Jun-2022 03:00:55.757 WARNING [Catalina-utility-2] org.apache.catalina.valves.StuckThreadDetectionValve$MonitoredThread.interruptIfStuck Thread [http-nio2-127.0.0.1-auto-2-exec-3] (id=[33]) has been interrupted because it was active for [5,992] milliseconds (since [6/26/22, 3:00 AM]) to serve the same request for [http://localhost:42933/myservlet] and was probably stuck (configured interruption threshold for this StuckThreadDetectionValve is [5] seconds).
	java.lang.Throwable
		at java.base@11.0.15/java.lang.Thread.sleep(Native Method)
		at app//org.apache.catalina.valves.TestStuckThreadDetectionValve$StickingServlet.doGet(TestStuckThreadDetectionValve.java:156)
		at app//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:668)
		at app//jakarta.servlet.http.HttpServlet.service(HttpServlet.java:777)
		at app//org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:223)
		at app//org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:158)
		at app//org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:197)
		at app//org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
		at app//org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
		at app//org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:206)
		at app//org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:119)
		at app//org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
		at app//org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)
		at app//org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
		at app//org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:356)
		at app//org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:399)
		at app//org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
		at app//org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:867)
		at app//org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1654)
		at app//org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
		at app//org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1155)
		at app//org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:623)
		at app//org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:601)
		at java.base@11.0.15/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)
		at java.base@11.0.15/sun.nio.ch.Invoker$2.run(Invoker.java:219)
		at java.base@11.0.15/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
		at app//org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
		at app//org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
		at app//org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
		at java.base@11.0.15/java.lang.Thread.run(Thread.java:829)
26-Jun-2022 03:00:55.763 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42933"]
26-Jun-2022 03:00:55.763 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Jun-2022 03:00:55.767 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42933"]
26-Jun-2022 03:00:55.767 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio2-127.0.0.1-auto-2-42933"]
------------- ---------------- ---------------

Testcase: testDetection took 8.838 sec
Testcase: testInterruption took 6.047 sec

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

Last Updated: Sun, 26 Jun 2022 00:00:04 ().Python Logo