Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When upgrading tomcat by running:

yum update

on Amazon Linux the ROOT.war file is replaced by the default ROOT.war from the tomcat distribution.

Is there a way to prevent this?

share|improve this question
I'm not familiar with yum but you probably installed a package for Tomcat Sample web app or something like that - that's how it is with apt on debian based distro like Ubuntu. Just don't install it, then your update won't update it. – ETL Mar 7 '14 at 22:39
up vote 0 down vote accepted

What I did was:

yum remove tomcat7-webapps

You then need to reinstall your ROOT.war. The remove the ROOT folder

Restart tomcat

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.