EncartaLabs

Apache Tomcat Administration

( Duration: 4 Days )

Apache Tomcat Administration Training course covers the details of installing and configuring for the Tomcat Web Server. Participants will learn the details of the server.xml configuration file, an overview of Servlet and JavaServer Pages, a comparison of Tomcat to J2EE application servers, the Tomcat installation directories, deploying Java Web applications, the web.xml file, valves, logging, security realms, connecting Tomcat to Apache Web Server, hosting multiple Web sites, performance and scalability issues, load testing, clustering, monitoring, the Tomcat Manager, and the Tomcat Administration tool.

By attending Apache Tomcat Administration workshop, Participants will learn to:

  • Explain how Tomcat relates to Java EE (J2EE) and compares to other application servers (e.g. JBoss)
  • Install and setup Tomcat on both Windows and UNIX-type environments
  • Deploy, support, and troubleshoot applications on Tomcat
  • Navigate Tomcat’s directory structure
  • Understand Tomcat architecture and configuration files: server.xml, context.xml, .properties, etc.
  • Understand web application structure and configuration: web.xml
  • Secure Tomcat and applications running on it
  • Set up Tomcat for SSL
  • Tune Tomcat’s performance
  • Explore different load-balancing and high-availability strategies with Tomcat, including server affinity through sticky sessions as well as session replication via Tomcat Clustering

The basic principles of web/application server administration as well as the operating system that you choose to use (Linux, Windows, MacOS X, Solaris). Please note that since Tomcat is largely OS-independent you can use an OS that you are more familiar with (e.g. Windows) during the training course even if you eventually plan on depoying to another OS (e.g Linux).

  • Basic rules of XML (i.e., being able to edit XML files)
  • HTTP protocol (i.e., the stateless nature of HTTP, the need for sessions, HTTP methods, SSL, etc.)
  • Java environments (e.g., memory settings, automatic garbage collection, JDBC)
  • Other Java EE (J2EE) application servers and basic concepts behind Java Web Applications

Web/application server administrators who need to be able to install, configure, run, and tune the Apache Tomcat Application Server.

COURSE AGENDA

1

Intro to JavaEE

  • Overview
  • Relationship to Tomcat
  • Standards vs implementation
  • Servlets/JSPs
  • Role of the application server (i.e. servlet container)
  • Comparison to other web technologies
  • Model-view-controller (MVC) design pattern
  • Quick overview
  • Impact on application design and troubleshooting
2

Apache Tomcat Overview

  • Background of Tomcat
  • Apache Software Foundation
  • Tomcat project
  • Tomcat licensing
  • Uses of Tomcat in the real world
  • Versions of Tomcat
  • Future direction for Tomcat
  • Alternative distributions of Tomcat
3

Installing Apache Tomcat

  • Installing Java
  • Getting Java
  • Java SE vs. Java EE
  • JDK vs. JRE
  • Installing on Unix/Linux/Windows
  • Getting Tomcat
  • Pre-built binary release
  • Using vendor-supplied pre-compiled release
  • What do download?
  • Life-cycle management
  • Which scripts to run?
  • Running in background vs. foreground
  • Understanding the shutdown process
  • Running Tomcat as a system service
  • Installing Tomcat as a NT sevice on Windows
  • Running Tomcat with jsvc on Unix/Linux
  • Using SysV framework to manage auto-start/shutdown
4

Tomcat Directory Structure

  • The bin/ directory
  • The lib/ directory (libraries on Tomcat pre-v6: shared/, common/, server/)
  • Class loading on Tomcat
  • The conf/ directory
  • The context directories
  • The webapps/ directory
  • The temp/ directory
  • The logs/ directory
  • The work/ directory
  • Running multiple Tomcat instances off the single installation
  • CATALINA_HOME vs. CATALINA_BASE
5

Tomcat Architecture and Configuration

6

Logging on Tomcat

  • Default system logging
  • Using Log4J
  • Access Log Valve
  • Request Dumper Valve
7

Deployments and Web Apps on Tomcat

9

Managing Resources on Tomcat

11

Tomcat Performance Tuning

  • Java/JVM tuning
  • Heap sizing
  • Garbage collection policies
  • HotSpot JIT compilers
  • Scaling
  • Approaches
  • Tomcat tuning
  • Connectors
  • JSPs
  • Sessions
  • Scaling
12

High Availability (HA) and Scalability of Tomcat

13

Load Testing with JMeter - Appendix

  • Overview of JMeter
  • Installation
  • Running
  • Creating a Test Plan
  • Configuring Thread Groups
  • Adding Tasks to Thread Groups
  • Configuring HTTP Requester
  • Managing Report Listeners
  • Running Test Plans

Encarta Labs Advantage

  • One Stop Corporate Training Solution Providers for over 3,500 Modules on a variety of subjects
  • All courses are delivered by Industry Veterans
  • Get jumpstarted from newbie to production ready in a matter of few days
  • Trained more than 20,000 corporate candidates across india and abroad
  • All our trainings are conducted in workshop mode with more focus on hands On

View our other course offerings by visiting www.encartalabs.com/course-catalogue

Contact us for delivering this course as a public/open-house workshop for a group of 10+ candidates at our venue

Top