Upgrade Java 8 to Java 11 for Apache Tomcat Server

To upgrade Java 8 to Java 11 for Apache Tomcat Server, follow these steps:
  1. Log in to the Apache Tomcat Server as a non-root user.
  2. Update the value for JAVA_HOME from JRE 1.8 to JRE 1.11 in the user .profile. For Example,
    JAVA_HOME=/usr/java/ jdk-11.0.11
  3. Clear the Application cache. Navigate to the following path and delete the files: <Tomcat installation folder>/work/Catalina/localhost/<Application name>/org/apache/jsp
    If you wish to install a new instance of the Apache Tomcat Server, follow these steps:
    1. Install Apache Tomcat Server 9.0.x with Java 11.
    2. Perform the configurations for the newly installed Tomcat server.
      For more information, see Configure Resource Reference in Tomcat Application Server.

    Note:

    • Update the Connector Port in /apache-tomcat-9.0.24/conf/server.xml file to that of the existing Tomcat instance.
    • Note down the new deployment path to perform OFSAA Configurations.