Open topic with navigation

# Configure Tomcat

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 <u`ser_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)

1. From the Start menu, choose Monitor Tomcat.

   The Apache Tomcat 7.0 Tomcat7 Properties dialog box opens.

2. Click the Java tab.
3. Add `-Djava.awt.headless=true` to the Java Options list.
4. Add `–Dhp.idolsiteadmin.home=<user_specified_directory>` to the Java Options list, where <u`ser_specified_directory`> is the location on your system of the directory that you want to use as the IDOL Site Admin home directory.

5. 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.

6. Click Apply, then click OK to close the dialog box.

© 2013-2015 Hewlett-Packard Development Company, L.P. | Send documentation feedback to HP Autonomy Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hp.com. Help Topic ID: Product: Topic Title: Feedback:

_HP_HTML5_bannerTitle.htm