Documentation Center

Configuring Apache Tomcat

Apache Tomcat must be configured for Java.

About this task

The configuration actions depend on how you start Tomcat.

Procedure

  1. If you start Tomcat via catalina.bat(sh) or startup:
    1. Navigate to \Tomcat\bin\catalina.bat(sh)
    2. Search for the comment or CATALINA_HOME/endorsed exists
    3. If it exists, delete all endorsed attributes that follow (the set ENDORSE_PROP commands).
  2. (Ignore this step if you use AdoptOpenJDK) If you start Tomcat via Tomcat Monitor:
    1. Navigate to the Java tab.
    2. In Java options, search for the -Djava.endorsed.dirs option. If it exists, delete it.
    3. In Java [version] options, add --add-modules=java.se.ee