First--start tomcat at any location

Source: Internet
Author: User

1. Understanding the nature of path is to register an executable fileso we're going to put the directory where the Startup.bat is located in path.

2. At this point we try to use the startup command in CMD, the following information will appear---------traced to a source catalina_home3. So we want to configure the Catalina_home directory, in order to find out, We opened the startup.bat with a text editor because we didn't define catalina_home before, so the program would try to set Catalina_home as the current path, however, the current path is obviously not our Tomcat directory, so that means no bin\  Catalina.bat. In other words, we have to set the correct catalina_home, because startup is the last call to Catalina.bat, so we have to configure Catalina_home, in the Startup.bat file can know that the environment variable has bin \catalina.bat, so it points to the Tomcat installation root directory directly using the Catalina command we got these commands

First--start tomcat at any location

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.