With several times, very simple steps, but always forget, no way, feel the brain is getting worse, or to remember it
Apache Tomcat Download the instructions don't say it.
Just write down the configuration steps:
1, see if there is MOD_JK module in Apache modules, do not go down one put in, MOD_JK is essentially Apache and Tomcat connector, and by this comes with the function of providing cluster and load balancing.
2, configure Workers.properties, create a workers.properties file the Tomcat to point to will be put in, as follows
# Define Some Properties#workers.tomcat_home=e:\server\apache-tomcat-6.0.41#workers.java_home=e:\program Files (x86 ) \java\jdk1.7.0_01#ps=# Define workersworker.list=tomcat_portal# Set properties for Ping (worker1) Worker.tomcat_ Portal.type=ajp13worker.tomcat_portal.host=127.0.0.1worker.tomcat_portal.port=8009worker.tomcat_ Portal.lbfactor=50worker.tomcat_portal.cachesize=10worker.tomcat_portal.cache_timeout=600worker.tomcat_ portal.socket_keepalive=1worker.tomcat_portal.socket_timeout=300
Multiple Tomcatworker.list中定义的tomcat名称用`,`分开即可
3, modify httpd.conf (another conf file can be cited for convenience)
Add the include conf/define/portal.conf below httpd.conf
The content of portal.conf is
# Load mod_jk moduleloadmodule jk_module modules/mod_jk-apache-2.2.4.so# Where to find Workers.propertiesjkworkersfile Conf/define/workers.properties<virtualhost *:80>servername www.2k.comJkMount/* tomcat_portal</ Virtualhost>
Complete.
Windows Apache and Tomcat integration