日期:2014-05-16 浏览次数:20816 次
# # workers.properties # # list the workers by name worker.list=DLOG4J, status # localhost server 1 # ------------------------ worker.s1.port=8009 #工作端口,若没占用则不用修改 worker.s1.host=localhost #Tomcat服务器的地址 worker.s1.type=ajp13 #类型 # localhost server 2 # ------------------------ worker.s2.port=8209 worker.s2.host=localhost worker.s2.type=ajp13 worker.s2.stopped=1 worker.DLOG4J.type=lb worker.retries=3 worker.DLOG4J.balanced_workers=s1, s2 worker.DLOG4J.sticky_session=1 worker.status.type=status
# Simple worker configuration file # Mount the Servlet context to the ajp13 worker #/jmx-console=loadbalancer #/jmx-console/*=loadbalancer /examples/*=localhost /jkstatus/=status
# 加载 mod_jk 模块 LoadModule jk_module modules/mod_jk.so # # Configure mod_jk # JkWorkersFile conf/workers.properties JkMountFile conf/uriworkermap.properties JkLogFile logs/mod_jk.log JkLogLevel warn