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