2011년 8월 1일 월요일

tomcat6.0 + apache2.2 연동

mod_jk binary 내려 받기
- http://archive.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/linux/

httpd conf 폴더

vi conf/workers.properties
------------------------------------------------------
worker.list=worker1
worker.worker1.port=8080
worker.worker1.host=70.7.105.162
worker.worker1.type=ajp13
worker.worker1.lbfactor=1


vi conf/uriworkermap.properties
------------------------------------------------------
/mycontextroot/dwr/*=worker1
/mycontextroot/ws*=worker1
/mycontextroot/*.do=worker1
/mycontextroot/*.jsp=worker1


httpd conf.d 폴더
mod_jk.conf
------------------------------------------------------
LoadModule jk_module modules/mod_jk.so

<IfModule jk_module>
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel info
JkMountFile conf/uriworkermap.properties
</IfModule>



~

댓글 없음:

댓글 쓰기