Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page describes how to upgrade an existing installation of TermWeb.

...

With TermWeb

...

Stop TermWeb by shutting down Tomcat.

Backing up

  1. Make a backup of your <termweb> directory, typically <tomcat-install>/webapps/termweb.
  2. Make a backup of the TermWeb database.

Install the new TermWeb version

...

Home directory

If TERMWEB_HOME environment variable is set and termweb.properties and log4j.properties (and optionally custom/ directory, if your installation has custom layout or design) is stored in the directory defined by the variable, do one of the following to update:

  • Upgrade in Tomcat Manager
    If you have Tomcat Manager installed you can stop and undeploy TermWeb there. Then select the new termweb.war file for upload and deploy.

  • Copy file manually
    Copy the new termweb.war to <tomcat-install>/webapps (overwriting the

...

  • old termweb.war)

...

It is recommended to restart Tomcat after the upgrade in both cases, since Tomcat keeps old classes in memory on application reload and will eventually run out of memory if not fully restarted.

Without TermWeb Home directory

If you are not using TERMWEB_HOME and/or you are upgrading to a TermWeb version lower than 3.15, do the following:

  1. Make a backup of your <termweb> directory, typically <tomcat-install>/webapps/termweb.
  2. Perform the update as with the home directory like above.
  3. Copy your old <termweb-install>/WEB-INF/termweb.properties and  and <termweb-install>/WEB-INF/log4j.properties to the <termweb> directory. to the <termweb> directory.
  4. If you have customized layout, copy your custom/ directory to <termweb-install>
  5. Restart Tomcat to apply the .properties files.

(tick) Congratulations! Your TermWeb installation is now upgraded!

...