After downloading the Tomcat, you will set up something to make it work.
1. Set the JAVA_HOME to start the Tomcat.
Add the follong lines into the /bin/catalina.sh
#------------------------------------------------------------------------------ #Add by Robert Lee - Only the JAVA_HOME is mandatory.
JAVA_HOME="../../jdk1.5.0_15" export JAVA_HOME
#------------------------------------------------------------------------------
2. Make sure there is no space in the java path or tomcat path.
3. Add the role for manager and administrator. Add the following lines in /conf/tomcat-users.xml <role rolename="manager"/> <role rolename="admin"/> <user username="sys" password="manager" roles="admin,manager"/> Then you can log in the manager and administration interface by webconsole.