Install Tomcat service under Windows using Service.bat, start stop tomcat service

Source: Internet
Author: User

During project development, only the Tomcat server was previously configured, started, and stopped in MyEclipse

If you only want to use the Tomcat server in your machine and do not want to install MyEclipse, you can use Service.bat

By installing Tomcat into the service management system services.msc on your computer, you can use the DOS command to start or

Stop the Tomcat service.

  

Typically there is a Service.bat file in the Tomcat Bin directory, and if not, go to download one with this file

of Tomcat.

  

First, Win + R, cmd, Enter Open the cmd window, at this time the working directory is in C drive

Second, D: switch directories to D-disk

Third, the CD xx\xx\bin directory switch to the Tomcat bin directory

Four, service install Tomcat service items installed

V, Win + R, services.msc, Enter Open the Service management interface and find the Tomcat service item

determine that the Tomcat service has install, and right-click on the name of the service, mine is TOMCAT7.

Six, Win + R, cmd, Enter, net start tomcat7 start Tomcat

VII. NET stop TOMCAT7 stop Tomcat

Note: The Java that you need to install in your computer

Install Tomcat service under Windows using Service.bat, start stop tomcat service

Related Article

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.