Java learning notes (three steps without installing tomcat6w.exein tomcat, tomcat6w.exe

Source: Internet
Author: User

Java learning notes (three steps without installing tomcat6w.exein tomcat, tomcat6w.exe
1. Use Environment

Start and close the service.

 

2.run tomcat6w.exe without authorization

(1) error message:

When Tomcat 6w.exe is run, the system prompts that the specified service has not been installed with unable to open the service 'tomcat 6' or that the specified service has been flashed through.

 (2) solution:

  1>. environment variable configuration

Java environment variables: see Java learning notes (1) JDK installation and configuration

Tomcat environment variables: see Java learning notes (2) TomCat installation and configuration

2>. Run the service. bat install file.

Open the command line Prompt window-> enter the Tomcat installation directory-> enter the bin directory-> enter: service. bat install.

 

3.release tomcat6unclick the 64-bit Windows system to launch tomcat6w.exe.

(1) error message:

In the log file path of Tomcat, the following errors occur in F: \ JAVA \ apache-tomcat-6.0.18 \ apache-tomcat-6.0.18 \ logs:

[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) solution:

For some reason, you cannot upgrade tomcat to a later version. apache-tomcat-6.0.18 does not have a 64-bit version. Download from website!

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.