Tomcat Setup

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_HOME%\bin\java" -version

If installed correctly, Java version information should be displayed.

Installing Tomcat

Download Apache Tomcat 9 (ZIP distribution, Java 8 compatible) and extract it to:

C:\path\to\tomcat

Configure Environment Variables

If required, configure the following environment variables:

CATALINA_HOME=C:\path\to\tomcat
CATALINA_BASE=C:\path\to\tomcat

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\tomcat\bin\service.bat install

Configure the Service

Configure memory, JVM settings and service options using:

C:\path\to\tomcat\bin\tomcat9w.exe

Start the Service

Start Tomcat using:

net start Tomcat9

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.