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: 15.261 sec
------------- Standard Error -----------------
26-Oct-2021 16:05:16.099 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testDetection]
26-Oct-2021 16:05:16.239 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.32-dev] using APR version [1.7.1-dev].
26-Oct-2021 16:05:16.239 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [{4}].
26-Oct-2021 16:05:16.239 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
26-Oct-2021 16:05:16.249 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1m-dev  xx XXX xxxx]
26-Oct-2021 16:05:16.622 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-1"]
26-Oct-2021 16:05:16.648 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Oct-2021 16:05:16.649 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.72-dev]
26-Oct-2021 16:05:16.810 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-1-40777"]
26-Oct-2021 16:05:19.815 WARNING [ContainerBackgroundProcessor[StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]]] org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadDetected Thread [http-apr-127.0.0.1-auto-1-exec-1] (id=[23]) has been active for [2,917] milliseconds (since [10/26/21, 4:05 PM]) to serve the same request for [http://localhost:40777/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.11/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:655)
		at app//javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
		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: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:135)
		at app//org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
		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:364)
		at app//org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:624)
		at app//org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
		at app//org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:831)
		at app//org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2061)
		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.11/java.lang.Thread.run(Thread.java:829)
26-Oct-2021 16:05:24.908 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-1-40777"]
26-Oct-2021 16:05:24.914 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Oct-2021 16:05:24.924 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-1-40777"]
26-Oct-2021 16:05:24.976 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-1-40777"]
26-Oct-2021 16:05:24.983 INFO [main] org.apache.catalina.startup.LoggingBaseTest.setUp Starting test case [testInterruption]
26-Oct-2021 16:05:24.984 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.32-dev] using APR version [1.7.1-dev].
26-Oct-2021 16:05:24.985 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true], UDS [{4}].
26-Oct-2021 16:05:24.985 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
26-Oct-2021 16:05:24.985 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1m-dev  xx XXX xxxx]
26-Oct-2021 16:05:24.986 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-127.0.0.1-auto-2"]
26-Oct-2021 16:05:24.986 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Tomcat]
26-Oct-2021 16:05:24.986 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.72-dev]
26-Oct-2021 16:05:25.013 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-127.0.0.1-auto-2-44263"]
26-Oct-2021 16:05:28.013 WARNING [ContainerBackgroundProcessor[StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]]] org.apache.catalina.valves.StuckThreadDetectionValve.notifyStuckThreadDetected Thread [http-apr-127.0.0.1-auto-2-exec-1] (id=[34]) has been active for [2,996] milliseconds (since [10/26/21, 4:05 PM]) to serve the same request for [http://localhost:44263/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.11/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:655)
		at app//javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
		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: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:135)
		at app//org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
		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:364)
		at app//org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:624)
		at app//org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
		at app//org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:831)
		at app//org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2061)
		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.11/java.lang.Thread.run(Thread.java:829)
26-Oct-2021 16:05:31.015 WARNING [ContainerBackgroundProcessor[StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]]] org.apache.catalina.valves.StuckThreadDetectionValve$MonitoredThread.interruptIfStuck Thread [http-apr-127.0.0.1-auto-2-exec-1] (id=[34]) has been interrupted because it was active for [5,998] milliseconds (since [10/26/21, 4:05 PM]) to serve the same request for [http://localhost:44263/myservlet] and was probably stuck (configured interruption threshold for this StuckThreadDetectionValve is [5] seconds).
	java.lang.Throwable
		at java.base@11.0.11/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:655)
		at app//javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
		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: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:135)
		at app//org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
		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:364)
		at app//org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:624)
		at app//org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
		at app//org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:831)
		at app//org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2061)
		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.11/java.lang.Thread.run(Thread.java:829)
26-Oct-2021 16:05:31.024 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-127.0.0.1-auto-2-44263"]
26-Oct-2021 16:05:31.029 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Tomcat]
26-Oct-2021 16:05:31.034 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-127.0.0.1-auto-2-44263"]
26-Oct-2021 16:05:31.085 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-127.0.0.1-auto-2-44263"]
------------- ---------------- ---------------

Testcase: testDetection took 9.084 sec
Testcase: testInterruption took 6.105 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 Oct 2021 12:00:03 ().Python Logo