Tomcat publishing must be configured with Java_home, but can not be configured Catalina_home

Source: Internet
Author: User

Using Tomcat to publish multiple apps on the same server is a regular thing.

Frequently occurring problem, 1: Tomcat multiple applications cannot use the same port.


Today, there is a problem, and tangled for a long time. Recording..

When the first application was released, the Catalina_home was also configured in the environment variable according to the Java Development configuration on the Web.

So when the second app is published, the app is accessed and the page is never found.

Finally, the second app launches the path to the first app.

It was then found that the Catalina_home was configured in the environment variable, so the Startup.bat configuration started with the path of the first application.

Remove the CATALINA_HOME environment variable and let the Tomcat app automatically find the app in the current directory. Ok...

Tomcat publishing must be configured with Java_home, but can not be configured Catalina_home

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.