Download mod_jk.so and drop in Apache/modules/ directory.
Modify Apache/conf/httpd.conf
LoadModule jk_module modules/mod_jk.so
Include conf/extra/httpd-vhosts.conf
Modify Apache/conf/extra/httpd-vhosts.conf
JkWorkersFile "/Tomcat/conf/workers.properties"
<virtualhost *:80="">
JkMount /* ajp13-8080
</virtualhost>
Start Apache.
Download and install Tomcat as a service.
Create Tomcat/conf/workers.properties
workers.tomcat_home="/tomcat"
workers.java_home="/Program Files/Java/jdk1.7.0_02"
ps=/
worker.list=ajp13-8080
worker.ajp13-8080.port=8009
worker.ajp13-8080.host=localhost
worker.ajp13-8080.type=ajp13
worker.ajp13-8080.lbfactor=1
Start Tomcat.
That's it!
No comments:
Post a Comment