Show Children Hide Children

Main FTS Pages
FtsRelease22
Install
Configuration
Administration
Procedures
Operations
Development
Previous FTSes
FtsRelease21
FtsRelease21
All FTS Pages
FtsWikiPages
Last Page Update
SteveTraylen
2007-04-10

Tomcat clean and restart procedure

What is it?

Occassionally, Tomcat can get in strange state. This often happens after a software upgrade, but has been noted in other cases. The immediate sympton 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:

  1. Stop the Tomcat daemon. service tomcat5 stop
  2. Delete the content of tomcat's work directory. rm -rf /usr/share/tomcat5/work/*
  3. Delete the tomcat webapp cache for non-tomcat applications. cd /usr/share/tomcat5/webapps/. Delete rm -rf all directories except webdav, balancer and ROOT.
  4. Restart the Tomcat daemon. service tomcat5 start


Maintainer: GavinMcCance


Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2007-04-10 - SteveTraylen
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LCG All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback