Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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
1  
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 at 22:39

1 Answer 1

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

 
discard

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.