This content has been marked as final.
Show 1 reply
-
1. Re: How to clean up tmp folder of JBoss periodically without restarting the server?
vaedama Nov 7, 2011 11:56 AM (in response to vaedama)I want to make the question clear. I want to know how to cleanup tmp folder on a hot deploy ( of war file). I cannot afford a huge RAM but I have too many apps on my jboss.
I don't want to manually go and delete all the files in the tmp directory (that would be a bad idea). I want to cleanup tmp folder wheneven I hot deploy my application.(It should cleanup only unncessessary files of tmp (and if possible wrk too))
Please let me know if anyone wants to solve the same problem. I have some ideas of scheduling a quartz job to cleanup tmp periodically.
But this will affect my other applications as I am dealing with "TMP" here!
Is there anyway to cleanup unnecessary files in tmp?