Tomcat clean and restart procedure for FTS release 2.0.
What is it?
Occasionally, Tomcat can get in strange state. This often happens after a software upgrade, but has been noted in other cases. The immediate symptom in case of a software upgrade is that when your restart the Tomcat daemon, it is still running the old software version.
In this case, the best option is to stop the Tomcat daemon, clean the configuration work directories and restart the daemon.
Procedure
Follow the procedure below:
- Stop the Tomcat daemon.
service tomcat5 stop
- Delete the content of tomcat's work directory.
rm -rf /usr/share/tomcat5/work/*
- Delete the tomcat webapp cache for non-tomcat applications.
cd /usr/share/tomcat5/webapps/
. Delete rm -rf
all directories except webdav
, balancer
and ROOT
.
- Restart the Tomcat daemon.
service tomcat5 start
Maintainer:
GavinMcCance