Hi,

I have to dynamically publish new GeoTIFFs to GeoServer and remove outdated 
GeoTIFFs. This works well with the REST API. However, it seems with the REST 
API I can only delete the GeoServer configuration files, not the GeoTIFFs 
themselves from disc.
I tried to delete the GeoTIFFs via java.io.File, but they can still be locked 
by JAI(?) even when all configuration entries for the GeoTIFFs (layer, 
coverage, coveragestore) are already deleted. Only after pressing "Free memory" 
for JAI memory usage in the GeoServer status page the files can be deleted from 
disc. 
Is there an API function for freeing JAI memory? If not, what would be the best 
way to remove the file lock/delete the files?

Any help appreciated,
Udo

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to