Tomcat application deployment order

1, Server.xml lower Host through the deployment descriptor Context ID, deploying such applications not be shown in the log. Note that when content is deployed war file, if the Host is set to extract the war, the property is not set path, but after extracting a file name for the folder context path.

2, engine configuration folder name / host name of the folder in a separate Context configuration file.

3, Host of appBase folder application, after the first war folder.

Deploying means starts the application and establishing correspondence between an application and the context path, but every context path only once deployed, i.e., when the order according to the deployment, if the context has been previously deployed path, behind the same context path will be deployed with the corresponding be ignored.

The same host, protocol, port, if you want to remove the context of direct access path, may be provided in the Context Server.xml deployment descriptors, path is empty, and in the case where the package can extract war, war package can not be applied, otherwise the application will not be here for the deployment descriptor identifies the null context, and after extracting file or folder name.

Guess you like

Origin www.cnblogs.com/StarkBrothers/p/11756374.html