...
- you have installed Windows or Windows Server.
- you can login as a user with administration privileges.
- you have installed Java.
- you have set the JAVA_HOME or JRE_HOME environment variable.
Step 1 Download and Install Tomcat
- Download
- To find the latest version, go to the Tomcat downloads page: https://tomcat.apache.org/download-90.cgi
- Find the latest Binary Distributions section, then the Core sub-heading, and click on 32-bit/64-bit Windows Service Installer.
- Install
Run the installer.
When prompted to Choose Install Location, set Destination Folder to a short folder name with no spaces. We recommend:
c:/app/tomcat9
.Warning Do not accept the default Destination Folder as this will result in path names that are too long and/or contain spaces. This will prevent the PhixFlow webapp from starting.
- Accept all other recommended defaults.Set the Tomcat administrator password to something secure.
Step 2 Configure the service wrapper
Anchor | ||||
---|---|---|---|---|
|
You must configure the service wrapper before using it to start Tomcat.
- Click Configure Tomcat.
- Switch to the Java tab.
Add these lines to Java Options:
Java 8
Excerpt | ||
---|---|---|
|
...
|
Java 11
Excerpt | ||
---|---|---|
|
- Add the required memory sizes to Initial Memory Pool and Maximum Memory Pool.
- Switch to the General tab to set the Startup Type. If you want to start/stop Tomcat:
- manually, set Manual
- automatically when Windows starts, set Automatic.
Step 3 Run Tomcat under the service account
Anchor | ||||
---|---|---|---|---|
|
...