This page describes how to upgrade an existing installation of TermWeb.
...
With TermWeb
...
Stop TermWeb by shutting down Tomcat.
Backing up
- Make a backup of your
<termweb>
directory, typically<tomcat-install>/webapps/termweb.
- 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 newtermweb.war
file for upload and deploy.- Copy file manually
Copy the newtermweb.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:
- Make a backup of your
<termweb>
directory, typically<tomcat-install>/webapps/termweb.
- Perform the update as with the home directory like above.
- 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. - If you have customized layout, copy your
custom/
directory to<termweb-install>
- Restart Tomcat to apply the .properties files.
Congratulations! Your TermWeb installation is now upgraded!
...