A {@link LifecycleListener} that triggers the renewal of threads in Executorpools when a {@link Context} is being stopped to avoid thread-local relatedmemory leaks.
Note : active threads will be renewed one by one when they come back to the pool after executing their task, see {@link org.apache.tomcat.util.threads.ThreadPoolExecutor}.afterExecute().
This listener must be declared in server.xml to be active.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|