Before you start:

Verify that you are attempting to upgrade to the same minor version of the Tomcat release that we support. As an example, if the Cascade CMS installer comes bundled with Tomcat 9.0.33, you will have the ability to upgrade to Tomcat 9.0.45 but not to Tomcat 9.5 (if it becomes available) or Tomcat 10.x.

To find out the current version of Tomcat that Cascade CMS is using in your environment, click Menu -> Administration -> Logs and System Information. Then, locate the Server Information field.

If you are unsure whether or not a particular version of Tomcat is supported, please reach out to support [at] hannonhill.com for more information.

Steps to upgrade Tomcat

  • Stop Cascade CMS.

  • Make a copy of your existing tomcat directory and keep it somewhere safe (and outside of the Cascade CMS installation directory). You'll need this to copy and/or reference certain files for the new Tomcat installation. It can also be used to quickly restore the application if the new version of Tomcat fails.

  • Delete the existing tomcat folder from within the Cascade CMS installation.

  • Download the newer version of Tomcat (core [zip]) from https://tomcat.apache.org and place it where the existing tomcat folder was located in the Cascade CMS installation directory.

  • Extract the content of the zip file. This will produce a folder apache-tomcat-9.0.45, for example.

  • Rename the extracted folder from apache-tomcat-9.0.45 to tomcat.

  • Using the backup of your old tomcat directory, copy the following files from the conf folder into the new tomcat/conf folder:

context.xml 
server.xml
ehcache.properties
web.xml
  • Add execute permissions to the new Tomcat scripts (in tomcat/bin). Example:

$ cd /usr/local/cascade/tomcat/bin
$ find . -name "*.sh" -exec chmod u+x {} \;
  • Using the backup of your old tomcat directory, copy the tomcat/webapps/ROOT folder into the new tomcat/webapps directory.

  • Start Cascade CMS.

Did this answer your question?