Skip to main content

Instructor-led training

Tomcat Administration for Windows Training in East Point, Georgia

This Tomcat Administration for Windows course provides a comprehensive understanding of Tomcat's key components and features.

What you'll learn

This Tomcat Administration for Windows course provides a comprehensive understanding of Tomcat's key components and features. Students will learn about Tomcat's history, components, and JEE overview. The course covers essential topics such as installing Tomcat, understanding the directory structure, and configuring the server. Additionally, students will gain practical knowledge on deploying web applications, using the Tomcat Manager, working with JNDI Data Sources and JDBC, implementing security measures, and logging. The course also delves into monitoring, performance tuning, and clustering techniques to ensure optimal Tomcat performance.

Private Training for Teams

This course is offered as private, instructor-led training for organizations, onsite in East Point, Georgia or live online. Dates, delivery format, and course content are arranged around your team's requirements.

This course is not currently scheduled as a public class for individual enrollment.

Request Group Training

Prerequisites

None

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

What makes Tomcat administration hard to master

Tomcat is easy to start and hard to run well. Most of the difficulty is in understanding how a handful of XML files and components interact, not in any single command. The syllabus builds in that order.

  • Components and layout first. Catalina (the servlet container), Jasper (JSP) and Coyote (connectors) are introduced alongside a JEE overview covering the MVC pattern and servlets/JSP. The directory tour then covers the /bin batch files and .exe files, /conf, /logs, /webapps, /lib, /work and /temp.
  • The server.xml hierarchy. Server, Service, Connector, Engine, Host, Context, Realm and Valve nest inside one another. A common misconception is that settings are global. In practice what applies to an application depends on where it is declared: server.xml, context.xml in /conf, or the web application's own context.xml and web.xml.
  • Deployment variants. Document base, WAR deployment, AutoDeploy and the Tomcat Manager look interchangeable until a reload or undeploy leaves stale files behind.
  • JNDI data sources. JDBC drivers, connection pooling and the choice between a per-application definition and GlobalNamingResources are a frequent source of startup failures, which is why the syllabus includes troubleshooting.
  • Security and tuning. The Java SecurityManager and its permissions, SSL keystores, tomcat-users.xml, JMX MBeans and tools such as jconsole, jVisualVM and PSI Probe each add a layer that can break a working server.
  • Clustering last. DeltaManager, BackupManager, session persistence through a shared file system or database, SimpleTcpCluster and mod_jk load balancing depend on everything before them.

Who it suits and what to take around it

The course is general-level, with no prerequisites listed. It suits Windows administrators, support engineers and developers who install, configure and keep Tomcat running. Basic familiarity with web applications and with reading XML will make the configuration sections easier to follow.

Teams that run Tomcat on Linux or Unix servers can look at Tomcat Administration for Linux. It covers the same server in the environment where many production deployments end up. The syllabus ends with load balancing through the mod_jk connector to an Apache 2.x web server, so Apache Web Server Administration is a natural companion for the front-end half of that setup. Related courses are listed in the Linux Unix courses and learning guide.

Illustrative scenarios

The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.

  • Database-backed application. A team might move an application from hard-coded JDBC connections to a pooled data source. That involves choosing between a web application context.xml and GlobalNamingResources in server.xml, and then diagnosing the failure when the driver is not on the classpath.
  • Hardening a server. An administrator might enable SSL by generating a keystore and editing the Connector, restrict Manager access through tomcat-users.xml roles, and start Tomcat under a security manager with the default policy file.
  • Scaling out. An operations group might run several instances with separate directories and ports, replicate sessions with SimpleTcpCluster, and put an Apache web server in front using mod_jk. They would watch heap and thread behavior through JMX MBeans in jconsole.

AI coding assistants and Tomcat administration

AI coding assistants are useful for drafting a Resource definition, a log4j or java.util.logging configuration, a Windows batch wrapper that sets environment variables, or a first-pass explanation of an unfamiliar server.xml.

They fail in predictable ways on this material:

  • They blend advice across Tomcat releases and pooling libraries, so they may suggest attributes or class names that your installation does not recognize.
  • They return Linux paths and shell scripts for a Windows installation.
  • They place a setting in the wrong scope, such as global when it should be per-application.
  • They suggest shortcuts like disabling the security manager or leaving Manager access open.
  • They produce clustering snippets that look plausible but never replicate sessions.

To verify, apply every change to a test instance first. Read the startup output in /logs and the Manager's server status. Confirm the expected MBeans in jconsole or jVisualVM. For clustering, stop one instance during a live session and check that the session survives. Check configuration against the documentation for the Tomcat version you run.

Frequently asked questions

What level is this course and are there prerequisites?

It is a general-level, 3-day course with no prerequisites listed. Basic familiarity with web applications and XML files is helpful, but the course introduces Tomcat's components and a JEE overview from the start.

What does the course cover?

Installing and starting Tomcat, the directory structure, server.xml configuration, deploying web applications and WAR files, the Tomcat Manager, JNDI data sources with JDBC and connection pooling, security (SecurityManager, SSL, tomcat-users.xml), logging, JMX monitoring and tuning, and clustering with mod_jk load balancing.

Can the course be delivered privately for our team?

Yes. HSG delivers private training for organizations, either onsite at the client's location or live online.

Can the content be customized?

Private training can be customized, including tailoring to the technology versions your organization uses. Request a training proposal to discuss your environment.

Training locations

Tomcat Administration for Windows training across the U.S. and beyond.

We provide private Tomcat Administration for Windows training for organizations, onsite at your location or live online, throughout the United States and internationally.

View all Tomcat Administration for Windows training locations

Train your team with HSG

Private, instructor-led training customized for your organization.

  • Onsite or live online delivery
  • Customized curriculum
  • For a single employee or an entire team
  • Flexible scheduling
  • Experienced instructors
Request Group Training

Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com

Ready to train your team?

Let's customize this training for your organization.

Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.