This page is deprecated. Please go here instead.
Apache Tomcat 6.0.14
Date of last revision: 08/14/2007
Tomcat is the servlet container that is used in the official Reference
Implementation for the Java Servlet and JavaServer Pages technologies.
Tomcat help index:
Tomcat can be used on any system that supports jdk-1.5 or higher.
This includes all Sun and Linux systems.
- To setup tomcat in your environment, type:
- To start tomcat, type:
- To view your work:
Once you have started tomcat, find out your port number by typing:
In your web-browser, type following web-address:
NOTE: 'hostname' is where you have started your tomcat
It should be a real hostname (ie. nova12, linux60501) and not an alias (like 'sol' or 'linux').
You can run the command 'hostname' to get this name.
You should see the tomcat example page. Note there are Servlet and JSP examples in the bottom left corner that you can run by clicking on them.
- The variable $CATALINA_BASE is populated with your personal tomcat document root:
$ echo $CATALINA_BASE
This directory and those under it are where you will put your config files, servlets, and JSPs.
- To stop tomcat, type:
- Tomcat currently does not support csh or tcsh.
- Each user is assigned two different port numbers. However, if any conflict
occurs, user shall contact the
- If you encounter an error starting: "You appear to have an existing but old tomcat directory" the simplest fix is to rename your old /webpages/<username>/tomcat/ directory and re-run "setup tomcat" to have it auto-create a new one for you. Then you'll need to migrate over any applications or settings to the new version of tomcat.
Other Information Resources
Other Topics of Interest