Notes on Java Learning (iii) Tomcat6w.exe operation in free-install version tomcat

Source: Internet
Author: User

1. Use of the environment

Most of the time we use the official website to extract the free version of Tomcat, Compared to installing Tomcat in addition to the installation steps are less than the required environment variables Tomcat6w.exe Run, so the general Java Development version of the installation is sufficient, but if we are not able to deploy the service only startup.bat files, we need to create a new service and can be TOMC At6w.exe start and close the service.

2. Unable to run Tomcat6w.exe

(1) Prompt error:

Run Tomcat6w.exe to indicate that the specified service is not installed unable to open the services ' TOMCAT6 ' or a flash

 (2) Workaround:

  1> environment variable Configuration

Java environment variables: reference Java Learning Notes (i) JDK installation configuration

Tomcat environment variables: reference Java Learning Notes (ii) Tomcat installation configuration

2>. Run the Service.bat install file

Open command Line Prompt window, enter the Tomcat installation directory, enter the bin directory, input: Service.bat install

3. Solve the problem that the Tomcat6 decompression version cannot start Tomcat6w.exe on a 64-bit Windows system

(1) Prompt error:

There are several errors F:\JAVA\apache-tomcat-6.0.18\apache-tomcat-6.0.18\logs in the Tomcat log file path:

[174 JAVAJNI.C] [ERROR]%1 is not a valid WIN32 application.
[994 PRUNSRV.C] [ERROR] Failed creating Java D:\java\jre\bin\server\jvm.dll
[1269 PRUNSRV.C] [ERROR] Servicestart returned 1

 (2) Workaround:

For some reason, Tomcat cannot be upgraded to a higher version, and apache-tomcat-6.0.18 does not have a 64-bit version. From the website http://tomcat.apache.org/ Download Tomcat6.exe and Tomcat6w.exe to replace the local can, now the official website may not be 6.0.18 version of the direct download 6.0 64-bit of any version higher than the 6.0.18 version of the line, note the previous Tomcat6w.exe tab in the parameters recorded, fill in the new TOMCA T6w.exe inside, and then start the service, ok!

Notes on Java Learning (iii) Tomcat6w.exe operation in free-install version tomcat

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.