Webucator was willing to work closely with us to identify our needs for training, and they gave us t... More Testimonials »

Apache Tomcat Administration Training

Delivery Options

Class Date and Time Price Pricing Information Register
Feb 24 - 26, 2010 10:00 AM - 5:00 PM ET $1,425.00 or 3 vouchers Register
Mar 24 - 26, 2010 10:00 AM - 5:00 PM ET $1,425.00 or 3 vouchers Register
Apr 21 - 23, 2010 10:00 AM - 5:00 PM ET $1,425.00 or 3 vouchers Register

Class Description

Class Overview

This Tomcat training class is for Web Server administrators who need to be able to install, configure and run Apache Tomcat Web Server. The class covers the details of installing and configuring the Tomcat.

Class Goals

  • Learn about the server.xml configuration file.
  • Understand how Servlets and JavaServer Pages work.
  • Learn how Tomcat compares to J2EE application servers.
  • Learn about the Tomcat installation directories.
  • Learn to deploy Java Web applications.
  • Learn about the web.xml file.
  • Learn about valves, loggers, and security realms.
  • Learn to connect Tomcat to Apache Web Server.
  • Learn to host multiple Web sites.
  • Learn about performance issues and load testing.
  • Learn to use the Tomcat Manager and the Tomcat Administration tool.

