Attack on the Java-tomcat installation, configuration is correct, or error

Source: Internet
Author: User

1. Questions

Configuring Apatch Tomcat Process error:

    1. The CATALINA_HOME environment variable is not defined correctly. This environment variable are needed to run

However, the "system environment" has been configured, Catalina_home, Catalina_base, Java_home, java_base

2. Solutions

Ensure that the path ending with Catalina_home, Catalina_base, Java_home, and Java_base contains extra symbols.

2.1. Examples of errors:

 

    1. Catalina_home
    2. C:\Java\apache-tomcat-7.0.34\
    1. Catalina_home
    2. C:\Java\apache-tomcat-7.0.34;  
    1. Catalina_home
    2. C:\Java\apache-tomcat-7.0.34\bin\

2.2. Correct example:

    1. Catalina_home
    2. C:\Java\apache-tomcat-7.0.34

2.3. Path Example:

Java_home            E:\Java\jdk1.6.0_10CATALINA_BASE        E:\Java\apache-tomcat-6.0.29CATALINA_HOME        E:\Java\ Apache-tomcat-6.0.29tomcat_home          E:\Java\apache-tomcat-6.0.29


But I found that all of my configuration is right, but still reported the same error, and finally found that because I did not close the cmd window reopened, re-open the good, hey, continue the following study.

Attack Java-tomcat installation, configuration is correct, or error

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.