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.
It is vital for a scalable configuration that the Apache Tomcat configuration does not differ on the Tomcat hosts.
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.
Start Apache Tomcat as described in How to Verify the Installation and Configuration of Apache Tomcat.
Deploy your Application. For further information refer to http://jakarta.apache.org/tomcat/index.html.
Test your application with appropriate methods.
For example, connect with a web browser to the Host with the appropriate port and select the start page of your application.
Stop Apache Tomcat as described in How to Verify the Installation and Configuration of Apache Tomcat.
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 start page of the deployed application for the Fault Monitoring. In this case the TestCmd is described in Understanding the Sun Cluster Apache Tomcat HA Parameter File can be get /start_page. With this procedure, you monitor Apache Tomcat and the application it is serving.