开发者

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

We have script that restarts JBoss.

Should we clean开发者_StackOverflow社区 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.


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.


JBoss 5 dies not automatically clean these folders. Whenever I see issues with error deploying the ear file, I first clean up the rver/all/tmp folder. I am not sure under what circumstances it really helps, but I have not seen any ill effects of deleting the files there. Just make sure that jboss server is shutdown before you delete the contents.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