Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When running Tomcat as a Windows service, please consult the Tomcat Windows service How-To.


Tomcat 9 Service installer

If you have used the Tomcat 9 service installer the "setenv.bat" will not be used. Instead you can open the tomcat service wrapper that can be found in your tomcat installation folder inside the bin directory.

Image Added

Open the wrapper executable and go to the "Java" tab. Add the following line to the Java Options:

Code Block
titleJava tab
-Dspring.config.additional-location=file:///D:/config/


See the example below:

Image Added


JDBC drivers

When you need to configure JDBC drivers, see Configuring JDBC database drivers for Tomcat.