This 2 day Tomcat 6.0 Administration for Windows class covers the important topics of administering the Tomcat 6.0 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: Where applicable, differences or changes in Version 7.0 will be addressed.
Goals
- 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.
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
To Hire an AMSĀ Apache Tomcat Administration Subject Matter Expert
Consultant and Instructor who also teaches this class, call 800-798-3901 today!