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.863 sec
------------- Standard Error -----------------
26-Nov-2022 14:23:05.182 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDetection]
26-Nov-2022 14:23:05.581 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-1"]
26-Nov-2022 14:23:05.603 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Nov-2022 14:23:05.603 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.85-dev]
26-Nov-2022 14:23:05.702 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-1-34657"]
26-Nov-2022 14:23:08.710 WARNING [ContainerBackgroundProcessor[StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]]] org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadDetected Thread [http-nio-127.0.0.1-auto-1-exec-1] (id=[18]) has been active for [2,931] milliseconds (since [11/26/22, 2:23 PM]) to serve the same request for [http://localhost:34657/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.17/java.lang.Thread.sleep(Native Method)
		at app//org.apache.catalina.valves.TestStuckThreadDetectionValve$StickingServlet.doGet(TestStuckThreadDetectionValve.java:156)
		at app//javax.servlet.http.HttpServlet.service(HttpServlet.java:656)
		at app//javax.servlet.http.HttpServlet.service(HttpServlet.java:765)
		at app//org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
		at app//org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
		at app//org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:177)
		at app//org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
		at app//org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)
		at app//org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:206)
		at app//org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
		at app//org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
		at app//org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:698)
		at app//org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
		at app//org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:367)
		at app//org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:639)
		at app//org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
		at app//org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:885)
		at app//org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1688)
		at app//org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
		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.17/java.lang.Thread.run(Thread.java:829)
26-Nov-2022 14:23:13.787 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-1-34657"]
26-Nov-2022 14:23:13.789 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Nov-2022 14:23:13.819 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-1-34657"]
26-Nov-2022 14:23:13.832 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-1-34657"]
26-Nov-2022 14:23:13.838 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testInterruption]
26-Nov-2022 14:23:13.840 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-127.0.0.1-auto-2"]
26-Nov-2022 14:23:13.840 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Nov-2022 14:23:13.841 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.85-dev]
26-Nov-2022 14:23:13.895 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-127.0.0.1-auto-2-43385"]
26-Nov-2022 14:23:16.882 WARNING [ContainerBackgroundProcessor[StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]]] org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadDetected Thread [http-nio-127.0.0.1-auto-2-exec-1] (id=[37]) has been active for [2,926] milliseconds (since [11/26/22, 2:23 PM]) to serve the same request for [http://localhost:43385/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.17/java.lang.Thread.sleep(Native Method)
		at app//org.apache.catalina.valves.TestStuckThreadDetectionValve$StickingServlet.doGet(TestStuckThreadDetectionValve.java:156)
		at app//javax.servlet.http.HttpServlet.service(HttpServlet.java:656)
		at app//javax.servlet.http.HttpServlet.service(HttpServlet.java:765)
		at app//org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
		at app//org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
		at app//org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:177)
		at app//org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
		at app//org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)
		at app//org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:206)
		at app//org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
		at app//org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
		at app//org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:698)
		at app//org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
		at app//org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:367)
		at app//org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:639)
		at app//org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
		at app//org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:885)
		at app//org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1688)
		at app//org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
		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.17/java.lang.Thread.run(Thread.java:829)
26-Nov-2022 14:23:19.884 WARNING [ContainerBackgroundProcessor[StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]]] org.apache.catalina.valves.StuckThreadDetectionValve$MonitoredThread.interruptIfStuck Thread [http-nio-127.0.0.1-auto-2-exec-1] (id=[37]) has been interrupted because it was active for [5,928] milliseconds (since [11/26/22, 2:23 PM]) to serve the same request for [http://localhost:43385/myservlet] and was probably stuck (configured interruption threshold for this StuckThreadDetectionValve is [5] seconds).
	java.lang.Throwable
		at java.base@11.0.17/java.lang.Thread.sleep(Native Method)
		at app//org.apache.catalina.valves.TestStuckThreadDetectionValve$StickingServlet.doGet(TestStuckThreadDetectionValve.java:156)
		at app//javax.servlet.http.HttpServlet.service(HttpServlet.java:656)
		at app//javax.servlet.http.HttpServlet.service(HttpServlet.java:765)
		at app//org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
		at app//org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
		at app//org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:177)
		at app//org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
		at app//org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)
		at app//org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:206)
		at app//org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135)
		at app//org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
		at app//org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:698)
		at app//org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
		at app//org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:367)
		at app//org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:639)
		at app//org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
		at app//org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:885)
		at app//org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1688)
		at app//org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
		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.17/java.lang.Thread.run(Thread.java:829)
26-Nov-2022 14:23:19.891 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-127.0.0.1-auto-2-43385"]
26-Nov-2022 14:23:19.894 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Nov-2022 14:23:19.897 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-127.0.0.1-auto-2-43385"]
26-Nov-2022 14:23:19.902 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-127.0.0.1-auto-2-43385"]
------------- ---------------- ---------------

Testcase: testDetection took 8.766 sec
Testcase: testInterruption took 6.068 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, 26 Nov 2022 12:00:07 ().Python Logo