How to configure Tomcat Hot Start and Tomcat Hot Start

Source: Internet
Author: User

How to configure Tomcat Hot Start and Tomcat Hot Start

(1) When learning javaweb, every time we change the project, we need to redeploy the project. This is too troublesome.

(2) Use the hot start of tomcat to solve this problem:

In the tomcat Directory: Find conf ---- context. xml to open



Just fill in the circle!


(3) If your tomcat is self-contained in myeclipse, you need to find it in your project.


It is in its own work range:



This is my work interval. The first point is that there is a. me_tcat. The other processes in conf are the same as above!


Q: How can I set Serverxml to enable tomcat to automatically restart every time I change the java file?

<Init-param>
<Param-name> development </param-name>
<Param-value> true </param-value>
</Init-param> web. xml file <Context path = "/Windchill" docBase = "D: \ ptc \ Windchill_8.0/codebase"
Debug = "0" reloadable = "true"> modify the reloadable value to true in a configuration file defined at the same time. tomcat can be hot started only when both of them meet the requirements.
Change the value of development to true to avoid starting tomcat.

TOMCAT cannot be hot started

Generally, modification of jsp files does not need to be restarted, and class modifications must be restarted either automatically or manually.

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.