Versions Compared

Key

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

...

The recommended installation directory is C:\tomcat. Tomcat's installation directory is referred to as <tomcat>/ in <tomcat-install> in this documentation.

Configuring Tomcat

TermWeb need more heap space than the 64MB that is allocated to the Java virtual machine by default. The recommended value is 512MB or higher, but it should not exceed the amount of physical RAM available.

To increase heap space memory in Windows installations started from .bat file:

...

If Tomcat is not installed as a service:

  1. In <tomcat-install>/bin, open the setenv.bat file, or create a new file if it doesn't exist.
  2. Add or modify the line 

    Code Block
    languagebashtext
    set JAVA_OPTS="%JAVA_OPTS% -Xms128m -Xmx512m"

...

  1.  



If Tomcat is installed and running as a service:

  1. Open Start Menu > Apache Tomcat > Configure Apache Tomcat
  2. Select the Java tab
  3. Enter the max heap size in the Maximum memory pool field
  4. Click OkSpecify the following values:
  • Initial memory pool : 128
  • Maximum memory pool : 512

Your configuration should be similar to the screenshot below:

Image Added


Database connection

When Tomcat is installed, please refer to Connecting to Connecting TermWeb to a Database for setting up and configuring the database.

...

In the file <tomcat>/webapps/termweb/WEB-INF/termweb.properties you will find settings that may have to be adjusted according to your environment. Pay extra attention to the termweb.home, base.url and work.dir values.

Info
titlePlease note

All Prior to TermWeb v 3.15, all changes to termweb.properties requires a restart of TermWeb webapp or Tomcat to take effect.

...

See http://logging.apache.org/log4j for more information about logging configuration options.

Set Environment Variable

Set the TERMWEB_HOME environment variable according to the instructions in Setting Environment Variable and copy termweb.properties and log4j.properties to the directory specified by the variable.

Installation complete

Start up Tomcat and check the log files for any errors.

...