Instructor-led training
Tomcat Administration for Windows Training in Spokane Valley, Washington
This Tomcat Administration for Windows course provides a comprehensive understanding of Tomcat's key components and features.
What you'll learn
Private Training for Teams
This course is offered as private, instructor-led training for organizations, onsite in Spokane Valley, Washington 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 TrainingPrerequisites
Course Outline
-
Tomcat Introduction
- History of Tomcat
- Version Number and Features
-
Tomcat Components
- Catalina
- Jasper
- Coyote
-
JEE Overview
- MVC Design Pattern
- Servlets/JSP
- Directory Structure
- JNDI
-
Installing Tomcat
- Download
- Installation
- Environment Variables
- Starting the Server
- Verifying Server Operation
- Stopping the Server
-
Tomcat Directory Structure
-
Batch files in /bin
-
.exefiles
-
-
/conf-
server.xml -
context.xml -
web.xml
-
-
/logs -
/webapps -
/lib -
/work -
/temp
-
Batch files in /bin
-
Configuring Tomcat
-
Role of
serverxml -
Instance Layout
- Server
- Service
- Virtual Host
- Context
-
serverxmlelements-
<Server> -
<Service> -
<Connector> -
<Engine> -
<Host> -
<Context> -
<Realm> -
<Valve>
-
-
Role of
-
Deploying Web Applications
-
JEE Specification for Web Applications
- Servlets and JSP
- Model View Controller (MVC) Design Pattern
- Directory Structure
-
web.xml
- 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
-
JEE Specification for Web Applications
-
The Tomcat Manager
- /manager Web Application
-
Managing Web Applications
- Deploying
- Listing Deployed Applications
- Reload Existing Applications
- Starting/Stopping
- Undeploying
- Listing Server Status
- Listing Security Roles in the User Database
-
JNDI Data Sources and JDBC
- JNDI
-
JDBC
- Drivers
- Data Sources in JDBC 20 and Later
- Connection Pooling
-
Commons Database Connection Pooling
- Installation
- Guarding against Application Program Failure
- Configuration
-
Data Source Definition
-
Web Application
contextxml -
contextxmlin/conf -
GlobalNamingResourcesinserverxml
-
Web Application
- Troubleshooting
-
Security
- Web Application Security
-
Java SecurityManager
- Overview
- Standard Permissions
- Tomcat Permissions
- Starting Tomcat with a Security Manager Using the Default Policy File
-
Secure Socket Layer (SSL)
- Generating a keystore File
-
Modifications to
serverxmlfor SSL Support in Tomcat
-
tomcat-usersxml
-
Logging
- Logging Overview
-
Web Application Logging Techniques
-
javautillogging -
javaxservletServletContext -
log4j
-
-
Monitoring and Performance Tuning Tomcat
- Tomcat
- JVM
- JMX (Java Management Extensions)
-
JMX MBeans in Tomcat
- Engine
-
JKMain - String Cache
- Server
- Users
- Configuring Tomcat to use MBeans
-
Accessing MBeans
-
jconsole -
jVisualVM - PSI Probe
-
-
Clustering
- Using Clustering for Replication and Load Balancing
-
Running Multiple Instances of Tomcat
- Directory Setup
- Port Number Modifications
-
All to All with
DeltaManager -
Backup to One Cluster with
BackupManager
-
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_jkConnector 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
/binbatch files and .exe files,/conf,/logs,/webapps,/lib,/workand/temp. - The
server.xmlhierarchy. 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.xmlin/conf, or the web application's owncontext.xmlandweb.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
GlobalNamingResourcesare 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.xmlandGlobalNamingResourcesinserver.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.xmlroles, 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
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.