中间件--Apache和tomcat的集群配置
作者: linvsfen, 出处:论坛, 责任编辑: 包春林,
2008-04-21 04:00
本文介绍了中间件Apache和tomcat的集群配置方法与最终测试。
10、建立并配置Apache2/conf/ workers2.properties,如下:
# Usually commented out on production environments
[logger.apache2]
file=”D:/Apache2/logs/error.log”
level=ERROR
# Provide the basic config needed
[config]
file=D:/Apache2/conf/workers2.properties
debug=1
# Provide the location of shm file on the Apache web server
[shm]
file=D:/Apache2/conf/jk2.shm
size=1000000
# Tomcat51
[channel.socket:192.168.0.12:8009]
host=192.168.0.12
port=8009
tomcatId=tomcat51
group=balanced
lb_factor=1
route=tomcat51
# Tomcat5A worker
[ajp13:192.168.0.12:8009]
- 本文关键词:

