Tomcat: The Definitive Guide. Vital Information for Tomcat Programmers & Administrators

by
Format: Paperback
Pub. Date: 2003-06-01
Publisher(s): Oreilly & Associates Inc
List Price: $39.95

Rent Book

Select for Price
There was a problem. Please try again later.

Digital

Rent Digital Options
Online:1825 Days access
Downloadable:Lifetime Access
$33.59
*To support the delivery of the digital material to you, a non-refundable digital delivery fee of $3.99 will be charged on each digital item.
$33.59*

New Book

We're Sorry
Sold Out

Used Book

We're Sorry
Sold Out

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

Jakarta Tomcat is not only the most commonly used open source servlet engine today, it's become the de facto standard by which other servlet engines are measured. Powerful and flexible, it can be used as a stand-alone web server or in conjunction with another server, like Apache or IIS, to run servlets or JSPs. But mastery of Tomcat is not easy: because it's as complex as it is complete. Tomcat: The Definitive Guide answers vexing questions that users, administrators, and developers alike have been asking. This concise guide provides much needed information to help harness Tomcat's power and wealth of features. Tomcat: The Definitive Guide offers something for everyone who uses Tomcat. System and network administrators will find detailed instructions on installation, configuration, and maintenance. For users, it supplies insightful information on how to deploy Tomcat. And seasoned enterprise Java developers will have a complete reference to setting up, running, and using this powerful software The book begins with an introduction to the Tomcat server and includes an overview of the three types of server configurations: stand-alone, in-process, and out-of-process. The authors show how directories are laid out, cover the initial setup, and describe how to set the environment variables and modify the configuration files, concluding with common errors, problems, and solutions. In subsequent chapters, they cover: The server.xml configuration file Java Security manager Authentication schemes and Tomcat users The Secure Socket Layer (SSL) Tomcat JDBC Realms Installing servlets and Java Server Pages Integrating Tomcat with Apache Advanced Tomcat configuration and much more. Tomcat: The Definitive Guide covers all major platforms, including Windows, Solaris, Linux, and Mac OS X, contains details on Tomcat configuration files, and has a quick-start guide to get developers up and running with Java servlets and JavaServer Pages. If you've struggled with this powerful yet demanding technology in the past, this book will provide the answers you need.

Author Biography

Jason Brittain is a Senior Software Engineer at CollabNet Inc., where he works on collaborative software-project-hosting-infrastructure software made up of more than 50 open source software package codebases. Jason's specialties include dynamic web development, Java application servers, high availability and fault tolerance, clustering, and Jakarta Ant build systems. He has contributed to many Apache Jakarta projects and has been an active open source software developer for several years.

Table of Contents

Preface vii
1. Getting Started with Tomcat 1(30)
Installing Tomcat
3(9)
Starting, Stopping, and Restarting Tomcat
12(9)
Automatic Startup
21(8)
Testing Your Tomcat Installation
29(2)
2. Configuring Tomcat 31(38)
Using the Apache Web Server
31(1)
Managing Realms, Roles, and Users
32(15)
Controlling Sessions
47(6)
Accessing JNDI and JDBC Resources
53(3)
Servlet Auto-Reloading
56(1)
Relocating the Web Applications Directory
56(3)
Customized User Directories
59(1)
Tomcat Example Applications
60(1)
Server-Side Includes
61(3)
Common Gateway Interface (CGI)
64(1)
The Tomcat Admin Application
65(4)
3. Deploying Servlet and JSP Web Applications in Tomcat 69(18)
Layout of a Web Application
70(2)
Manual Application Deployment
72(2)
Automatic Deployment
74(2)
The Manager Application
76(3)
Automation with Jakarta Ant
79(8)
4. Tomcat Performance Tuning 87(15)
Measuring Web Server Performance
88(4)
External Tuning
92(1)
Internal Tuning
93(4)
Capacity Planning
97(4)
Additional Resources
101(1)
5. Integration with Apache Web Server 102(28)
Introduction
102(1)
The Pros and Cons of Integration
103(3)
Installing Apache httpd
106(1)
Apache Integration with Tomcat
107(20)
Of Connectors and Configuration Files
127(2)
Summary
129(1)
6. Tomcat Security 130(43)
Introduction
130(1)
Securing the System
131(1)
Multiple Server Security Models
132(1)
Using the -security Option
133(5)
Setting Up a Tomcat chroot Jail
138(8)
Filtering Bad User Input
146(16)
Securing Tomcat with SSL
162(11)
7. Configuration Files and Their Elements 173(38)
server.xml 174 web.xml
196(14)
tomcat-users.xml
210(1)
catalina.policy
210(1)
8. Debugging and Troubleshooting 211(12)
Reading Log Files
211(2)
URLs and the HTTP Conversation
213(5)
Debugging with RequestDumperValve
218(1)
When Tomcat Won't Shut Down
219(4)
9. Building Tomcat from Source 223(10)
Installing Jakarta Ant
224(1)
Obtaining the Source
225(1)
Downloading Support Libraries
226(4)
Building Tomcat
230(3)
10. Tomcat Clustering 233(23)
Clustering Terms
234(1)
The Communication Sequence of an HTTP Request
235(19)
Additional Resources
254(2)
11. Final Words 256(5)
Supplemental Resources
256(3)
Community
259(2)
A. Installing Java 261(6)
B. JSPs and Servlets 267(13)
C. jbchroot.c 280(6)
D. BadInputFilterValve.java 286(11)
Index 297

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.