


Integrating Apache2 and Tomcat4_PHP Tutorial under jsp+phpWindows2000
============================================= I have tested this article and passed it Got it! ============================================= Title: Integration under Windows 2000 Apache2 and Tomcat4 Author: robornet Date: 2002-10-30 Reason: I have been working on a java project for a while, and when it was time to distribute it, I could not find the latest integrated configuration of Apache2 and Tomcat4, so I watched jakarta for a long time. Based on online information and referring to previous netizens’ articles, I wrote this configuration document for reference. Any corrections are welcome! Contents: 1. Software preparation 2. Software installation 3. Initial configuration and testing 4. Integrated configuration 5. Full line test 6. Deficiencies 7. Thank you 8. Explanation steps: 1. Software preparation: Suppose you have a hard drive that can run win2000 normally. Soft software environment. 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 of 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 (generally Install to 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 the installation is successful, 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, there is no need to install tomcat as Services to facilitate the following operations), during which you will be asked to enter Admin (system administrator) Password. 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 the default installation is successful, it will be installed on the Apache2 main There is no index.html file in the htdocs directory. You must rename index.html.en in this directory to index.html (3) Test the default service: Please run Apache2 and Tomcat4 first. 1. Open the browser and click on Enter: http://localhost in the address bar. Verification: At this time, you can see the welcome interface of Apache2 in the browser. It means that Apache2 is working normally. (Note that the default port of Tomcat is 80. If it is occupied by other programs, please change it, as follows There are instructions) 2. Open the browser and enter: http://localhost:8080 in the address bar. Verification: You can see Tomcat’s welcome interface in the browser at this time. It means that Tomcat is working normally. (Note that the default port of Tomcat is 8080. If it is occupied by other programs, please change it. There are instructions below) Summary: If there are no errors at this step, you can continue with the following operations. Let go! (4) Test your project: Now only use Tomcat to test your project Project, for the convenience of this example, assume that you already have a project in the E:ApplicationOA directory (including index.jsp and other jsp files and beans, such as servlets and javabeans under WEB-INFclasses). 1. Set up Tomcat to support your project, open the C:Tomcat4confserver.xml file, add before "" and after "

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



What do you think of furmark? 1. Set the "Run Mode" and "Display Mode" in the main interface, and also adjust the "Test Mode" and click the "Start" button. 2. After waiting for a while, you will see the test results, including various parameters of the graphics card. How is furmark qualified? 1. Use a furmark baking machine and check the results for about half an hour. It basically hovers around 85 degrees, with a peak value of 87 degrees and room temperature of 19 degrees. Large chassis, 5 chassis fan ports, two on the front, two on the top, and one on the rear, but only one fan is installed. All accessories are not overclocked. 2. Under normal circumstances, the normal temperature of the graphics card should be between "30-85℃". 3. Even in summer when the ambient temperature is too high, the normal temperature is "50-85℃

The "Inaction Test" of the new fantasy fairy MMORPG "Zhu Xian 2" will be launched on April 23. What kind of new fairy adventure story will happen in Zhu Xian Continent thousands of years after the original work? The Six Realm Immortal World, a full-time immortal academy, a free immortal life, and all kinds of fun in the immortal world are waiting for the immortal friends to explore in person! The "Wuwei Test" pre-download is now open. Fairy friends can go to the official website to download. You cannot log in to the game server before the server is launched. The activation code can be used after the pre-download and installation is completed. "Zhu Xian 2" "Inaction Test" opening hours: April 23 10:00 - May 6 23:59 The new fairy adventure chapter of the orthodox sequel to Zhu Xian "Zhu Xian 2" is based on the "Zhu Xian" novel as a blueprint. Based on the world view of the original work, the game background is set

Database testing skills in Golang Introduction: Database testing is a very important link when developing applications. Appropriate testing methods can help us discover potential problems and ensure the correctness of database operations. This article will introduce some common database testing techniques in Golang and provide corresponding code examples. 1. Testing using an in-memory database When writing database-related tests, we usually face a question: How to test without relying on an external database? Here we can use memory

How to use MTR to conduct reliability testing of MySQL database? Overview: MTR (MySQL Test Runner) is a testing tool officially provided by MySQL, which can help developers conduct functional and performance testing of MySQL databases. During the development process, in order to ensure the reliability and stability of the database, we often need to conduct various tests, and MTR provides a simple, convenient and reliable method to conduct these tests. Steps: Install MySQL test runner: First, you need to download it from the MySQL official website

"Operation Delta" will launch a large-scale PC test called "Codename: ZERO" today (March 7). Last weekend, this game held an offline flash mob experience event in Shanghai, and 17173 was also fortunate to be invited to participate. This test is only more than four months away from the last time, which makes us curious, what new highlights and surprises will "Operation Delta" bring in such a short period of time? More than four months ago, I experienced "Operation Delta" in an offline tasting session and the first beta version. At that time, the game only opened the "Dangerous Action" mode. However, Operation Delta was already impressive for its time. In the context of major manufacturers flocking to the mobile game market, such an FPS that is comparable to international standards

Overview of How to Use Selenium for Web Automation Testing: Web automation testing is a vital part of the modern software development process. Selenium is a powerful automated testing tool that can simulate user operations in a web browser and implement automated testing processes. This article will introduce how to use Selenium for web automation testing, and come with code examples to help readers get started quickly. Environment preparation Before starting, you need to install the Selenium library and web browser driver

Functional testing verifies function functionality through black-box and white-box testing, while code coverage measures the portion of code covered by test cases. Different languages (such as Python and Java) have different testing frameworks, coverage tools and features. Practical cases show how to use Python's Unittest and Coverage and Java's JUnit and JaCoCo for function testing and coverage evaluation.

Maven is an open source project management tool that is commonly used for tasks such as construction, dependency management, and document release of Java projects. When using Maven for project build, sometimes we want to ignore the testing phase when executing commands such as mvnpackage, which will improve the build speed in some cases, especially when a prototype or test environment needs to be built quickly. This article will detail how to ignore the testing phase in Maven, with specific code examples. Why you should ignore testing During project development, it is often
