Publisher: O'Reilly Media
Final Release Date: October 2007
Pages: 496
It takes a book as versatile as its subject to cover Apache Tomcat, the popular open source Servlet and JSP container and high performance web server. Tomcat: The Definitive Guide is a valuable reference for administrators and webmasters, a useful guide for programmers who want to use Tomcat as their web application server during development or in production, and an excellent introduction for anyone interested in Tomcat.
Updated for the latest version of Tomcat, this new edition offers a complete guide to installing, configuring, maintaining and securing this servlet container. In fact, with such a wealth of new information, this is essentially a new book rather than a simple revision. You will find details for using Tomcat on all major platforms, including Windows, Linux, OS X, Solaris, and FreeBSD, along with specifics on Tomcat configuration files, and step-by-step advice for deploying and running web applications.
This book offers complete information for:
- Installation and startup procedures
- Configuring Tomcat-including realms, roles, users, servlet sessions, and JNDI resources including JDBC DataSources
- Deploying web applications-individual servlets and JSP pages, and web application archive files
- Tuning Tomcat to measure and improve performance
- Integrating Tomcat with Apache Web Server
- Securing Tomcat to keep online thugs at bay
- Tomcat configuration files-server.xml and web.xml, and more
- Debugging and Troubleshooting-diagnosing problems with Tomcat or a web application
- Compiling your own Tomcat, rather than using the pre-built release
- Running two or more Tomcat servlet containers in parallel
This book also offers an overview of the Tomcat open source project's community resources, including docs, mailing lists, and more. Community interest fueled a strong demand for a Tomcat guide from O'Reilly. The result clearly exceeds expectations.
|
-
Chapter 1 Getting Started with Tomcat -
Installing Tomcat -
Starting, Stopping, and Restarting Tomcat -
Automatic Startup -
Testing Your Tomcat Installation -
Where Did Tomcat Come From? -
Chapter 2 Configuring Tomcat -
A Word About Using the Apache Web Server -
Relocating the Web Applications Directory -
Changing the Port Number from 8080 -
Java VM Configuration -
Changing the JSP Compiler -
Managing Realms, Roles, and Users -
Controlling Sessions -
Accessing JNDI and JDBC Resources -
Servlet Auto-Reloading -
Customized User Directories -
Tomcat Example Applications -
Common Gateway Interface (CGI) -
The Tomcat Admin Webapp -
Chapter 3 Deploying Servlet and JSP Web Applications in Tomcat -
-
Layout of a Web Application -
Deploying an Unpacked Webapp Directory -
Deploying a WAR File -
Hot Deployment -
Working with WAR Files -
The Manager Webapp -
Automation with Apache Ant -
Symbolic Links -
Chapter 4 Tomcat Performance Tuning -
Measuring Web Server Performance -
External Tuning -
Internal Tuning -
Capacity Planning -
Additional Resources -
Chapter 5 Integration with the Apache Web Server -
The Pros and Cons of Integration -
Installing Apache httpd -
Apache Integration with Tomcat -
Tomcat Serving HTTP over the APR Connector -
Chapter 6 Tomcat Security -
Securing the System -
Multiple Server Security Models -
Using the SecurityManager -
Granting File Permissions -
Setting Up a Tomcat chroot Jail -
Filtering Bad User Input -
Securing Tomcat with SSL -
Chapter 7 Configuration -
server.xml -
web.xml -
tomcat-users.xml -
catalina.policy -
catalina.properties -
context.xml -
Chapter 8 Debugging and Troubleshooting -
Reading Logfiles -
Hunting for Errors -
URLs and the HTTP Conversation -
Debugging with RequestDumperValve -
When Tomcat Won't Shut Down -
Chapter 9 Building Tomcat from Source -
Installing Apache Ant -
Obtaining the Source -
Downloading Support Libraries -
Building Tomcat -
Chapter 10 Tomcat Clustering -
Clustering Terms -
The Communication Sequence of an HTTP Request -
Distributed Java Servlet Containers -
Tomcat 6 Clustering Implementation -
JDBC Request Distribution and Failover -
Additional Resources -
Chapter 11 Final Words -
Supplemental Resources -
Community -
Appendix Installing Java -
Choosing a Java JDK -
Working Around Older GCJ and Kaffe JVMs -
Sun Microsystems Java SE JDK -
IBM J9 JDK -
BEA JRockit JDK -
Apple Java SE JDK -
Excelsior JET -
Apache Harmony JDK -
Appendix jbchroot.c -
Appendix BadInputValve.java -
Appendix BadInputFilter.java -
Appendix RPM Package Files -
Colophon |
- Title:
- Tomcat: The Definitive Guide, 2nd Edition
- By:
- Jason Brittain, Ian F. Darwin
- Publisher:
- O'Reilly Media
- Formats:
-
- Print
- Ebook
- Safari Books Online
- Print:
- October 2007
- Ebook:
- December 2008
- Pages:
- 496
- Print ISBN:
- 978-0-596-10106-0
- | ISBN 10:
- 0-596-10106-6
- Ebook ISBN:
- 978-0-596-15883-5
- | ISBN 10:
- 0-596-15883-1
|
-
Jason Brittain Jason Brittain is a Senior Principal Software Engineer for Orbital Sciences Corporation, working at NASA's Ames Research Center on theKepler Space Telescope mission (http://kepler.nasa.gov). Jason is a co-author of Tomcat: The Definitive Guide, now in itssecond edition, and has written some web articles for O'Reilly'sOnJava.com web site. Before joining the team on the Kepler mission, Jason was a SeniorSoftware Engineer at Symantec Corporation working on the BrightmailAntiSpam appliance product line's control center web application. Jason's specialties include Java software development, Tomcat webapplication development and deployment, scalability and faulttolerance, and Apache Ant build systems, and Linux systemadministration. He has contributed to many Apache Jakarta projects,and has been an active open source software developer for severalyears. View Jason Brittain's full profile page. -
Ian F. Darwin Ian Darwin has worked in the computer industry for three decades: with Unix since 1980, Java since 1995, and OpenBSD since 1998. He wrote the freeware file(1) command used on Linux and BSD and is the author of "Checking C Programs" with "Lint and Java Cookbook" (both O'Reilly), as well as over 70 articles, in addition to university and commercial course material on C and Unix. Besides programming and consulting, Ian teaches Unix, C, and Java for Learning Tree International, one of the world's largest technical training companies. View Ian F. Darwin's full profile page. |
Colophon Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Tomcat: The Definitive Guide is a snow leopard. The snow leopard (Uncia uncia) lives in the mountains of Central Asia, a cold, cliffy habitat with sparse vegetation. This medium-sized "big cat" has long body hair, dense underfur, a well-developed chest, and a furry tail that can be wrapped around its face and body for warmth, making it well-suited to the icy, thin air of its native climate. Its white to smoky-gray coloring and dark-gray to black spots blend in with the rocky slopes. Large paws help it walk on snow, and its exceptional leaping ability and feline agility aid in its pursuit of prey. The snow leopard stands about 24 inches at the shoulder, weighs between 60 and 120 pounds, and can kill animals up to three times its weight. Common prey include Himalayan blue sheep, Asiatic ibex, marmot, small rodents, and game birds such as the Tibetan snowcock. Mature snow leopards are solitary animals, living and hunting alone, except during mating season. Young snow leopards are born in the spring and spend their first few months in rocky shelters lined with fur; after that, their mothers lead them on hunts through their first winter. Listed as an endangered species since 1972, the snow leopard population is now estimated to be between 4,500 and 7,500 worldwide. The fur trade, once the main threat to this species, has decreased in recent years, but they are still hunted for their bones, which are used in traditional Chinese medicine as a substitute for tiger bones. The snow leopard's small litters (only two to three cubs per year) make this species particularly vulnerable to extinction. The cover image is from Dover Pictorial Archive. The cover font is Adobe ITC Garamond. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. |
|
Table of Contents
|
Product Details
|
About the Author
|
Colophon
|
 |
|
 |
|
|
|
Recommended for You
|
 |
|
|
|
Customer Reviews
8/25/2009 (7 of 8 customers found this review helpful) 5.0Excellent Wealth of Information - Tomcat The Definitive Guide 2Ed By David Alanis from Undisclosed
|
|
|