Note:
In this chapter, we assume that you are using a UNIX based system. Therefore, the commands that are provided in this chapter for your reference are only for UNIX based systems. Commands for Windows based systems may be different.To install the Tomcat Application Server
Download and install a supported JDK.
Decompress the Tomcat archive file:
tar xvfz apache-tomcat-<version>.tar.gz
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>
.)
Create a file named setenv.sh in the <tomcat-home>/bin directory. Add the following lines to the file:
CATALINA_HOME=<tomcat_home> CATALINA_PID="$CATALINA_HOME"/tomcat.pid
Adding tomcat.pid
ensures that the Tomcat process is killed when the shutdown.sh
command is executed with the -force
argument.
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
Start the application server by running the startup command.
<tomcat_home>/bin/startup.sh
Access the following URL in a web browser: http://<hostname>:8080/
This brings you to Tomcat's default homepage.
Shut down the application server by running the shutdown
command.
<tomcat_home>/bin/shutdown.sh -force
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.