I've noticed since moving to jboss 5, tmp files for each instance are handled differently. In jboss 4, the entire directory was purged at each jboss restart. In 5, the applications are exploded to uuid-named folders, and are never cleaned up.
This is obviously an architectural change, but I can't seem to find any documentation on this. Is there a mechanism to automate the cleanup within jboss, or do I write a script to purge everything since the last jboss restart? What's the value in the new way of handling tmp files?
Thanks.
-Dom
The cleanup method in use seems to be to edit the bin/run.bat script so that the tmp folder is deleted before JBoss starts. I've got this at the top of run.bat: