Chapter 2. Configuration and Deployment

In the previous chapter, you have installed Apache Tomcat 7 on DOS (Windows) and non-DOS (Linux/Unix,) operating systems. Now, it's time to discuss the different configuration and deployment strategy tools used by different IT industries.

In this chapter, we will discuss the following topics:

  • Configuration of Tomcat
  • Configuration of the virtual directory
  • Deployment of an application on Tomcat 7

Configuration files and their usage

Apache Tomcat 7 comes with a default setup, which can be directly used for a QA environment. We can customize Tomcat based on the environment specification; components such as Services, Servers, Engine, Connectors, Realm, and Valve can be configured. The Tomcat configuration files are ...

Get Apache Tomcat 7 Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.