Topic: Java

Professional Apache Tomcat 5 (0764559028) cover image

Professional Apache Tomcat 5

Vivek Chopra, Amit Bakore, Ben Galbraith, Sing Li, Chanoch Wiggers
ISBN: 978-0-7645-5902-0
624 pages
May 2004
This title is out-of-print and not currently available for purchase from this site.

Do you think you've discovered an error in this book? Please check the list of errata below to see if we've already addressed the error. If not, please submit the error via our Errata Form. We will attempt to verify your error; if you're right, we will post a correction below.

ChapterPageDetailsDatePrint Run
Admin Web Application No Longer Budndled w/ Tomcat 5.5
The admin web application is not bundled along with Tomcat 5.5 anymore to enhance out-of-box security. Instead, users can download the admin application separately as

Tomcat 5.0 continues to bundle the admin application as of date.
3 39 Errors in Text
In the first paragraph of the "Assigning Port Numbers" section (top of page), there are a few incorrect port assignments. The corrections are below:

POP3 uses port 110, not 25


SMTP uses port 25, not 110


The protocol for port 21 is SSH, not SSL.
5 61 Nesting example beneath second paragraph
The nesting for the default configuration of Tomcat is incorrect.
It should be:
62 First sentence under "The Server Component"
service.xml should read server.xml
under 'The Server Component' First sentence
124 Error in Code
Under the welcome-file-list section, the source code reads:


However, it should read:

184 Change in Path
In the "Adding a Resource Definition to the Application Context Descriptor" section, the path in parenthesis should be:


instead of the current:

307 Unit wrong for parameter removeAbandonedTimeout
In server.xml, the unit of time in the parameter removeAbandonedTimeout is shown in minutes, it should be seconds.
308 Error in Step 2
Step 2 (<resource-ref> entry in web.xml)not needed IF:
the JNDI resource is set as global.
Having the resource defined in the <DefaultContext> means that the <resource-ref> is not necessary in the web.xml file.
15 350 "CREATE TABLE user_roles" does not create dual primary
Code should read:
create table user_roles (
user_name varchar(15) not null,
role_name varchar(15) not null,
primary key (user_name, role_name)
13 Chapter 13 Error of Connector
Tomcat's JK2 Connector was deprecated after the book was released. The latest versions of Tomcat recommend using the JK connector. This Connector will be covered in detail in the next edition of this book ("Professional Apache Tomcat 6").