========================================================== =====
I have passed the test in this article!
========================================================== =====
Question: Integration of Apache2 and Tomcat4 in Windows2000
By robornet
Date: 2002-10-30
Reason: After a java project has been running for a period of time, the latest integrated configuration of Apache2 and Tomcat4 cannot be found at the time of delivery. Then I read the online data of jakarta for half a day, refer to previous articles by netizens,
I wrote this configuration document for your reference. Thank you!
Directory:
I. Software preparation
Ii. Software Installation
Iii. Initial Configuration and Testing
Iv. Integrated Configuration
V. Full-line testing
Vi. Deficiency
7. Thanks
8. Description
Steps:
I. Software preparation:
Suppose you have a hard software environment that runs win2000 normally.
1. j2sdk1.4.1: Download To http://java.sun.com/j2se/1.4.1/download.html! (Note: Windows (all languages ages, including English) sdk Version)
2. Apache2.0.43: Download To http://www.apache.inetcosmos.org/dist/httpd/binaries/win32/apache_2.0.43-win32-x86-no_ssl.msi!
3. Tomcat4.1.12: Download To http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/bin/jakarta-tomcat-4.1.12.exe!
4. mod_jk.dll: To release!
(Note, because the mod_jk2-2.0.43.dll and Apache2.0.43 configuration was not successful, now use mod_jk-2.0.42.dll instead)
Ii. software installation:
(1) install j2sdk:
1. Follow the Installation Wizard to install the tool (usually under C: j2sdk1.4.1 to facilitate the following operations)
(2) install apache:
1. Follow the Installation Wizard for installation (select the installation directory as C: To facilitate the following operations; after the installation is successful, the path is C: Apache2)
(3) install Tomcat:
1. Follow the Installation Wizard to install tomcat (change the installation directory to C: Tomcat4. If it is only a test, you do not need to install tomcat into Services for the convenience of the following operations ),
In this case, you will need to enter the Admin password.
Iii. Initial Configuration and testing:
Configure the software environment for the first time and test the environment.
(1) configuration-environment variables:
1. Create a system variable JAVA_HOME with the value: C: j2sdk1.4.1 // if you have not installed it in the preceding path, change it to the correct path.
2. Create a system variable atat_home with the value C: Tomcat4 // same as above
3. Create a New System variable CLASSPATH with the value % JAVA_HOME % lib; % atat_home % lib
(2) modification error:
Bytes