tes001 / tableexport-for-vaadin

Automatically exported from code.google.com/p/tableexport-for-vaadin
0 stars 0 forks source link

many temporary files(tmp*.xls) left in server directory. #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
File.deleteOnExit(), suggested by Henri Sara, may solve problem.

---

RE: Addon: Export Table to Excel
1/12/12 3:14 AM as a reply to Jonathan Nash.

    Reply
    Reply with Quote
    Quick Reply

Hello!
I use TableExport-1.2.9 add-on. It leaves many temporary files(tmp*.xls) in 
server directory. How can I avoid that?
Servers are WebSphere 6 and 7 at z/OS, and Apache Tomcat at Windows.

Henri Sara:

Anyway, although I have never used this add-on, it at least makes an effort to 
clean up temporary files when streams are closed. I don't know if it calls 
File.deleteOnExit() on the temporary files or not, that would provide another 
layer of safety nets. Do you see many temporary files left there in normal use, 
or only when stopping the server forcefully while debugging etc?

I see many temporary files left there in normal use. 

Original issue reported on code.google.com by jnas...@gmail.com on 17 Mar 2012 at 9:12

GoogleCodeExporter commented 9 years ago
fixed

Original comment by jnas...@gmail.com on 18 Mar 2012 at 12:07