Tomcat Administration for Linux

Tomcat Administration for Linux Courseware (TOM201)

This Tomcat Administration for Linux course provides a comprehensive overview of the essential aspects of administering Tomcat on Linux systems. The course covers the history of Tomcat, its components, and the Java Enterprise Edition (JEE) technologies it supports. Students will learn how to install and configure Tomcat, manage web applications, and understand the directory structure. The course also delves into advanced topics such as JNDI data sources, JDBC, security, logging, monitoring, performance tuning, and clustering. Throughout the course, students will engage with practical examples and hands-on exercises to reinforce their learning.

Publisher: Webucator

Benefits

  1. Comprehensive coverage: This course covers a wide range of topics, from basic installation and configuration to advanced features and optimization techniques, ensuring that students have a thorough understanding of Tomcat administration on Linux systems.
  2. Practical examples: Real-world examples and scenarios are used throughout the course to help students understand how to apply their knowledge in practice.
  3. Hands-on learning: Students will engage in hands-on exercises and activities to reinforce their learning and gain practical experience in administering Tomcat on Linux systems.
  4. Engaging content: The course is designed to be engaging and easy to follow, ensuring that students remain interested and focused throughout their learning experience.
  5. Experienced authors: This courseware is authored by experts in the field of Tomcat administration, ensuring that the content is both accurate and up-to-date.

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

Required Prerequisites

None

Useful Prerequisites

  • Experience with Java is helpful.
License

Length: 3 days | $120.00 per copy

LicenseRequest More InformationDownload Sample CopyRequest Trainer Evaluation Copy
What is Included?
  • Student Manual
  • Student Class Files