Home >Backend Development >PHP Tutorial >[jsp+php] Integrating Apache2 and Tomcat4_PHP Tutorial under Windows2000

[jsp+php] Integrating Apache2 and Tomcat4_PHP Tutorial under Windows2000

WBOY
WBOYOriginal
2016-07-13 17:11:52785browse

=============================================
This article I The test has passed!
==============================================
Title: Integrating Apache2 and Tomcat4 under Windows 2000
Author: robornet
Date: 2002-10-30
Reason: I have been working on a java project for a while, and it’s time to distribute it, but I can’t find a copy For the latest integrated configuration of Apache2 and Tomcat4, I read the jakarta online information for a long time and referred to previous netizens’ articles.
I wrote this configuration document for reference. Corrections are welcome!
Contents:
1. Software preparation
2. Software installation
3. Initial configuration and testing
4. Integrated configuration
5. Full-line testing
6. Shortcomings
7. Thank you
8. Instructions
Steps:
1. Software preparation:
Assume that you have a hardware and software environment that can run win2000 normally.
1.j2sdk1.4.1: Go to http://java.sun.com/j2se/1.4.1/download.html to download! (Note that it is the SDK version for Windows (all languages, including English))
2.Apache2.0.43: Go to http://www.apache.inetcosmos.org/dist/httpd/binaries/win32/apache_2.0.43-win32 -x86-no_ssl.msi Download!
3.Tomcat4.1.12: Go to http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/bin/jakarta-tomcat-4.1.12.exe to download!
4.mod_jk.dll: Go to http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0/bin/win32/mod_jk-2.0.42.dll to download!
(Explanation, since the configuration of mod_jk2-2.0.43.dll and Apache2.0.43 was not successful, mod_jk-2.0.42.dll is used instead)
2. Software installation:
(1) Install j2sdk:
1. Follow the installation wizard to install (usually installed under C:j2sdk1.4.1 to facilitate the following operations)
(2) Install apache:
1. Follow the installation wizard to install (select the installation directory as C :, to facilitate the following operations; after successful installation, the path is: C:Apache2)
(3) Install Tomcat:
1. Follow the installation wizard to install (change the installation directory to C:Tomcat4, if it is just for testing, no You need to install tomcat as Services to facilitate the following operations),
you will be asked to enter the password of Admin (system administrator).
3. First-time configuration and testing:
Configure the software environment installed above for the first time and test its environment.
(1) Configuration--Environment variables:
1. Create a new system variable JAVA_HOME, its value is: C:j2sdk1.4.1 //If you did not install according to the above path, please change it to the correct path
2 .Create a new system variable TOMCAT_HOME, its value is: C:Tomcat4 //Same as above
3. Create a new system variable CLASSPATH, its value is: %JAVA_HOME%lib;%TOMCAT_HOME%lib
(2) Modify the error:
1.Apache2.0.43 has a small problem. After successful installation by default, there is no index.html file in the htdocs directory under the main directory of Apache2. You must rename index.html.en in this directory to index.html

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/629535.htmlTechArticle======================== ===================== I have passed the test of this article! ============================================= Title: Integration under Windows 2000 Apache2 and Tomcat4 Author:...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn