How to update Tomcat5 on CentOS

No GoodNeed ImprovementOKGoodExcellent (No Ratings Yet)
Loading ... Loading ...

1, Make a backup.

cp /var/lib/tomcat5/webapps/ROOT/WEB-INF/web.xml /var/lib/tomcat5/webapps/ROOT/WEB-INF/web.xml_orig

2, Update:

Yum update

3, Make sure Tomcat will start after reboot

chkconfig tomcat5 on

4, Copy web.xml

cp /var/lib/tomcat5/webapps/ROOT/WEB-INF/web.xml_orig /var/lib/tomcat5/webapps/ROOT/WEB-INF/web.xml

5, Restart Tomcat

/etc/rc.d/init.d/tomcat5 restart

Popularity: 1%

Leave a Comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word