Tomcat - Configuration files and their usageApache Tomcat 7 comes with a default setup, which can be directly used for a QA environment. We can customize Tomcat based on the environment specifi cation; components such as Services, Servers, Engine, Connectors, Realm, and Valve can be confi gured. The Tomcat confi guration fi les are available in the conf folder. Let's discuss the confi guration properties and their usage. Tomcat 7, by default, comes with seven confi guration fi les (usually in XML format), and these fi les are very useful in order to customize Tomcat, based on the environment needs. We shall install in the production or development environment. It's very important from an administrator's point of view, to know about the confi guration fi les and their usage in the Tomcat environment. Let's discuss the confi guration properties one-by-one, as follows:
Any changes made in the server.xml fi le will be in effect
after restarting the Tomcat instance.
Application level resources are not defi ned in the web.xml
of the confi guration folder. It would be better to defi ne these
in the application web.xml.
|