Installing Tomcat
Install Tomcat for Windows
Follow these procedures to install Tomcat for Microsoft Windows.
Pre-requisites:
• Install Java 8.
• JRE 1.8 or higher is required.
• The 32-bit version of OpenROAD Server requires a 32-bit JRE for the OpenROAD JNI component.
• The 64-bit version of OpenROAD Server requires a 64-bit JRE for the OpenROAD JNI component.
• A Java Virtual Machine will be installed if one is not already installed.
To download Tomcat 9 for Windows
1. Point a web browser to:
https://tomcat.apache.org/download-90.cgi
2. Select the following download: 32-bit/64-bit Windows Service Installer.
In this example, the following was downloaded and saved in the C:\temp directory:
apache-tomcat-9.0.53.exe
This will eventually install a default JRE if no JRE of version Java 8 or later is found on the machine.
To install Tomcat 9 for Windows
1. Double-click the apache-tomcat-<ver>.exe file to launch the installer.
The Welcome to Apache Tomcat Setup frame is displayed.
2. Click Next.
The License Agreement frame is displayed.
3. Click I Agree.
The Choose Components frame is displayed.
4. Click Next.
The Configuration frame is displayed, listing the following:
• Server Shutdown Port: -1
• HTTP/1.1 Connector Port: 8080
• AJP/1.3 Connector Port: 8009
• Windows Service Name: Tomcat9
• Create Shortcuts for all Users: __
• Tomcat Administrator Login (optional):
– User Name: __________________
– Password: ___________________
– Roles: manager-gui
5. If there are no conflicts with the defaults, click Next.
The Java Virtual Machine frame displays a JRE location like this:
C:\Program Files\Java\jre1.8.0_121
6. If this is the location of 64-bit Java Runtime that will be used by Tomcat 9, click Next.
The Choose Install Location frame displays the following:
C:\Program Files\Apache Software Foundation\Tomcat 9.0
7. If this location is acceptable, click Install.
The Apache Tomcat installation commences.
8. When the Completing Apache Tomcat Setup frame appears, click Finish.
To verify that Tomcat 9 is running
1. Launch an Administrative Window: click Start, Actian OpenROAD 6.2 (64-bit), OpenROAD Administrative Command Window.
2. To determine if Tomcat 9 is running, enter the following command:
sc qc tomcat9
If Tomcat 9 is running, the following output will be generated:
[SC] QueryServiceConfig SUCCESS
SERVICE_NAME: tomcat9
TYPE : 10 WIN32_OWN_PROCESS
START_TYPE : 3 DEMAND_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : "C:\Program Files\Apache Software Foundation\
Tomcat 9.0\bin\Tomcat9.exe" //RS//Tomcat9
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : Apache Tomcat 9.0 Tomcat9
DEPENDENCIES : Tcpip
: Afd
SERVICE_START_NAME : NT Authority\LocalService
After starting Tomcat, you may test access to it with a web browser using this URL (replace localhost with the IP address of the machine running Tomcat when testing from a remote machine): http://localhost:8080
Last modified date: 12/20/2023