Apache Course

course overview

Click to View dates & book now


This course gives an overview of Tomcat before covering the detail of installing and configuring Tomcat Web Server. Students will learn the details of the server.xml configuration file, an overview of Servlet and JavaServer Pages, a comparison of Tomcat to Java EE application servers, the Tomcat installation directories, deploying Java Web applications, the web.xml file, valves, loggers, security realms, connecting Tomcat to Apache Web Server, hosting multiple Web sites, performance issues, load testing, the Tomcat Manager and the Tomcat Administration tool.


This Apache Tomcat Administration course is aimed at application server administrators. It may also benefit developers and system administrators who require a greater understanding of deployment and administration with Tomcat.

Skills Gained

To provide the skills necessary to install,configure,manage,deploy applications to and understand the core aspects of Apache Tomcat.


Delegates are expected to be IT professionals but no prior knowledge of Tomcat is expected.

Attending our Apache Webserver (Win & Linux) course would be highly beneficial.


  • Apache and Jakarta Tomcat
  • Brief history of Apache.
  • The Apache Software Foundation.
  • The Jakarta Project.
  • Tomcat Licensing.
  • The Java EE Technologies.
  • Java Web Development.
  • Servlet/JSP Containers.
  • Java Web Applications
  • Overview of Servlets.
  • Advantages of Servlets.
  • Lifecycle of a Servlet.
  • Overview of JavaServer Pages.
  • A Simple JavaServer Page.
  • JSP and JavaBeans.
  • JSP Tag Libraries.
  • The Struts Framework.
  • Installing Tomcat
  • Downloading and Installing Apache Tomcat.
  • Overview of Installing Tomcat.
  • Download and install a JVM.
  • Download Tomcat.
  • Using the Windows installer.
  • Tweak the JVM for performance.
  • Download and install Ant.
  • Tomcat Directories
  • Examining the Tomcat Installation Directories.
  • Tomcat Directory Structure.
  • The in Directory.
  • common and shared Directories.
  • The conf Directory.
  • The logs Directory.
  • The server directory.
  • The work Directory.
  • The emp Directory.
  • The webapps Directory.
  • Web Application Directory Structure.
  • Deploying HTML and JSP Pages.
  • Deploying a Web Context.
  • Viewing the JSP Page.
  • Viewing the Generated Code.
  • Lab 1: Deploying a Web App.
  • Configuring Tomcat
  • Tomcat Configuration Techniques.
  • Tomcat's Component Architecture.
  • The server.xml File.
  • Lab 2: Modifying server.xml.
  • Deploying Web Applications
  • Web Application Administration.
  • Deploying Web Applications.
  • The Directory Structure of a Web App.
  • web.xml configuration file.
  • Deployment Descriptors.
  • Mapping a Servlet to a URL.
  • A Sample web.xml file.
  • Lab 3: Deploying a Web Application.
  • The Tomcat Manager
  • Deploying and Managing Web Application using the Tomcat Manager.
  • Starting the Tomcat Manager.
  • Tomcat Manager.
  • The Manager Section.
  • Applications.
  • Deploy.
  • Server Information.
  • Creating a WAR File.
  • Lab 4: Deploying a WAR File.
  • Advanced Features
  • Using Some of the Advanced Features of Tomcat.
  • Valves.
  • Access Log Valve.
  • Single Sign-on Valve.
  • Remote Address Filter.
  • Remote Host Filter.
  • Request Dumper Valve.
  • Configuring JNDI Resources.
  • JNDI: Java Naming and Directory Interface.
  • Defining a JNDI Resource.
  • Configuring a JavaMail Session.
  • Global Resources.
  • Lab 5: Using Valves.
  • JDBC Connectivity
  • Configuring Tomcat to Connect to a Database.
  • Overview of JDBC.
  • JDBC Drivers.
  • Connecting to a Database.
  • Connection Pools.
  • Download and Install MySQL.
  • Configure MySQL for Tomcat.
  • Create a Database in MySQL.
  • Download and Deploy a JDBC Driver.
  • Defining a DataSource in Tomcat.
  • Defining a Data Source Manually.
  • Modifying the Deployment Descriptor.
  • Lab 6: JDBC Connections.
  • Tomcat Security
  • Configuring Security on Tomcat.
  • Security Considerations.
  • File System Security.
  • File system Recommendations.
  • The Java Security Manager.
  • Granting Permissions to Java Apps.
  • Java Permissions.
  • Adding Your Own Policies.
  • Enabling the Java Security Manager.
  • Security Manager Tips.
  • Security Realms.
  • Different Types of Realms.
  • Configuring a Realm.
  • Users and Roles.
  • Creating a Data Source Realm.
  • Configuring Tomcat for SSL.
  • Lab 7: Create a Data Source Realm.
  • Connectors
  • Connecting Tomcat to Apache.
  • Overview of Connectors.
  • HTTP Connectors.
  • Advantages of Using a Web Server.
  • Connector Protocols.
  • Step 1: Configure an AJP Connector.
  • Step 2: Download mod_jk.
  • Step 3: Create the mod_jk.conf file.
  • Step 4: Start Tomcat.
  • Step 5: Create a Worker.
  • Step 6: Configure httpd.conf.
  • Test the Setup.
  • Shared Hosting
  • Overview of Shared Hosting.
  • Tomcat Virtual Hosting.
  • Configure Tomcat to enable virtual hosting as a stand-alone server.
  • Configure Tomcat to enable virtual hosting using jk2 or webapp.
  • Configure Tomcat as Stand-alone.
  • Configure Tomcat with AJP.
  • Load Testing
  • Using the JMeter Application.
  • Load Testing with JMeter.
  • Install JMeter.
  • Running JMeter.
  • Creating a Test Plan.
  • Configure the Thread Group.
  • Add a Task to the Thread Group.
  • Configure the HTTP Request.
  • Add a Report Listener.
  • Run the Test Plan.
  • Viewing the Results.

Talk to an expert

Thinking about Onsite?

If you need training for 3 or more people, you should ask us about onsite training. Putting aside the obvious location benefit, content can be customised to better meet your business objectives and more can be covered than in a public classroom. Its a cost effective option. One on one training can be delivered too, at reasonable rates.

Submit an enquiry from any page on this site, and let us know you are interested in the requirements box, or simply mention it when we contact you.

All $ prices are in USD unless it’s a NZ or AU date

SPVC = Self Paced Virtual Class

LVC = Live Virtual Class

Please Note: All courses are availaible as Live Virtual Classes

Trusted by over 1/2 million students in 15 countries

Our clients have included prestigious national organisations such as Oxford University Press, multi-national private corporations such as JP Morgan and HSBC, as well as public sector institutions such as the Department of Defence and the Department of Health.