...
You must configure the service wrapper before using it to start Tomcat.
- Open Tomcat Properties. If you need further details on how to do this, see: Tomcat start/ stop, open properties
- Switch to the Java tab.
Add these lines to Java Options:
- Check that the location of the GC (Garbage Collection) log file is correct; in the examples below, this
C:\tomcat\logs
- Check that the location of the GC (Garbage Collection) log file is correct; in the examples below, this
Java 8
Excerpt | |
---|---|
|
...
|
Java 11
Excerpt | ||
---|---|---|
|
- Add the required memory sizes to Initial Memory Pool and Maximum Memory Pool
...
- ; see Tomcat Planning for details of estimating Tomcat's memory allocation
- 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
...
a service account
Anchor | ||||
---|---|---|---|---|
|
You do not need to run Tomcat under a service account for temporary or ad-hoc systems. In this case you can use the default Local System account.
...