Sun Cluster 3.1 Data Service for Apache Tomcat Guide

How to deploy the Apache Tomcat Application

If you configure Apache Tomcat as a failover resource, execute the following steps on one node. If you deploy Apache Tomcat as a scalable configuration, repeat the following steps on every node.


Caution – Caution –

It is vital for a scalable configuration, that the Apache Tomcat configuration does not differ on the Tomcat hosts.


  1. Modify the configuration files server.xml and the Tomcat user configuration to the desired content. For further information refer to http://jakarta.apache.org/tomcat/index.html.

  2. Start Apache Tomcat as described above.

  3. Deploy your Application. For further information refer to http://jakarta.apache.org/tomcat/index.html.

  4. Test your application with appropriate methods. For example connect with a web browser to the Host with the appropriate port and select the startpage of your application.

  5. Stop Apache Tomcat as described above.

The port on which Apache Tomcat is serving, is required for the configuration of the Sun Cluster Apache Tomcat resource.

It is best practice to use the startpage of the deployed application for the Fault Monitoring. In this case the later described TestCmd can be get /startpage. With this procedure you monitor Apache Tomcat and the application it is serving.