Sop How To Connect Apche To Tomacat

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Sop How To Connect Apche To Tomacat as PDF for free.

More details

  • Words: 114
  • Pages: 1
1. Download mod_jk.so 2. Copy mod_jk.so to Apache-Home/modules/ (In my case Apache-home (Apache installation directory):: C:\Program Files\Apache Software Foundation\Apache2.2) 3. Create workers.properties and put into Apache-Home/conf/ Contents of workers.properties are:: workers.tomcat_home="C:\Tomcat 5.0" (Tomcat installtion directory) workers.java_home="C:\Program Files\Java\jdk1.6.0" (JDK installtion directory) ps=/ worker.list=worker1 worker.worker1.port=8009 worker.worker1.host=localhost worker.worker1.type=ajp13 worker.worker1.lbfactor=1 worker.worker1.connection_pool_size=10 worker.worker1.connection_pool_timeout=600 worker.worker1.socket_keepalive=1 worker.loadbalancer.type=lb worker.loadbalancer.balance_workers=lbworker worker.inprocess.type=jni 4. Following changes required in server.xml just below the at Tomcat-Home/conf <Engine name="Catalina" defaultHost="localhost"> 5. Add the following contents in http.conf at Apache-home/conf LoadModule jk_module modules/mod_jk.so LoadModule jk_module "C:/Program Files/Apache Software Foundation/Apache2.2/modules/mod_jk.so" JkWorkersFile "C:/Program Files/Apache Software Foundation/Apache2.2/conf/workers.properties" JkMount /* worker1

Related Documents