Application Server Private

Apache Tomcat Administration for Linux Training (TMC201)

This Tomcat Administration for Linux class covers the important topics of administering the Tomcat server including installation, directory structure, configuration using server.

Register or Request Training

  • Private class for your team
  • Live expert instructor
  • Online or on‑location
  • Customizable agenda
  • Proposal turnaround within 1–2 business days

Course Overview

This Tomcat Administration for Linux class covers the important topics of administering the Tomcat server including installation, directory structure, configuration using server.xml, web application deployment, the manager tool, JNDI data sources, logging, and monitoring and management of the server.

Note: This course is appropriate for users of all versions of Tomcat.

Course Benefits

  • Learn about the history of Tomcat.
  • Learn how to install Tomcat
  • Learn about the directory structure and batch files.
  • Learn how to configure Tomcat.
  • Learn how to work with Web applications.
  • Learn to work with the Tomcat Manager including how to assign security roles.
  • Learn to work with JNDI data sources and JDBC
  • Learn about security and permissions.
  • Learn how to generate a keystore file.
  • Learn logging techniques.
  • Learn how to monitor Tomcat's performance.
  • Learn about clustering including directory setup.

Delivery Methods

Private Class
Delivered for your team at your site or online.

Course Outline

  1. Tomcat Introduction
    1. History of Tomcat
    2. Version Number and Features
    3. Tomcat Components
    4. JEE Overview
  2. Installing Tomcat
    1. Installation
    2. Environment Variables
    3. Starting the Server
    4. Verifying Server Operation
    5. Stopping the Server
    6. Testing Tomcat (Exercise)
  3. Tomcat Directory Structure
    1. Batch files in /bin
    2. Primary Configuration Files
    3. /logs
    4. /webapps
    5. /common
    6. /work
    7. Getting Acquainted with the /work Directory and Generated Servlets (Exercise)
  4. Configuring Tomcat
    1. Role of server.xml
    2. Instance layout
    3. server.xml elements
    4. Testing the Access Log (Exercise)
  5. Deploying Web Applications
    1. JEE Specification for Web Applications
    2. Document Base
    3. Context and the Document Base
    4. Default Context Descriptor
    5. Placing the Web Application Folders and Files under the Application Base
    6. Deploying a WAR file
    7. AutoDeploy
    8. Deploying a Web Application to Tomcat Using a WAR file (Exercise)
    9. Deploying a Web Application to Tomcat Using a Context Descriptor File (Exercise)
  6. The Tomcat Manager
    1. /manager Web Application
    2. Managing Web Applications
    3. Listing Server Status
    4. Listing Security Roles in the User Database
    5. Administration Tasks Using Manager (Exercise)
  7. Jndi Data Sources And Jdbc
    1. JNDI
    2. JDBC
    3. Commons Database Connection Pooling
    4. Data Source Definition
    5. Troubleshooting
    6. Defining and Testing a JNDI Data Source (Exercise)
  8. Security
    1. Web Application Security
    2. Java SecurityManager
    3. Secure Socket Layer (SSL)
    4. tomcat-users.xml
    5. Creating DataSource Realm Authentication Database and Restricting Access to Cool Garden Tools Web Application (Exercise)
    6. Using DataSourceRealm for manager Application Authentication (Exercise)
  9. Logging
    1. Logging Overview
    2. Web Application Logging Techniques
    3. Logging with java.util.logging (Exercise)
    4. Formatting the Access Log (Exercise)
  10. Monitoring And Performance Tuning
    1. Tomcat
    2. JVM
    3. JMX (Java Management Extensions)
    4. JMX MBeans in Tomcat
    5. Configuring Tomcat to use MBeans
    6. Accessing MBeans
    7. Using jconsole to Monitor and Manage Tomcat (Exercise)
  11. Clustering
    1. Using Clustering for Replication and Load Balancing
    2. Running Multiple Instances of Tomcat
    3. Enabling Session Replication
    4. Load Balancing Using mod_proxy Connector With Apache 2.4 Web Server
    5. Setting up Tomcat Clustering for High Availability (Exercise)

Class Materials

Each student receives a comprehensive set of materials, including course notes and all class examples.

Class Prerequisites

Experience in the following would be useful for this Tomcat class:

  • Experience with Java is helpful.

Have questions about this course?

We can help with curriculum details, delivery options, pricing, or anything else. Reach out and we’ll point you in the right direction.

}