if my memory serves me right, if you lock&map a file on windows there
is not way to unmap explicitly.
As such if you try to delete it right away that will fail. This is why
the fileimageinput stream in imageio-ext uses randomaccess file rather
tha filechannels.

Regards,
Simone Giannecchini
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information.
==

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39  333 8128928

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------


On Sun, Sep 29, 2013 at 10:29 PM, Andrea Aime
<[email protected]> wrote:
> On Sun, Sep 29, 2013 at 11:23 PM, Simone Giannecchini
> <[email protected]> wrote:
>>
>> +1
>>
>> Could this be related to locking files on windows?
>
>
> Agreed, yet, that woudl happen only if something keeps the file open... and
> I see the code
> closing down everything (executors for asynch request logging, connection
> pool, and so on)
> before trying to delete the file, that's why I'm a bit confused as to why
> the file is still locked
> anyways. Most likely, I'm missing something that is not being closed as it
> should, or some
> asynch thread that is still on the loose with a hibernat connection in its
> hands...
>
> Cheers
> Andrea
>
>
> --
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
> information.
> ==
>
> Ing. Andrea Aime
> @geowolf
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax: +39 0584 1660272
> mob: +39  339 8844549
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to