You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When shutting down the ndbench application we sometimes get a stack trace that looks like this:
Nov 27, 2017 3:10:18 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
WARNING: The web application [ROOT] appears to have started a thread named [pool-1-thread-1] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
sun.misc.Unsafe.park(Native Method)
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
java.lang.Thread.run(Thread.java:748)
Nov 27, 2017 3:10:18 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-nio-8080"]
Nov 27, 2017 3:10:18 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-nio-8080"]
This hangs things up when doing things like integration tests that bring up the .war in the context of integration tests via gretty plugin.
It would be cleaner if we figured out how to gracefully get this thread to stop.
as a work around I am going to have a configurable option to force stop all threads (I discussed with Ionnais). This will take effect in existing contextListener: InjectedWebListener.
The text was updated successfully, but these errors were encountered:
When shutting down the ndbench application we sometimes get a stack trace that looks like this:
This hangs things up when doing things like integration tests that bring up the .war in the context of integration tests via gretty plugin.
It would be cleaner if we figured out how to gracefully get this thread to stop.
as a work around I am going to have a configurable option to force stop all threads (I discussed with Ionnais). This will take effect in existing contextListener: InjectedWebListener.
The text was updated successfully, but these errors were encountered: