I am using jboss4.2.3 and the files inside the tmp folder are not deleting upon server restart.
the persist even after restart. which configuration file in jboss is responsible for deleting these tmp files?
seems like i am missing any particular configurations related to this.
Rajani Panchumarthy wrote:I am using jboss4.2.3 and the files inside the tmp folder are not deleting upon server restart.
the persist even after restart.
Can you post the exact path to those files and even the name of the file(s) which stay back? By the way, is that causing any trouble? If yes, then please provide more details.
Joined: Jan 27, 2009
<jboss-server-path>/server/mydeployfolder/tmp is the path of the folder in which i am trying to store few temp files when my application runs.
When the server restarts, I do not want these files anymore.
I'm having the same problem. If I ignore my tmp directory for a week, it becomes simply Brobdingnagian (only about 3 gigs, but tens of millions of files--call it a teacup from Brobdingnag) and can take 40 minutes for my wretched OS (win 7 pro) to delete.
(Yes, I have turned off search indexing on the tmp directory and Yes, I'm hitting shift-delete to bypass the recycle bin.)
I have the same project in a VirtualBox-hosted Ubuntu distro and my results are similar, but not as bad.
It would be nice if the tmp directory were automatically deleted when I start the server. That way, it wouldn't build up to unwieldy sizes. (It would also be nice if I could quickly delete a large directory--but that's another story.)
Is there some setting in jBoss Community plugin that determines whether the tmp directory is deleted when the server is started?