Tomcat 9 is the latest version of Apache’s Tomcat service and can easily be installed on Windows to serve as a convenient way to run Java. There are many features and tools that Tomcat 9 has to offer that can make the deployment of web pages more manageable, including the use of JavaServer Pages. Apache Tomcat is a Java base web server. Without Java servlet can't be run apache tomcat. So you must install Java and tomcat on your windows 7/8.1/10 machine. Java and Tomcat is an open-source software that is used 3 billion devices around the world. Apache Tomcat is an open source servlet engine and a J2EE container. It is very helpful for a developer and it is compliant with almost all the security standard features required for system administrators. Tomcat can be used as a stand-alone web server or embedded into another server, like JBoss or Apache.

5.1 Tomcat Installation Steps

To install the Tomcat Application Server

Apache Tomcat Server 8 Download

Tomcat

Download Apache Tomcat Windows

  1. Download and install a supported JDK.

  2. Decompress the Tomcat archive file:

    tar xvfz apache-tomcat-<version>.tar.gz

  3. Rename the apache-tomcat-<version> directory and move it to a desired location. (The rest of this section refers to the new path of this directory as <tomcat_home>.) Download free pdf bookscisco certified network associate.

  4. Create a file named setenv.sh in the <tomcat-home>/bin directory. Add the following lines to the file:

    Adding tomcat.pid ensures that the Tomcat process is killed when the shutdown.sh command is executed with the -force argument.

  5. Set the JAVA_HOME variable to the JDK folder of the version of Java that will be used. For example:

    export JAVA_HOME=/opt/jdk1.6.0.39

  6. Start the application server by running the startup command.

    <tomcat_home>/bin/startup.sh

  7. Access the following URL in a web browser: http://<hostname>:8080/

    This brings you to Tomcat's default homepage.

  8. Shut down the application server by running the shutdown command.

    <tomcat_home>/bin/shutdown.sh -force

  9. After you have successfully installed Tomcat, you will need to configure Tomcat for WebCenter Sites before installing WebCenter Sites. For information about the WebCenter Sites installation process and WebLogic configuration procedures, see the Oracle Fusion Middleware WebCenter Sites Installation Guide.