Errata

Tomcat: The Definitive Guide

Errata for Tomcat: The Definitive Guide

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
32
script: tomcat-launchd.sh

The last line of this script...

wait `cat $TOMCAT_JVM_PID`

(note the use back-ticks - they are important for the script to run)

In HTML View is presented as

wait 'cat $TOMCAT_JVM_PID'

with single quotes. Viewing via web *not* using HTML view, correctly displays back-ticks, but selecting then copy/paste and the back-ticks have transformed into single quotes.

Single quote instead of back-tick breaks the script.

The script file downloaded via the examples link is fine.

creacog  Jul 07, 2010  Jul 01, 2010
Printed
Page 77
3rd paragraph

This is in Chapter 2, under JDBC DataSources.

The third paragraph on page 77 reads "You also need to install the JAR file for the database driver... it should be copied from the application's WEB-INF/lib into $CATALINA_HOME/common/lib."

Note that in Tomcat 6, there is no common/lib directory any more. The JDBC jar file(s) probably should go into $CATALINA_HOME/lib under tomcat 6. This blog posting may also be useful: http://nicl.net/2008/07/19/tomcat-6x-doing-it-the-right-way/

Note from the Author or Editor:
Yes, I can confirm that it should instead say $CATALINA_HOME/lib.

Thanks!
--
Jason Brittain

Anonymous  Aug 24, 2008 
Printed
Page 145
Towards the bottom

I believe "would easily saturate our 1 Mb Ethernet link" should be 1Gb.

Note from the Author or Editor:
I can confirm that it should say 1Gb instead of 1Mb.

Anonymous