IP TABLES AND FIREWALL
OPEN LDAP
MRTG
NAGIOS
NIDS USING SNORT
Duration 8 Hours
Apache Tomcat Server is an open source web server used for the deployment of Java based Web applications using Java Servlet and JavaServer Pages technologies. The Java Servlet and JavaServer Pages specifications are developed by Sun under the Java Community Process. Web Servers like Apache Tomcat support only web components. Students will learn the basics of administering a Tomcat server including how to deploy applications, server security, and clustering.
 
Who Should Attend
Server Administrators and Web Developers that are responsible for deploying, managing, and updating Java-based Web applications with Apache Tomcat.
 
Prerequisites
All attendees should be familiar with general principles of Web server administration and have some experience building Web applications.
 
Course Outline
Introduction
Overview of the Apache Software Foundation and the Jakarta Project.
Overview of Java EE as a platform.
Overview of the features and functionality specifically provided by Tomcat
 
Installing Tomcat
Installing the Java Runtime Environment (JRE)
Tweaking the JRE for performance
Performing the actual Tomcat installation
 
Examining the Tomcat installation directories
bin
conf
common (Tomcat 5.5 and earlier)
lib (Tomcat 6 and later)
logs
server (Tomcat 5.5 and earlier)
shared (Tomcat 5.5 and earlier)
temp
webapps
work
 
Configuring Tomcat
server.xml (detailed walkthrough)
web.xml
context.xml
 
Tomcat Valves
AccessLog and FastCommonAccessLog
RequestFilterValve
SingleSignOnValve (by request)
RequestDumperValve (by request)
 
Memory management and JMX monitoring
Understanding Java garbage collection
Using JAVA_OPTS, JMX and JConsole to monitor and tune Tomcat memory usage
Sizing Tomcat's JVM memory heap
Using JMX and JConsole to configure Tomcat via Tomcat's MBeans
Updating Tomcat's configuration via JMX "on the fly" without restarting Tomcat
Load testing with JMeter
 
Tomcat sessions and persistence
Standard session behavior
Disabling session saves across restarts (if desired)
FileStore
JDBCStore
Using to replicate sessions across Tomcat instances
 
Connecting databases with Tomcat applications
Classic JDBC approach
Better approach: JNDI resources
 
Security
File system security
Java security manager
Realms
+ Using the UserDatabaseRealm
+ Using the JDBC realm
SSL
 
Performance tuning strategies
Additional JVM tuning tips
Enabling parallel garbage collection
Building native connectors
Disabling/removing unneeded applications
Tuning incoming connections and database connection pools
Turning off Jasper development mode
Precompiling JSPs
Preloading servlets
 
Tomcat with Apache
Introducing the mod_jk connector [mod_proxy_ajp taught in lieu of mod_jk upon request]
Understanding Tomcat workers
Connecting Tomcat with Apache
Configuring SSL
Tomcat load balancing with Apache
 
Tomcat 5 clustering
Clustering model
+ Load balancing
+ Session sharing
Working with Tomcat clustering
+ Session management
+ Configuring a cluster
+ Testing the cluster