https://bz.apache.org/bugzilla/show_bug.cgi?id=57200
Yaniv Kunda <ya...@kundas.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #9 from Yaniv Kunda <ya...@kundas.net> --- This does not solve the problem of a long-running process (e.g. server) that is trying to create the poifiles temp directory only once during its lifetime. In the event the directory gets deleted by an external process (temp file cleaner) while the server process is running, the next temp file creation will fail. Possible solutions: 1) Lock the poifiles directory after it is created (this can probably be done easily by keeping an open file in the directory for the lifetime of the JVM) 2) Ensure that poifiles is created each time before creating a temp file 3) Stop using the poifiles dir - segregating temp files serves no purpose other than perhaps ease of debugging. I'll be happy to provide a patch - just reply if one of the solutions I suggested is acceptable. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org