Apache Tomcat Administration for Linux Training

Course duration

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.
Available Delivery Methods
Public Class
Public expert-led online training from the convenience of your home, office or anywhere with an internet connection. Guaranteed to run .
Private Class
Private classes are delivered for groups at your offices or a location of your choice.

Course Outline

  1. Tomcat Introduction
    1. History of Tomcat
    2. Version Number and Features
    3. Tomcat Components
      1. Catalina
      2. Jasper
      3. Coyote
    4. JEE Overview
      1. MVC Design Pattern
      2. Servlets/JSP
      3. Directory Structure
      4. JNDI
  2. Installing Tomcat
    1. Download
    2. Installation
    3. Environment Variables
    4. Starting the Server
    5. Verifying Server Operation
    6. Stopping the Server
  3. Tomcat Directory Structure
    1. Batch files in /bin
      1. .exe files
    2. /conf
      1. server.xml
      2. context.xml
      3. web.xml
    3. /logs
    4. /webapps
    5. /lib
    6. /work
    7. /temp
  4. Configuring Tomcat
    1. Role of serverxml
    2. Instance Layout
      1. Server
      2. Service
      3. Virtual Host
      4. Context
    3. serverxml elements
      1. <Server>
      2. <Service>
      3. <Connector>
      4. <Engine>
      5. <Host>
      6. <Context>
      7. <Realm>
      8. <Valve>
  5. Deploying Web Applications
    1. JEE Specification for Web Applications
      1. Servlets and JSP
      2. Model View Controller (MVC) Design Pattern
      3. Directory Structure
      4. web.xml
    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
  6. The Tomcat Manager
    1. /manager Web Application
    2. Managing Web Applications
      1. Deploying
      2. Listing Deployed Applications
      3. Reload Existing Applications
      4. Starting/Stopping
      5. Undeploying
    3. Listing Server Status
    4. Listing Security Roles in the User Database
  7. JNDI Data Sources and JDBC
    1. JNDI
    2. JDBC
      1. Drivers
      2. Data Sources in JDBC 20 and Later
      3. Connection Pooling
    3. Commons Database Connection Pooling
      1. Installation
      2. Guarding against Application Program Failure
      3. Configuration
    4. Data Source Definition
      1. Web Application contextxml
      2. contextxml in /conf
      3. GlobalNamingResources in serverxml
    5. Troubleshooting
  8. Security
    1. Web Application Security
    2. Java SecurityManager
      1. Overview
      2. Standard Permissions
      3. Tomcat Permissions
      4. Starting Tomcat with a Security Manager Using the Default Policy File
    3. Secure Socket Layer (SSL)
      1. Generating a keystore File
      2. Modifications to serverxml for SSL Support in Tomcat
    4. tomcat-usersxml
  9. Logging
    1. Logging Overview
    2. Web Application Logging Techniques
      1. javautillogging
      2. javaxservletServletContext
      3. log4j
  10. Monitoring and Performance Tuning Tomcat
    1. Tomcat
    2. JVM
    3. JMX (Java Management Extensions)
    4. JMX MBeans in Tomcat
      1. Engine
      2. JKMain
      3. String Cache
      4. Server
      5. Users
    5. Configuring Tomcat to use MBeans
    6. Accessing MBeans
      1. jconsole
      2. jVisualVM
      3. PSI Probe
  11. Clustering
    1. Using Clustering for Replication and Load Balancing
    2. Running Multiple Instances of Tomcat
      1. Directory Setup
      2. Port Number Modifications
      3. All to All with DeltaManager
      4. Backup to One Cluster with BackupManager
    3. Enabling Session Replication
      1. Session Persistence Using Shared File System
      2. Session Persistence Using Shared Database
      3. Session Persistence using Shared Database: Database Table
      4. In-memory Replication Using SimpleTcpCluster
    4. Load Balancing Using mod_jk Connector to Apache2x Web Server

Class Materials

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

Class Prerequisites

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

  • Experience with Java is helpful.
Since its founding in 1995, InterSource has been providing high quality and highly customized training solutions to clients worldwide. With over 500 course titles constantly updated and numerous course customization and creation possibilities, we have the capability to meet your I.T. training needs.
Instructor-led courses are offered via a live Web connection, at client sites throughout Europe, and at our Geneva Training Center.