Publish a javaweb project in Tomcat

Source: Internet
Author: User
First, set the project Export -- war package to be released. the simplest way is to directly throw it to tomcat. the specific path is $ {TOMCAT_HOME}/webapps. tomcat will automatically decompress the war FILE. 2. however, the same name cannot be published in the method 1. you can modify the configuration in this way...

First, set the project Export -- war package to be released.

1. the simplest way is to directly throw it to tomcat.

The specific path is $ {TOMCAT_HOME}/webapps. tomcat will automatically decompress the war FILE

2. but the same name cannot be published in the method 1. this can be done in this case.

Modify the configuration file $ {TOMCAT_HOME}/conf/server. xml

Configure the graffiti according to the style written in the red box. the graffiti is the actual absolute path of the project.

Of course, this is a war package that has been decompressed. In fact, the war can be difficult to understand, but the permission should be set to 755.


Decompress the war package. for example, there is a BSKTOOL. war package.

I want to publish the seventh modification mkdir-p V7/BSKTOOL [when extracting the war package, do not generate a folder with the project name. you need to create it yourself]

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.