Java Tomcat is registered as a Windows system service

Source: Internet
Author: User

Registration method:

1. In DOS command line mode, CD to the Tomcat bin directory

CD Tomcatpath

root directory plus : rear carriage return

Go to the Tomcat installation directory, CD bin, enter the Tomcat boot directory

2. In the Tomcat bin directory, you can see a service.bat batch file that is used for us to register Tomcat as a system service.

3. Execute the command service.bat the service name behind the install Xxtomcatserver can be arbitrarily taken, do not conflict with the system's existing service name.

If successful, you can see the following message:

The service ' name ' has been installed

Other:

1. Service Uninstall

If you do not need this service, you can also use simple commands to remove it is OK

Previous steps above, execute command: Service.bat Uninstall service Name

To remove a successful message:

The service ' name ' has been removed

2. Error log tracking

Resources

1, http://blog.csdn.net/huiwenjie168/article/details/42267353

2, http://blog.csdn.net/justanobody/article/details/5677602

Java Tomcat is registered as a Windows system service

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.