Tomcat Administration

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, including Tomcat 6.0, 7.0, and 8.0.

Topics Covered:

  • Tomcat Introduction
    • History of Tomcat
    • Version Number and Features
    • Tomcat Components (Catalina, Jasper, Coyote)
    • JEE Overview (MVC, Servlets/JSP, JNDI)
  • Installing and configuring Tomcat (server.xml, context.xml, web.xml)
  • Deploying Web Applications
    • JEE Specification for Web Applications
    • Document Base
    • Context and the Document Base
    • Default Context Descriptor
    • Placing the Web Application Folders and Files under the Application Base
    • Deploying a WAR file
    • AutoDeploy
  • The Tomcat Manager
    • /manager Web Application
    • Managing Web Applications
    • Listing Server Status
    • Listing Security Roles in the User Database
  • JNDI Data Sources and JDBC
    • JNDI Data Sources
    • Accessing relational data with JDBC
    • Commons Database Connection Pooling
    • Data Source Definition in context.xml and server.xml
    • Troubleshooting common data source problems
  • Security
    • Web Application Security
    • Java SecurityManager
    • Working with Secure Socket Layer (SSL)
    • Controlling user access with tomcat-users.xml
  • Logging
    • Logging Overview
    • Web Application Logging Techniques
    • Apache Commons Logging
  • Monitoring and Performance Tuning Tomcat
    • Process of monitoring
    • Tuning Tomcat for optimal performance
    • JMX (Java Management Extensions)
    • JMX MBeans in Tomcat
    • Configuring Tomcat to use MBeans
    • Visual tools for monitoring (jconsole, jVisualVM, PSI Probe)
  • Clustering
    • Using Clustering for Replication and Load Balancing
    • Running Multiple Instances of Tomcat
    • Enabling Session Replication
      • Session Persistence Using Shared File System
      • Session Persistence Using Shared Database
      • Session Persistence using Shared Database: Database Table
      • In-memory Replication Using SimpleTcpCluster
    • Load Balancing Using mod_jk Connector to Apache2x Web Server

Audience:

     The course is designed for Systems Administrators that wish to implement Tomcat in a production environment. The class is taught with Tomcat running on the Linux operating system, therefore students should be comfortable with basic Linux commands.

Prerequisites:

     Familiarity with the Linux operating system is assumed. Experience with Java Web applications is a plus.

Benefits:

     Upon completion of this course the administrator will be able to install, monitor, and maintain a secure corporate Tomcat Servlet Container.

Furnished Materials:

  • PC Workstation for use during training
  • Student Textbook

Recommended Follow-On Course

Length:

  • 3 Days

Price:

  • $1,485

Training Dates:

Sign Up