I've found two sources of non-daemon thread pools that aren't being shut
down properly.

https://jira.codehaus.org/browse/GEOS-6850

One is in GuavaAuthenticationCacheImpl, the other in FileSystemWatcher used
to provide update notification for the FileResourceStore.

The simple solution would be to toss in a ThreadFactory to make them daemon
threads so they don't hold up VM shutdown.

Shutting them down properly though would be preferable.
GuavaAuthenticationCache would be fairly simple to make a DisposableBean
but FileResourceStore is not.

One thing that comes to mind is adding a method to GeoServerExtension to
register a DisposableBean that was not instantiated as a spring bean to be
disposed of on context shutdown.  Any thoughts on this?

-- 

Kevin Smith

Software Engineer | Boundless <http://boundlessgeo.com/>

[email protected]

+1-778-785-7459

@boundlessgeo <http://twitter.com/boundlessgeo/>


<http://twitter.com/boundlessgeo/>

[image: http://boundlessgeo.com/]
<http://boundlessgeo.com/>
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to