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 available in the conf
folder. Let's discuss the configuration properties and their usage.
Tomcat 7, by default, comes with seven configuration files (usually in XML format), and these files are very useful in order to customize Tomcat, based on the...