After adding a file to GeoServer via REST I am unable to delete it from the directory on my computer. I always get the same error saying that the file is in use by another process.

This only happens when apply a style to it that will show the layer as a contour map.

I have tried removing the layer from GeoServer but the GeoTIFF will remain in use anyway.


This is a known bug, it probably only occurs on windows machines and as such is unlikely to get much developer traction as none of the core developers is a windows user during their volunteer time.

You can either fix this yourself and submit a PR with the fix or pay someone to fix it for you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.