Integrate Tomcat5.0 Apache2.0.50 mod_jk_2.0.50.dll under Windows 2000
script> First download the required software 1: J2SDK: http://java.sun.com/j2se/1.4.1/download.html 2: Tomcat: http://jakarta.apache.org /; Download 3: Apache: http://jakarta.apache.org /; there is downloaded 4: MOD_JK2_2.0.48.DLL: http://archive.apache.org/dist/jakarta/tomcat-connectors/jk/binaries/win32 /? C = D; o = a The fourth State East is the most difficult to find. But you must, it is a middleware that combines Tomcat and Apache. I can find this place. If you can't, there is nothing, I have searched! A: First Pack J2SDK C: / J2SDK B: Plug Tomcat C: /Tomcat5.0 Plus Java_Home: C: C: / J2SDK Tomcat_hoem: C: / Tomcat5 in my computer / attribute / advanced / environment variable / system variable .0 When you start the Tomcat server, enter: http:// localhost: 8080 /; if you see a few kittens interface. You have successfully installed Tomcat. C: Apache server C: / apache2 is installed all the way, and you need to fill the place. Enter http: // localhost / you can see the welcome interface of Apache in IE. Turn off the Apache server. The nightmare started. But with me, you won't depressed. D: Conforms to copy the mod_jk2_2.0.48.dll searched on the Internet to apache2 / modules. Open the httpd file under Apache2 / Conf. 1: Solve Chinese display problems.
Comment out "AddDefaultCharset ISO-8859-1", then "#AddDefaultCharset ISO-8859-1" Add the following three lines as follows: AddDefaultCharset GB2312DefaultLanguage GB2312AddLanguage zh-cn .cn2: add in the final surface: LoadModule jk_module modules / mod_jk_2.0.47 .dll // This is added to the module of the MOD_JK. Below is a virtual host in the Apache2 / Conf directory newly built a text file workers2.properties in it: # ************ *********************************************************** *********** # Only At Beginnin. in Production UNComment IT OUT must be defined in the file [Logger.Apache2] file = d: /apache/apache2/logs/jk2.loglevel=infodebug=1 [config] file = D: /Apache/Apache2/logs/workers2.propertieslevel=INFOdebug=1# define the communication channel # tomcatId defined channel will be used in the following [channel.socket: localhost: 8009] host = localhostport = 8009tomcatId = Mytomcat # define the shared memory file definition SHM file [shm] file = d: /apache/apache2/logs/jk2.shm # pointing to logs / jk2.shm file under apache file size = 1048576 # Define the worker [AJP13: localhost : 8009] Channel = CHANNEL. Socket: MyTomcat # jk2 status, can pass http: // localhost / status; view # [status:] # info = status worker, displays runtime information # channelime information # channelime information # channelime = channel.socket: local Host: 8009 # uri mapping URI Mapping # [URI: / PATH / *] will send all the requests in the http: // domain / path / in Tomcat. # And [URI: / PATH / *. JSP] will send the JSP file request in the http: // domain / path to Tomcat processing. # This PATH can be a virtual directory of Apache, or the virtual directory of Tomcat, # can also be the physical directory of Tomcat, here is the key to configuring JK2, try it.