Tomcat Web Application Deployment

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Tomcat Web Application Deployment相关的知识,希望对你有一定的参考价值。

Introduction

  Web application deployment may be accomplished in a number of ways within the Tomcat server.

    Statically; the web application is setup before Tomcat is started

    Dynamically; by directly manipulating already deployed web applications (relying on auto-deployment feature) or remotely by using the Tomcat Manager web application

  The Tomcat Manager is a web application that can be used interactively (via html GUI) or programmatically (via URL-based API) to deploy and manage web applications.

  There are a number of ways to perform deployment that rely on the Manager web application. Apache Tomcat provides tasks for Apache Ant build tool. Apache Tomcat Maven Plugin     project provides integration with Apache Maven. There is also a tool called the Client Deployer, which can be used from a command line and provides additional functionality such as     compiling and validating web applications as well as packaging web application into web application resource (WAR) files.

Installation

  There is no installation required for static deployment of web applications as this is provided out of the box by Tomcat. Nor is any installation required for deployment functions with the   Tomcat Manager, although some configuration is required as detailed in the Tomcat Manager manual. An installation is however required if you wish to use the Tomcat Client Deployer   (TCD).

  The TCD is not packaged with the Tomcat core distribution, and must therefore be downloaded separately from the Downloads area. The download is usually labelled apache-tomcat-   7.0.x-deployer.

A Word On Context

  In talking about deployment of web applications, the concept of a Context is required to be understood. A Context is what Tomcat calls a web application.

 

以上是关于Tomcat Web Application Deployment的主要内容,如果未能解决你的问题,请参考以下文章

重复启动Tomcat时,大概率出现Deploying web application direct

Tomcat - this web application instance has been stopped already

JDK 11,Tomcat卡在Deploying web application directory

stop tomcat web application 优雅地关闭所有 servlet 连接

将外部 application.properties 文件添加到 tomcat 内的 dockerized spring boot web 应用程序

如何在 Spring 的 Tomcat Web 服务器中外部化 application.properties?