Go to main content

Oracle® Solaris Cluster Data Service for Apache Tomcat Guide

Exit Print View

Updated: August 2018
 
 

Example: Installing Apache Tomcat 5.5.17 Software on Shared Storage

These steps illustrate how to install Apache Tomcat 5.5.17 software in the directory /global/mnt3/tomcat. As long as only one node is mentioned it needs to be the node where your resource group is online.

  1. Install the Apache Tomcat binaries.
    phys-schost-1# su - tomcat
    phys-schost-1# gzcat apache-tomcat-5.5.17.tar.gz|tar xvf -
    phys-schost-1# gzcat apache-tomcat-5.5.17-compat.tar.gz|tar xvf -
  2. Create your environment script /global/mnt3/tomcat/env.ksh with the following contents.
    cat env.ksh 
    #!/usr/bin/ksh
    JAVA_HOME=/usr/j2se
    CATALINA_HOME=/global/mnt3/tomcat/apache-tomcat-5.5.17
    export JAVA_HOME CATALINA_HOME