...
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:
- In
<tomcat-install>/bin
, open thesetenv.bat
file, or create a new file if it doesn't exist. Add or modify the line
Code Block language bashtext set JAVA_OPTS="%JAVA_OPTS% -Xms128m -Xmx512m"
...
If Tomcat is installed and running as a service:
- Open Start Menu > Apache Tomcat > Configure Apache Tomcat
- Select the Java tab
- Enter the max heap size in the Maximum memory pool field
- Click OkSpecify the following values:
- Initial memory pool : 128
- Maximum memory pool : 512
Your configuration should be similar to the screenshot below:
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 | ||
---|---|---|
| ||
All Prior to TermWeb v 3.15, all changes to |
...
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.
...