After you have installed Tomcat, you must carry out the following configuration changes.
Delete the contents of the Tomcat webapps
directory to remove the default Tomcat 7 web applications.
Caution: Do not carry out this change if you are using your Tomcat installation for other web applications.
In the /etc/default/tomcat7
file (Ubuntu installations), configure the Tomcat JAVA_OPTS
variable as follows to allow more memory allocation and Permanent Generation garbage collection, and set the location of the IDOL Site Admin home directory:
JAVA_OPTS="-Djava.awt.headless=true -Xmx1536m -XX:+UseConcMarkSweepGC" –Dhp.idolsiteadmin.home=<user_specified_directory>"
where <user_specified_directory
> is the location on your system of the directory that you want to use as the IDOL Site Admin home directory.
Note: The number passed to –Xmx
must not exceed the amount of RAM available on your host.
To make the change for Windows installations, use the following procedure.
To configure the JAVA_OPTS variable (Windows installations)
From the Start menu, choose Monitor Tomcat.
The Apache Tomcat 7.0 Tomcat7 Properties dialog box opens.
-Djava.awt.headless=true
to the Java Options list.–Dhp.idolsiteadmin.home=<user_specified_directory>
to the Java Options list, where <user_specified_directory
> is the location on your system of the directory that you want to use as the IDOL Site Admin home directory.
In the Maximum memory pool field, enter 1536
.
Note: This assumes that there is at least 1.5 GB of memory available on your machine.
|