Tomcat
1) Tomcat installation on RHEL 5
Download the apache-tomcat-6.0.29.tar.gz and extract it to /opt folder
2) Change ports (if required)
If you would like to change ports from default Tomcat installation, edit /opt/apache-tomcat-6.0.29/conf/server.xml with desirable ports.
3) Security
Edit /opt/apache-tomcat-6.0.29/conf/tomcat-users.xml.
Add these lines
<role rolename="manager"/>
<user username="tomcatadm" password="tomcatadm" roles="manager"/>
Save
4) Start server
Execute /opt/apache-tomcat-6.0.29/conf/startup.sh
5) Hit http://ip_address:8080/
Click on Tomcat Manager
Login using tomcatadm/tomcatadm and access manager
6) Enable Clustering
Uncomment the following line in server.xml
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>