Thread-topic: Getting a java.util.concurrent.RejectedExecutionException
Jetty
Users Group,
I have recently been facing an issue with my Production Server which runs on Jetty. I hope this is the correct location to ask for assistance. The following is the error that is being thrown:
app/web.4:
at java.util.concurrent.ThreadPoolExecutor$AbortPolicy.rejectedExecution(ThreadPoolExecutor.java:1992)
app/web.4:
at org.eclipse.jetty.server.nio.SelectChannelConnector$ConnectorSelectorManager.dispatch(SelectChannelConnector.java:300)
app/web.4:
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.dispatch(SelectChannelEndPoint.java:236)
app/web.4:
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.schedule(SelectChannelEndPoint.java:195)
app/web.4:
at org.eclipse.jetty.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:619)
app/web.4:
at org.eclipse.jetty.io.nio.SelectorManager$1.run(SelectorManager.java:290)
app/web.4:
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
app/web.4:
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
app/web.4:
at java.lang.Thread.run(Thread.java:679)
This error spits out over 100 times a second. When the server is brought up, it runs fine for about 4-8 hours until this error starts showing, and the application is soon unresponsive.
The application runs on a Heroku server, it is on Java 1.6, using Jetty Version
7.6.16.v20140903