Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

To clean or not to clean $JBOSS_HOME/server/web/tmp directory?

Tags:

jboss

jboss5.x

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.

like image 632
Volodymyr Bezuglyy Avatar asked Jun 10 '10 14:06

Volodymyr Bezuglyy


1 Answers

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.

like image 183
pra Avatar answered Nov 15 '22 10:11

pra