Configuring the Application Server on Tomcat10
-
Download current version of the Apache Tomcat server (in this case 10.0.20) and install it on your PC/Server in drive C:
-
In the installation directory: C:\apache-tomcat-10.0.20\bin, edit the files startup.bat and shutdown.bat to set the JAVA_HOME or JRE_HOME directory:
setlocal
set "JRE_HOME=C:\Program Files\Java\jdk-15.0.2"
-
In the C:\apache-tomcat-10.0.20\conf directory, enter the appropriate port number in the server.xml file. In this example, it is "8081":
<Connector port="8081" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
-
Deploy the application directories within the C:\apache-tomcat-10.0.20\webapps directory.
-
Copy the HTML with your links to the LPARs/Applications file in the C:\apache-tomcat-10.0.20\webapps\ROOT directory:
http://ipaddress:8081/RAZLEE-L.HTML
-
Clean old logs in the C:\apache-tomcat-10\logs directory.
-
Clean directories in the C:\apache-tomcat-10.0.20\work\Catalina\localhost directory.