Skip to main content

Professional Apache Tomcat

Professional Apache Tomcat

Chanoch Wiggers, Ben Galbraith, Vivek Chopra, Sing Li, Debashish Bhattacharjee, Amit Bakore, Romin Irani, Sandip Bhattacharya, Chad Fowler

ISBN: 978-0-764-54372-2

Oct 2002

552 pages

Select type: Paperback

Product not available for purchase


What is this book about?

Tomcat is an open source web server that processes JavaServer Pages and Java Servlets. It can run as a stand-alone server or be integrated with Apache. Like Apache, the core Tomcat program is relatively simple, but there are many enhancements that can be added to make it much more complex.

What does this book cover?

You will learn how to integrate Tomcat with the Apache HTTP server (and the situations when you should and you shouldn't), how to set up database connectivity through JDBC, and how to ensure your web applications are secure.

This book will provide you, the server administrator, with the necessary knowledge to install and configure Tomcat, as well as many of the most popular enhancements to the Tomcat package. It will help you plan the installation and possible growth options of your site.

Here are just a few of the things you'll find covered in this book:

  • Tomcat 3.x, Tomcat 4.0.x, and Tomcat 4.1.x
  • The Tomcat architecture
  • Tomcat installation and configuration
  • Apache and Tomcat integration using the AJP and WARP connectors
  • Tomcat security with SSL, realms, and the Java Security Manager
  • Shared Tomcat hosting, server load testing, and load balancing
  • Managing and administering web applications
  • JDBC with Tomcat
  • Ant and Log4j

It will also cover some of the tools that can be integrated with Tomcat, such as Ant (for automatically building web applications) and Log4J (for advanced logging).

Who is this book for?

This book is for professionals working with Java web applications. It assumes a certain knowledge of the JSP and Servlet technologies, but only from an administrator's point of view. Knowledge of databases, XML, HTML, networking, and general administrative techniques is also assumed.

Chapter 1: Apache and Jakarta Tomcat.

Chapter 2: JSP and Servlets.

Chapter 3: Tomcat Installation.

Chapter 4: Tomcat Installation Directory and Architecture.

Chapter 5: Basic Tomcat Configuration.

Chapter 6: Web Application Administration.

Chapter 7: Manager Configuration.

Chapter 8: Advanced Tomcat Features.

Chapter 9: Class Loaders.

Chapter 10: HTTP Connectors.

Chapter 11: Web Server Connectors.

Chapter 12: The WARP Connector.

Chapter 13: The AJP Connector.

Chapter 14: Tomcat and IIS.

Chapter 15: JDBC Connectivity.

Chapter 16: Tomcat Security.

Chapter 17: Additional Uses for Ant.

Chapter 18: Log4J.

Chapter 19: Shared Tomcat Hosting.

Chapter 20 Server Load Testing.

Appendix A: Axis.

Appendix B: Apache SSL Setup.


Deployment descriptors and code
ChapterPageDetailsDatePrint Run
8186Missing object method

The code just above the title "Configuring Mail Sessions" has a missing method and won't work:

Context localContext = (context) myInitialContext("java:comp/env");

The code should be:

Context localContext = (Context) myInitialContext.lookup("java:comp/env");


494JAX-RPC QName

The QName class in JAX-RPC 0.9 and eariler has moved from:
in JAX-RPC 1.0.