Tomcat Install

On Windows systems, download the 32-bit/64-bit Windows Service Installer from the following address:
Tomcat8.5 download
Double-click the downloaded file to start the installation.

Determine the Tomcat port during installation. Tomcat's default port is 8080. If the 8080 port is being used by another program, you have to change it. If Oracle 11g XE uses the 8080, you need to change the Tomcat port. The port number can be changed after installation. You can change it by opening and editing the server.xml file in CATALINA_HOME1/conf directory.

Set the Tomcat administrator username and password during installation. This setting can also be changed after installation. You can change them by opening and editing the tomcat-users.xml in CATALINA_HOME/conf directory.

Visit http://localhost:8080. If you see a cat, installation is a success. The screen showing the cat is the homepage of Tomcat's ROOT application. The location of the ROOT application is CATALINA_HOME/webapps/ ROOT.

When Tomcat starts the service, the Tomcat Monitor icon appears in the system tray menu. If you have not seen the cat, try restarting Tomcat using this Tomcat Monitor.2

  1. CATALINA_HOME represents the root of your Tomcat installation.
    On Windows systems, the full path to CATALINA_HOME is approximately "C:\Program Files\Apache Software Foundation\Tomcat <version>".
  2. When you set the Tomcat port to 8080 and visit http://localhost:8080, If you see the message "Authentication Required Server http:/localhost:8080 requires a user name and a password. The server says: XDB". It is Oracle XDB, not Tomcat, that works with 8080. In this case, you need to change port 8080 to a different number in the CATALINA_HOME/conf/server.xml.
    <Connector port="8080" protocol="HTTP/1.1"
                   redirectPort="8443" />	
    <Connector port="9090" protocol="HTTP/1.1"
                   redirectPort="8443" />