4. Install Java 8. Java 8 is required to be installed on the Application server. Java 8 must be installed prior to installing Tomcat and FootPrints. Instructions for installing the Java 8 JRE can be found at TIA07348 – How to install an Oracle Java 8 JRE for usage in FootPrints Service Core 12. These steps must be performed with full Administrator privileges. Summary:

  • Download the appropriate JRE for your application server from the Oracle web site here. Be sure to choose, download and install the JRE and NOT Server JRE.
  • Download the JRE specific to the operating system on the computer where you will install FootPrints Service Core. An Oracle account and login may be needed before being permitted to download the JRE.
  • Run the JRE installer downloaded from the Oracle web site to install the JRE.

5. Install Tomcat 7.0. When installing to an existing Tomcat server the installer will not modify the configuration of the Tomcat server and the server administrator will need to modify the configuration manually. The steps below need to be performed prior to installing FootPrints Service Core 12.

  • If Tomcat is not already installed, it must be installed before continuing. FootPrints 12 requires Tomcat 7. Other versions of Tomcat are not currently supported by FootPrints 12. FootPrints Service Core on Windows:
  • Download the latest version of Tomcat 7 from the Apache Tomcat web site. a. Download the “32-bit/64-bit Windows Service Installer”
  • Run the Tomcat installer on the system where FootPrints Service Core will be installed.
  • When the installer asks for the path to Java, make sure to select a Java 8 JRE installation. (Should have been installed prior as listed in step 4 of this document.)
  • For additional help installing Tomcat 7, please review the documentation on the Apache Tomcat web site.
  • After installing Tomcat on Windows, be sure to perform the items as listed in Step

6. (This is for a Windows Server OS installation).

6. Configure the Tomcat Server. The Tomcat server requires the following configuration settings to be modified in order for FootPrints Service Core to install and run correctly. They are:

  • Java Virtual Machine (JVM) Memory Settings
  • URIEncoding
  • maxThreads
  • Manage size of catalina.out file
  • (Optional): Enable data compression

The first 3 items should be done prior to install of Footprints.

  • Java Virtual Machine (JVM) Memory Setting When Tomcat is installed as a Windows service, Tomcat is started and stopped using the Tomcat Service Wrapper. The service wrapper can be found in the “bin” folder in the Tomcat installation, .e.g.,

C:\Program Files\Apache Software Foundation\Tomcat 7.0\bin\Tomcat7w.exe

Steps:

  • Start the Tomcat Service Wrapper (Tomcat7w.exe). Refer to the image below when making changes in the Tomcat Service Wrapper. For configuring Tomcat for version 12.1.01 and later ONLY: In the Java Virtual Machine field, use the ellipses button (…) to navigate to the folder where Java 8 is installed and select the jvm.dll file. See the first screenshot below with the Blue border.
  • At the end of the currently existing entries in the Java Options field, add the following option (if not there): -Dfile.encoding=UTF-8
  • In the Initial memory pool box, enter a value of 2048.
  • In the Maximum memory pool box, enter a value of 8192. NOTE: When setting the Maximum memory pool (-Xmx) value, ensure there is enough physical RAM on the server to accommodate this setting as ALL available memory of the server will be used for the Maximum memory pool setting. Therefore, a server should have 10-12GB of RAM as a minimum if a Maximum memory pool setting of 8192 is to be used. And this SHOULD be used.

screenshot

Click “OK” to save your changes and close the dialog.

  • Open the Services module on the Windows server.
  • Change the “Startup Type” of the “Apache Tomcat 7.0 Tomcat7” service from “Manual” to “Automatic”.
  • Restart Tomcat. As mentioned above, if upgrading FootPrints, be sure it is stopped again before proceeding with the upgrade.

 

Author: Cristy Castano