000018779 - How to clear cache on Apache Tomcat 5.x

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000018779
Applies ToApache Tomcat 5.x
IssueHow to clear cache on Apache Tomcat 5.x
Customizations to RSA Security-provided .JSP pages are not taken into effect on Apache Tomcat 5.5
CauseApache Tomcat has built-in caching features that cause custom modifications to .JSP page to not be displayed to users. This cache is written to disk, and is not updated after restarting Apache Tomcat.
ResolutionTo clear cache on Apache Tomcat, follow these steps:

1. Shut down Tomcat

2. Locate the Tomcat installation directory, e.g. C:\Program Files\Apache Software Foundation\Tomcat 5.5\

3. The cached applications are stored within [Tomcat Installation Directory]\work\Catalina\localhost\ directory - open this folder

4. You will see your customized web application within this directory, e.g. myApplication.war [Tomcat Installation Directory]\work\Catalina\localhost\webapps_myApplication

6. Delete the cached application folder, e.g. \webapps_myApplication

7. Restart Tomcat for changes to take effect - a new \webapps_myApplication folder will be created in the localhost directory with your new changes

8. Access your application from a web browser and you should see your new customized .JSP web pages
Legacy Article IDa29628

Attachments

    Outcomes