Jakarta Tomcat is the most widely used Java servlet and JSP platform in the world. In addition to being the reference implementation for Sun's servlet and JSP specifications, it has a place in hundreds of thousands of web sites, from home-brewed static HTML sites to million-user, dynamic e-commerce sites. Tomcat: The Definitive Guide is a book that anyone developing, administrating, or using Tomcat needs to have on their desk. This book begins with a basic installation of Tomcat on the major operating systems (Windows, Linux, Sun Solaris, OpenBSD, and Mac OS X), but quickly moves into much more advanced territory. You will learn how to set up Tomcat to interact with your system, including automatic startup and shutdown, as well as receive detailed instruction in every configuration option that Tomcat offers. Additionally, you'll learn how to use the various Realm implementations for authenticating users against flat files, databases, and directory servers. You'll also move beyond what the Tomcat program itself offers. This book details the complex interactions between httpd (Apache's popular web server) and Tomcat, and shows how to connect the two properly. In fact, this is the first and only book available that details using the mod_jk2 connector to load balance Tomcat, and it contains exclusive information on advanced clustering using both Apache httpd and Tomcat, including the new Tomcat session replicator. This book also goes into great detail for the security-conscious. You will learn how to set up Tomcat to work with X.509 certificates, run Tomcat within a chroot jail (including a complete C program to automate the process), avoid numerous types of malicious attacks, and filter out bad data from your web applications. The Tomcat log files are covered, including a discussion of how to format the files in a usable fashion. Finally, for the servlet and JSP developer, this book is chock-full of useful tips. The server.xml and web.xml files are discussed in depth, letting you master everything Tomcat has to offer for your web applications. Tomcat's Valve interface and a number of sample implementations are provided, and all included Realm implementations are laid out and explained. You'll get a clear idea of how Tomcat handles the HTTP conversation, receive straightforward debugging instructions, and understand how applications should be written to support clustering.Brittain, Jason is the author of 'Tomcat The Definitive Guide', published 0011 under ISBN 9780596003180 and ISBN 0596003188.