Apache Tomcat Administration for Windows Training (TMC101)
Course Length: 3 days
Delivery Methods:
Available as private class only
Course Overview
This Tomcat Administration for Windows 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.
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.
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
- .exe files
- /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
- serverxml elements
- <Server>
- <Service>
- <Connector>
- <Engine>
- <Host>
- <Context>
- <Realm>
- <Valve>
- 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
- contextxml in /conf
- GlobalNamingResources in serverxml
- 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 serverxml for 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_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.
Prerequisite Courses
Courses that can help you meet these prerequisites:
Live Private Class
- Private Class for your Team
- Live training
- Online or On-location
- Customizable
- Expert Instructors