Installing Tomcat

N.B. This installation only covers Windows servers.

Checking everything is setup correctly

To ensure everything is ready, open a command prompt and type in the following command:

java -version

If installed correctly, Java version information should be displayed, reporting Corretto-8.

Installing Tomcat

Download Apache Tomcat 9 (ZIP distribution, Java 8 compatible) and extract it to a folder named after the version:

C:\path\to\apache-tomcat-9.0.122

The ZIP already contains a folder named this way, so extracting it will normally produce the right name without you doing anything.

Configure Environment Variables

If required, configure the following environment variables:

CATALINA_HOME=C:\path\to\apache-tomcat-9.0.122
CATALINA_BASE=C:\path\to\apache-tomcat-9.0.122

CATALINA_BASE is optional if it is the same location as CATALINA_HOME.

Installing Tomcat as a Service

Open a Command Prompt as Administrator and run:

C:\path\to\apache-tomcat-9.0.122\bin\service.bat install iGene --rename

This creates a Windows service named iGene. The rest of this guide, and the Tomcat and Java update guides, use that name.

Configure the Service

Configure memory, JVM settings and service options using:

C:\path\to\apache-tomcat-9.0.122\bin\iGenew.exe

On the Java tab, set the Java Virtual Machine path to:

%JAVA_HOME%\bin\server\jvm.dll

Start the Service

Start Tomcat using:

net start iGene

Confirm the Service is Running

Open the following URL in a browser:

http://<server>:8080

If Tomcat is running correctly, the default Tomcat page should be displayed.