JBOSS Admin

Thursday, October 7, 2010

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"/>

posted by Jayanthi Krishnamurthy @ 4:49 PM   0 Comments

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home

Newer›  ‹Older

About Me

Name: Jayanthi Krishnamurthy

View my complete profile

Posts

  • Tomcat

Older Posts Newer Posts

Archives

Subscribe to
Posts [Atom]