HOW TO INSTALL APACHE 2.0.45 and TOMCAT 4.1.x on WINDOWS XP
*If you are upgrading, uninstall old Apache and Tomcat COMPLETELY and reboot. Save your Apache htdocs and Tomcat webapps directories in another location and then add them back after upgrade)
1) Download
SDK
(I see that 1.4.1 is available, haven't tried it with that yet--should be fine)
Run executable.I put java in default location
C:\jdk1.3.1_06
Set up the environment variable JAVA_HOME to point to there. (in XP: Start - Settings -Performance -System - Advanced - Environment Variables --in Win2000 there isn't a"Performance.." icon)2) Download
binary
apache-2.0.45-win32-no_ssl.msi fromhttp://httpd.apache.orgRun the msi as you would any exe.Apache default location:
C:\Program Files\Apache Group\Apache2\
3) Download
binary
C:\Program Files\Apache Group\Tomcat 4.1\
4) I used Tomcat to build the mod_jk.conf for me by:a) In
C:\Program Files\Apache Group\Tomcat 4.1\conf\server.xml
after
<Server port="8005" shutdown="SHUTDOWN" debug="0">
type in:
<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" />
b) In
C:\Program Files\Apache Group\Tomcat 4.1\conf\server.xml
after
<Host name="localhost" debug="0" appbase="webapps" uppackWARs="true"... >
type in:
<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig"append="true" />
5) Start Tomcat and
wala
a
mod_jk.conf
is created in
C: Program Files\ApacheGroup\Tomcat 4.1\conf\auto
6) Now that the
mod_jk.conf
is created comment out the lines you added to server.xml in Step 4.7) Put in
C:\Program Files\Apache Group\Tomcat 4.1\conf\jk
a
workers.properties
file for Apache to read as follows (use any TEXT editor):
# Start setup file#
Leave a Comment