Description
As described in https://issues.apache.org/jira/browse/LUCENE-2237, shutting down the timer thread created by Lucene's TimeLimitedCollector allows Tomcat or another application server to cleanly unload solr.war (or any application using Lucene, for that matter).
I'm attaching two patches for Solr 1.3 which use the patch provided in LUCENE-2237 to shut down the timer thread when a new servlet context listener for the solr.war application is informed the application is about to be unloaded.
Attachments
Attachments
Issue Links
- is related to
-
LUCENE-2822 TimeLimitingCollector starts thread in static {} with no way to stop them
-
- Closed
-
-
LUCENE-2237 allow TimeLimitedCollector timer thread to be shutdown
-
- Resolved
-