Are you using a different Java2 SDK, or a different Apache version ? Or maybe your deployment is different -- you need virtual hosting instead of the relatively straightforward method of deployment shown here. Or maybe you just think that my writing sucks.
Well, there is an alternative to just flaming me! There are a lot of other people who have volunteered their time and effort, producing quality documentation for Tomcat. Listed below are some links that you may find useful. Also, if you know of any good sites, or if you want me to link to your site, please email me!
First, some links to pages that explain other deployment methods or environments:
Table 9-1. References On Various Tomcat Deployments
|Tomcat 4.1.27 + Apache 2.0.47 + mod_jk (RH9)||John Turner's excellent HOWTO for using mod_jk instead of mod_jk2 to connect Tomcat and Apache 2. You can find it here. This is for Red Hat Linux 9.|
|Tomcat 4.1.18 + Apache 2.0.43 + mod_jk (Windows XP/2000)||Another excellent HOWTO by John Turner, this time for the Windows platform. You can find it here.|
|Web Services with Tomcat + Apache + Struts + PostgreSQL + OpenSSL + JDBC||Oscar Carrillo's excellent write-up on this daunting configuration. You can find it here, and is well worth the effort working through it.|
|Tomcat 4.0.x/4.1.x Virtual Hosting||Galatea's FlashGuides. Always useful. You can find the details here. There are other flashguides which you can find here.|
|Tomcat 4.1.x + Apache 2 + mod_jk2||Jakarta site's mini-HOWTO for virtual hosting.|
|Concise Tomcat 4.1.x + Sun Java 2 SDK + Apache 2||Michael Cardon has written a more concise article on this, compared to my verbose one. If you're in a hurry, he is your man. Read it here.|
Some interesting articles and reference materials on Tomcat:
Tomcat 5 is an implementation of version 2.4 of the Java Servlet Specifications. Some questions are best answered by going back to this document.
The O'Reilly site has some really useful articles on Java and Tomcat. There's an article on the Top Ten Tomcat Configuration Tips and one on new features in Tomcat 5, What's New in Tomcat 5. You should check the site periodically for new articles.
This is a Sourceforge project that seems to have lapsed. Some useful information here, nonetheless and the writing is a lot better than mine in some places. Plus, there are translations !
This FAQ seems to be compiled from truly frequently asked questions on the Tomcat mailing list.