-
Install Java JDK 8 or the latest update from http://java.com.
-
Download the latest version of Apache Tomcat from http://tomcat.apache.org.
Example file: apache-tomcat-9.0.72-windows-x64.zip
-
Extract the zip file contents to c:\apache\.
-
Setup and Configure Apache Manager if needed as described here, https://tomcat.apache.org/tomcat-9.0-doc/manager-howto.html. It is not mandatory for Smart Materials Web use.
-
Update the port number to 9090 in the server.xml file available in the <apache-home>\conf location with the following information:
<Connector port="9090" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<Connector port="9090" protocol="org.apache.coyote.http11.Http11NioProtocol" maxThreads="150" SSLEnabled="true">
<SSLHostConfig>
<Certificate certificateFile="###Path-to-Certificate-File.cer###"
type="RSA" certificateKeyFile="###Path-To-Key-File.key###" />
</SSLHostConfig>
</Connector>
-
To install the Apache Tomcat as a service, perform the following steps:
-
Open command prompt as an Administrator.
-
Change directory to <apache-home>\bin.
-
Sample:
Set JAVA_HOME= C:\Program Files\Java\jdk-17.0.1.
-
Execute the following command:
service.bat install
-
-
Change the service startup type to Automatic.
-
Start the Apache Tomcat service.
-
In a browser enter the following to check if Apache Tomcat is installed successfully:
http://<FQDN>:9090