Configuring Apache Tomcat
Apache Tomcat must be configured for Java.
About this task
The configuration actions depend on how you start Tomcat.
Procedure
- If you start Tomcat via
catalina.bat(sh)or startup:- Navigate to \Tomcat\bin\catalina.bat(sh)
- Search for the comment
or CATALINA_HOME/endorsed exists - If it exists, delete all endorsed attributes that follow (the
set ENDORSE_PROPcommands).
- (Ignore this step if you use AdoptOpenJDK) If you start Tomcat via Tomcat Monitor:
- Navigate to the Java tab.
- In Java options, search for the
-Djava.endorsed.dirsoption. If it exists, delete it. - In Java [version] options, add
--add-modules=java.se.ee