Hey! I finally gave this integration, do this job than cracking JIVE3! I have been discusing for 2 days. It is really not a life, 555555555555, and even the entire integration process is written to everyone here, I hope to take some lessons. The Used Win2000 Adv Server, on the occasional book, has been stable, even if it doesn't matter to use the kitten Update system, after the SP3 is finished, I have added 30 holes and I really ignora. Microsoft. Dong Zhen is a system of gang leaders, do not say nonsense, talk about it. The latest JDK1.4.4.102 and apache 2.0.45 and tomcat 4.1.24 and mod_jk2 but the version of this mod_jk2 Dongdong! Even 3 different versions, at http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/ below to the nightly directory with the release directory, and there are mod_jk2.dll below but different It is a more suspicuous dissertate in the release directory. It is divided into V2.0.0, V2.0.1, V2.0.2 under Release. Even if the highest version is used, but other articles are used. V2.0.1 / bin / win32 / mod_jk2-2.0.43.dll and Nightly / Win32 / Mod_jk2.dll, the ie is V2.0.2-2.0.43.DLL, the file ratio Two a little bit of 148K, the upper two is 120K, even thinking about this file is the latest, and it is better than two big points, the efficiency and stability must be improved, even this. The following is a specific connection address: J2SDK-1_4_1_02-windows-i586.exe http://java.sun.com/j2se/1.4.1/index.html // ourselves, the address is dynamic JAKARTA-TOMCAT-4.1 . 24.EXE http://apache.linuxforum.net/dist/jakarta/tomcat-4/binaries/tomcat-4.1.24.exe apache_2.0.45-win32-x86-no_ssl.msi http: //apache.linuxForum. Net / dist / httpd / binaries / win32 / apache_2.0.45-win32-x86-no_ssl.msi mod_jk2-2.0.43.dll http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/Release/ V2.0.2 / bin / win32 / mod_jk2-2.0.43.DLL above these under installation, the general order is JDK, Apache, Tomcat, MOD_JK2, where mod_jk2 is a DLL file, put him Copy to Apache2 / Modules directory Use it, this Dongdong is used, ITSYH brother dresses, even if you don't know, you only know how to use him to integrate Apache and Tomcat is simple. As for the previous complex, I really don't understand, haha. . . .
That's first JDK! I don't want to write, this stuff is installed too much. I don't want to write the specific stuff. I just need to add the bin directory you install JDK to the system variable PATH, this is to use the bin directory East, there is a new ClassPath system variable and put jdk / lib / tools.jar to the two JAR packages under JDK / lib / dt.jar to include it. Here, I have to mention the JDBC driver of some databases we have to use in the future. Generally, I said that let everyone add the path of these packages in the classpath, and in many cases, you can't find him. Related JDBC drivers, and ClassPath's lookup is the order, just start from the first path, if you can't find the stuff you want to use, this is easy to have problems, and there is If you want to transplant, you can be too much trouble, you have to specify a lot, really can't stand, even summarize the previous experience, feel that put some driver or use the JAR package to JDK below you. More, you should put this file no matter what Oracle, SQLServer, mysql, etc. is placed under JDK / JRE / LIB / EXT, and you don't have to add any classpath, even if you use it. As for Apache! I don't say much, I only write the question you have to pay attention to: Apache2xx has a small problem. After the default installation is successful, there is no index.html file in the HTDOCS directory under Apache2 home, we must put this directory Index.html.en is renamed to index.html. I even ate this loss, I installed N times, I figured out that there is no index.html or index.htm in the htdocs directory. Otherwise, how long does it always have to find a page? There is also a resolution of not automatically displaying Chinese: Edit the configuration file httpd.conf in the Apache2 / Conf directory. Use Notepad to open it and find "AddDefaultCharset ISO-8859-1", comment out "AddDefaultCharset ISO-8859-1", ie before "#" characters before "" ". Then add the following three lines below "#adddefaultcharset ISO-8859-1": adddefaultcharset GB2312 DefaultLanguage GB2312 AddLanguage ZH-CN .cn 嘿嘿. . . Even the top is basically plagiarism. Tomcat is installed: It should be noted that two environment variables are established in the system variable, one is a java_home variable, the value of the variable is the directory where the JDK is installed, the other is Tomcat_Home variable, the value of the variable is just the directory you install Tomcat. . When you have finished these, you can test apache with tomcat. After you start apache and Tomcat, enter: http:// localhost / or http: http: // localhost / or http: // localhost: 8080 / If there is a normal welcome page Your Apache is successful with Tomcat, which is the problem of integration. The system starts the whole: First change your MOD_JK2-2.0.43.dll into mod_jk2.dll, it is convenient! You don't have to make you.
Next, put the mod_jk2.dll copy to the Apache2 / Modules directory, you should only have this DLL! Ha ha. . . If you have any other DLL, there is a problem. The following question is to modify the configuration file, we want to modify the configuration file is an apache2 / conf / httpd.conf this file, you open him with the text editor, finally add the following: loadingModule JK2_Module Modules / Mod_jk2.dll
What should I see or a welcome page of Tomcat, if so your luck is too good, hurry to buy a lottery! 500W is in your hand! Final Troubleshooting: This problem is fast, I will die, and the occasional more people will die!嘿嘿. . . Here I am a very much thanked Niya Dd or MM because he doesn't know that he is a man is a woman, anyway, no matter where the men, he will not marry, don't worry here. The only problem I have encountered is that during the system run, my Tomcat control window shows an error after the JSP page, the error message is as follows: CHANNELSOCKET - -Connection Timeout Reached After watching the E-article for the niya, modify A parameter value of the server.xml file under Tomcat, in the DEFINE A COYOTE / JK2 AJP 1.3 Connector on Port 8009 comment, there is a property connectivityTimeout = 20000, modify this value to -1 Solve the problem of the connection timeout, although the problem is solved, but I still don't understand why I do so, I hope that the brothers and sisters who know that you know, the younger brother must be allowed. This makes it possible to complete the integration of the Apache and Tomcat, but you may have other problems, but don't doll, because you don't understand! Transfer from - http://blog.9cbs.net/goldoutlook