Creating and Deploying an Application Using the Tomcat Template
Deploy a WAR package to the Tomcat service on a host and start the service.
Ensure that the Tomcat has been installed on the target host. If the Tomcat has been installed, remove the Install Tomcat action from the template.
The related deployment actions are as follows.
- Install JDK.
- Install Tomcat.
- Stop Tomcat.
- Select a deployment source.
- Start Tomcat.
- Perform health test through URLs.
Table 1 describes the parameters in the template.
Parameter |
Description |
---|---|
host_group |
Target environment where the application is deployed. |
package_url |
Software package download link. To obtain it, go to the Artifact > Release Repos page. |
service_port |
Port number of a Tomcat application. The default value is 8080. |
tomcat_home_path |
Path of the Tomcat client. The default value is /usr/local/tomcat/apache-tomcat-8.5.38. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot