Books & Videos

Table of Contents

  1. Chapter 1 Getting Started with Tomcat

    1. Installing Tomcat

    2. Starting, Stopping, and Restarting Tomcat

    3. Automatic Startup

    4. Testing Your Tomcat Installation

    5. Where Did Tomcat Come From?

  2. Chapter 2 Configuring Tomcat

    1. A Word About Using the Apache Web Server

    2. Relocating the Web Applications Directory

    3. Changing the Port Number from 8080

    4. Java VM Configuration

    5. Changing the JSP Compiler

    6. Managing Realms, Roles, and Users

    7. Controlling Sessions

    8. Accessing JNDI and JDBC Resources

    9. Servlet Auto-Reloading

    10. Customized User Directories

    11. Tomcat Example Applications

    12. Common Gateway Interface (CGI)

    13. The Tomcat Admin Webapp

  3. Chapter 3 Deploying Servlet and JSP Web Applications in Tomcat

    1. Layout of a Web Application

    2. Deploying an Unpacked Webapp Directory

    3. Deploying a WAR File

    4. Hot Deployment

    5. Working with WAR Files

    6. The Manager Webapp

    7. Automation with Apache Ant

    8. Symbolic Links

  4. Chapter 4 Tomcat Performance Tuning

    1. Measuring Web Server Performance

    2. External Tuning

    3. Internal Tuning

    4. Capacity Planning

    5. Additional Resources

  5. Chapter 5 Integration with the Apache Web Server

    1. The Pros and Cons of Integration

    2. Installing Apache httpd

    3. Apache Integration with Tomcat

    4. Tomcat Serving HTTP over the APR Connector

  6. Chapter 6 Tomcat Security

    1. Securing the System

    2. Multiple Server Security Models

    3. Using the SecurityManager

    4. Granting File Permissions

    5. Setting Up a Tomcat chroot Jail

    6. Filtering Bad User Input

    7. Securing Tomcat with SSL

  7. Chapter 7 Configuration

    1. server.xml

    2. web.xml

    3. tomcat-users.xml

    4. catalina.policy

    5. catalina.properties

    6. context.xml

  8. Chapter 8 Debugging and Troubleshooting

    1. Reading Logfiles

    2. Hunting for Errors

    3. URLs and the HTTP Conversation

    4. Debugging with RequestDumperValve

    5. When Tomcat Won't Shut Down

  9. Chapter 9 Building Tomcat from Source

    1. Installing Apache Ant

    2. Obtaining the Source

    3. Downloading Support Libraries

    4. Building Tomcat

  10. Chapter 10 Tomcat Clustering

    1. Clustering Terms

    2. The Communication Sequence of an HTTP Request

    3. Distributed Java Servlet Containers

    4. Tomcat 6 Clustering Implementation

    5. JDBC Request Distribution and Failover

    6. Additional Resources

  11. Chapter 11 Final Words

    1. Supplemental Resources

    2. Community

  1. Appendix Installing Java

    1. Choosing a Java JDK

    2. Working Around Older GCJ and Kaffe JVMs

    3. Sun Microsystems Java SE JDK

    4. IBM J9 JDK

    5. BEA JRockit JDK

    6. Apple Java SE JDK

    7. Excelsior JET

    8. Apache Harmony JDK

  2. Appendix jbchroot.c

  3. Appendix BadInputValve.java

  4. Appendix BadInputFilter.java

  5. Appendix RPM Package Files

  6. Colophon