https://bz.apache.org/bugzilla/show_bug.cgi?id=57200

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|unspecified                 |3.13-dev

--- Comment #5 from [email protected] ---
Issue:
We've got two long-running parallel processes creating several Excel files
every few minutes via SXSSF.
After one of the processes terminates the other one cannot write Excel files
anymore due to the deletion of folder "C:\Windows\Temp\poifiles\".

Work-around:
As a work-around we call the processes with different "java.io.tmpdir" system
property values to use separate temporary folders.
We do not use "poi.keep.tmp.files=true" as we want the temporary files to be
deleted.

However, this is no long-term solution for us as our program is normally
installed by the customer who can run as many parallel processes as he wants.
We can't configure different temp folders for all of these.

Possible solutions:
a. Use temp folder "java.io.tmpdir" instead of its sub-folder "poifiles".
b. Use a unique temp folder name for each process instead of "poifiles".
c. Never delete sub-folder "poifiles".
d. Delete folder "poifiles" only if the user explicitely sets a corresponding
system property, e.g. "poi.delete.tmp.dirs" (setting this property must also
delete the contained temporary files even if "poi.keep.tmp.files" is
specified).

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to