A Tomcat distribution contains the following configuration files which are necessary for proper administration of the Web server. Let's see in detail each file:
- catalina.policy : This file contains the security policy permissions for Tomcat 7. It enforces the security policy permissions by JVM on the web application.
- catalina.properties : This file describes the shared definition of the server, shared loader, and JARs, which need to be scanned at the time of the server startup.
- server.xml : This is the main configuration file for Tomcat and it mainly contains the Connector port configuration. It holds critical information, such as the IP address, port, virtual host, context path, and so on.
- tomcat-users.xml : This file is used for authentication, authorization, and role-based definitions. It is used to implement a database of users/passwords/roles for authentication and container-managed security. To add/remove users or assign/unassign roles to existing users, edit this file.
- logging.properties : As the name suggests, it defines the logging properties of the Tomcat instances (such as startup logs).
- web.xml : This file contains the default values for all web applications loaded into this instance of Tomcat, at the time of startup of the Tomcat instance. If a web application has its own deployment descriptor, its content will always override the configuration settings specified in this default descriptor.
- context.xml : The contents of this file will load with every application. Configuration of parameters such as session persistence, Comet connection tracking, and so on, are done here.
Commenti
Posta un commento