Windows Settings tomcat to start the service automatically

Source: Internet
Author: User

1. Download the no-install Tomcat package, unzip

2. Configure Environment variables:

Click New to create a variable named: catalina_home

The variable value is: The location of the Tomcat decompression file, e.g. F:\apache-tomcat-7.0.65

Then, under the variable name path, add the following;%catalina_home%\bin\;

3. Open the Command window, that is: Start and run-->cmd--> carriage return

4. Then open the Bin directory under the Tomcat folder with a service.bat to drag the file to the Command window.  Enter. How to do nothing wrong will only print a word. Otherwise check if the above steps are wrong

5. Then enter Service.bat install Tomcat (add Tomcat to the service) under the Command window

6. Open the service, find Tomcat, then modify it to start automatically and enter localhost:8080 in the browser to access the Tomcat page, which is the successful

If you want to uninstall the Tomcat service, the command is as follows: Service.bat uninstall Tomcat

Windows Settings tomcat to start the service automatically

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.