Go to main content

Oracle® Solaris Cluster Data Service for Apache Tomcat Guide

Exit Print View

Updated: June 2017
 
 

How to Verify the Installation and Configuration of Apache Tomcat

This procedure does not verify that your application is highly available because you have not installed your data service yet.

  1. Start Apache Tomcat.

    Switch to the Tomcat user name in the target zone (in the following example, it is root) and change to the directory where the environment script is located. In the following example the Tomcat version is 6.0.28.


    Note -  The output messages of the start and shutdown commands are version dependent.
    # . ./env.ksh
    # cd $CATALINA_HOME/bin
    # ./startup.sh
    Using CATALINA_BASE:   /tomcat/jakarta-tomcat-6.0.28
    Using CATALINA_HOME:   /tomcat/jakarta-tomcat-6.0.28
    Using CATALINA_TMPDIR: /tomcat/jakarta-tomcat-6.0.28/temp
    Using JAVA_HOME:       /usr
  2. Check the Installation

    Start a web browser and connect to the cluster node with http://nodename:8080. If you see the default Apache Tomcat home page, everything is working correctly.

  3. Stop Apache Tomcat.
    # ./shutdown.sh
    Using CATALINA_BASE:   /tomcat/jakarta-tomcat-6.0.28
    Using CATALINA_HOME:   /tomcat/jakarta-tomcat-6.0.28
    Using CATALINA_TMPDIR: /tomcat/jakarta-tomcat-6.0.28/temp
    Using JAVA_HOME:       /usr