Class Outline

  1. Apache and Jakarta Tomcat
    1. Brief history of Apache
    2. The Apache Software Foundation
    3. The Jakarta Project
    4. Tomcat Licensing
    5. The J2EE Technologies
    6. Java Web Development
    7. Servlet/JSP Containers
  2. Java Web Applications
    1. Overview of Servlets
    2. Advantages of Servlets
    3. Lifecycle of a Servlet
    4. Overview of JavaServer Pages
    5. A Simple JavaServer Page
    6. JSP and JavaBeans
    7. JSP Tag Libraries
    8. The Struts Framework
  3. Installing Tomcat
    1. Downloading and Installing Apache Tomcat
    2. Overview of Installing Tomcat
    3. Download and install a JVM
    4. Download Tomcat
    5. Using the Windows installer
    6. Tweak the JVM for performance
    7. Download and install Ant
  4. Tomcat Directories
    1. Examining the Tomcat Installation Directories
    2. Tomcat Directory Structure
    3. The \bin Directory
    4. \common and \shared Directories
    5. The \conf Directory
    6. The \logs Directory
    7. The \server directory
    8. The \work Directory
    9. The \temp Directory
    10. The \webapps Directory
    11. Web Application Directory Structure
    12. Deploying HTML and JSP Pages
    13. Deploying a Web Context
    14. Viewing the JSP Page
    15. Viewing the Generated Code
    16. Lab: Deploying a Web App
  5. Configuring Tomcat
    1. Tomcat Configuration Techniques
    2. Tomcat's Component Architecture
    3. The <Server> Element
    4. The <Service> Element
    5. The <Connector> Element
    6. The <Engine> Element
    7. The <Host> Element
    8. The <Context> Element
    9. The <Logger> Element
    10. The <Realm> Element
    11. The <Valve> Element
    12. The <Listener> Element
    13. The <Loader> Element
    14. The <Manager> Element
    15. The server.xml File
    16. Lab: Modifying server.xml
  6. Deploying Web Applications
    1. Web Application Administration
    2. Deploying Web Applications
    3. The Directory Structure of a Web App
    4. web.xml configuration file
    5. Deployment Descriptors
    6. The <web-app> Element
    7. Mapping a Servlet to a URL
    8. The <resource-ref> Element
    9. The <env-entry> Element
    10. The <ejb-ref> Element
    11. A Sample web.xml file
    12. Lab: Deploying a Web Application
  7. The Tomcat Manager
    1. Deploying and Managing Web Application using the Tomcat Manager
    2. Starting the Tomcat Manager
    3. Tomcat Manager
    4. The Manager Section
    5. Applications
    6. Deploy
    7. Server Information
    8. Creating a WAR File
    9. Lab: Deploying a WAR File
  8. Advanced Features
    1. Using Some of the Advanced Features of Tomcat
    2. Valves
    3. Access Log Valve
    4. Single Sign-on Valve
    5. Remote Address Filter
    6. Remote Host Filter
    7. Request Dumper Valve
    8. Configuring JNDI Resources
    9. JNDI: Java Naming and Directory Interface
    10. Defining a JNDI Resource
    11. The <Environment> Element
    12. The <Resource> Element
    13. Configuring a JavaMail Session
    14. Global Resources
    15. Lab: Using Valves
  9. JDBC Connectivity
    1. Configuring Tomcat to Connect to a Database
    2. Overview of JDBC
    3. JDBC Drivers
    4. Connecting to a Database
    5. Connection Pools
    6. Download and Install MySQL
    7. Configure MySQL for Tomcat
    8. Create a Database in MySQL
    9. Download and Deploy a JDBC Driver
    10. Defining a DataSource in Tomcat
    11. Defining a Data Source Manually
    12. Modifying the Deployment Descriptor
    13. Lab: JDBC Connections
  10. Tomcat Security
    1. Configuring Security on Tomcat
    2. Security Considerations
    3. File System Security
    4. Filesystem Recommendations
    5. The Java Security Manager
    6. Granting Permissions to Java Apps
    7. Java Permissions
    8. Adding Your Own Policies
    9. Enabling the Java Security Manager
    10. Security Manager Tips
    11. Security Realms
    12. Different Types of Realms
    13. Configuring a Realm
    14. Users and Roles
    15. Creating a Data Source Realm
    16. Configuring Tomcat for SSL
    17. Lab: Create a Data Source Realm
  11. Connectors
    1. Connecting Tomcat to Apache
    2. Overview of Connectors
    3. HTTP Connectors
    4. Advantages of Using a Web Server
    5. Connector Protocols
      1. Step 1: Configure an AJP Connector
      2. Step 2: Download mod_jk
      3. Step 3: Create the mod_jk.conf file
      4. Step 4: Start Tomcat
      5. Step 5: Create a Worker
      6. Step 6: Configure httpd.conf
    6. Test the Setup
  12. Shared Hosting
    1. Overview of Shared Hosting
    2. Tomcat Virtual Hosting
    3. Configure Tomcat to enable virtual hosting as a stand-alone server
    4. Configure Tomcat to enable virtual hosting using jk2 or webapp.
    5. Configure Tomcat as Stand-alone
    6. Configure Tomcat with AJP
    7. Separate JVM for Each Host
  13. Load Testing
    1. Using the JMeter Application
    2. Load Testing with JMeter
    3. Install JMeter
    4. Running JMeter
    5. Creating a Test Plan
    6. Configure the Thread Group
    7. Add a Task to the Thread Group
    8. Configure the HTTP Request
    9. Add a Report Listener
    10. Run the Test Plan
    11. Viewing the Results

Class Materials

All students receive a course manual or book and all the class examples.

Students in private onsite classes will also receive:

Technical Requirements

Our computer technical requirements and setup process is easy, with support just a click away.


  • Java ®, all Java-based marks, Hibernate ®, and all Hibernate-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. or its subsidiaries in the U.S. and other countries.
  • MySQL TM and all MySQL-based marks are trademarks or registered trademarks of Sun Microsystems, Inc. or its subsidiaries in the U.S. and other countries.
Client Success
  1. Independent Survey
  2. Client List
  3. Testimonials
Join The Team
  1. Learn how you can become a Webucator Trainer
  2. Career Opportunities
Training Classes
Locations
Live eLearning

Like a class you would go to, but you don't have to go anywhere. More...

Customized Onsite Training

The trainer comes to you and delivers a class customized for your team. More...

Self-Paced eLearning

Our least expensive option. You proceed through the course entirely at your own pace. More...

Reference Library
Partner Programs
© Webucator, Inc. All rights reserved. | Toll Free: 877-932-8228 | UK: 0808-101-3484 | From outside the USA: 315-849-2724| Fax: 315-849-2723