Jetty QueuedThreadPool warnings in logs when running junit tests
See original GitHub issueWireMock 2.4.1
when runnning junit tests using wiremock, I see some random jetty warnings in the logs :
2017-01-06 17:49:27,788 - INFO - org.eclipse.jetty.server.ServerConnector : Stopped ServerConnector@3dd1dc90{HTTP/1.1}{0.0.0.0:8080}
2017-01-06 17:49:27,788 - INFO - o.e.jetty.server.handler.ContextHandler : Stopped o.e.j.s.ServletContextHandler@320de594{/,null,UNAVAILABLE}
2017-01-06 17:49:27,788 - INFO - o.e.jetty.server.handler.ContextHandler : Stopped o.e.j.s.ServletContextHandler@3e7634b9{/__admin,null,UNAVAILABLE}
2017-01-06 17:49:27,789 - WARN - o.e.jetty.util.thread.QueuedThreadPool : qtp2116179210{STOPPING,8<=8<=10,i=8,q=7} Couldn't stop Thread[qtp2116179210-22,5,]
2017-01-06 17:49:27,790 - WARN - o.e.jetty.util.thread.QueuedThreadPool : qtp2116179210{STOPPING,8<=8<=10,i=2,q=7} Couldn't stop Thread[qtp2116179210-23,5,]
2017-01-06 17:49:27,790 - WARN - o.e.jetty.util.thread.QueuedThreadPool : qtp2116179210{STOPPING,8<=8<=10,i=0,q=6} Couldn't stop Thread[qtp2116179210-26,5,]
is this a known issue ? is there a clean way to avoid theses warnings, without setting the log level in logback.xml ?
Issue Analytics
- State:
- Created 7 years ago
- Comments:5
Top Results From Across the Web
Jetty QueuedThreadPool warnings in logs when running junit ...
WireMock 2.4.1 when runnning junit tests using wiremock, I see some random jetty warnings in the logs : 2017-01-06 17:49:27788 - INFO ...
Read more >Understanding Jetty's "Closed while Pending/Unready" warning
I have tested it with Jetty 9.4.8.v20171121 and Jetty 9.4.11.v20180605. ... runJob(Runnable) line: 708 QueuedThreadPool$2.run() line: 626 ...
Read more >Eclipse Jetty: Operations Guide
Eclipse Jetty as a standalone server has no graphical user interface, so configuring and running the server is done from the command line....
Read more >VERSION.txt - jetty/org.eclipse.jetty.project - Git at Google
+ 470855 Only log warning for duplicate path mappings to same servlet in same. descriptor ... + 353509 jetty-client unit tests are running...
Read more >jetty-project-11.0.1-version.txt
Rate() methods + 5785 Reduce log level for WebSocket connections closed by ... initialization bug + 353509 jetty-client unit tests are running too...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Currently I’m using the following settings in a logback-test.xml which is used only when runnnig tests.
Of course, there is also a lockback.xml without these settings for production runs.
Hi, I’m getting the same kind of problem where I receive anywhere between approximately 1 - 4 “Couldn’t stop thread” warnings, i.e.
[main] QueuedThreadPool WARN qtp1983025922{STOPPING,8<=8<=10,i=0,q=1} Couldn't stop Thread[qtp1983025922-12,5,]
Is there any solution to this other than suppressing the warnings? I’m not too keen on doing this.