tags:

views:

135

answers:

1

We have script that restarts JBoss.
Should we clean following directories in this script:

$JBOSS_HOME/server/web/tmp
$JBOSS_HOME/server/web/work
$JBOSS_HOME/server/web/data

Or JBoss should clean all old files in these directories automatically?

Our clients complains that there are very old files in these directories.

+2  A: 

Don't have experience with jboss 5, but in prior versions the contents of those directories sometimes got corrupted and had to be manually cleared. So we added it to our restart script. Haven't noticed any ill effects.

pra
Do you clean all of these directories?
Vladimir Bezugliy
Exactly tmp/deploy, work, and data
pra