jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Müller" <thomas.muel...@day.com>
Subject Re: Temp File Semantics
Date Thu, 08 Jan 2009 10:42:08 GMT

> - When reading, if the DbDataStore property copyWhenReading is enabled.
> We didn't have this property set in our configuration. Looks like the
> default is true.

Sorry, I didn't notice that... the setting is "Enabled by default to support
concurrent reads".

The temp file is only deleted when closing the input stream, or when read()
returns -1. Maybe your application doesn't call close()? A workaround would
be to close the input stream using finalize(). I'm not sure if this is the
best solution is however.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message