整合TOMCAT APACHE 后 apache 服务无法启动?
httpd.conf
LoadModule jk_module modules/mod_jk-apache-2.2.4.so #这里要和下载的connector的名字一致
JkWorkersFile conf/workers.properties #这里要和第三步新建的属性文件名字一致
JkLogFile logs/mod_jk.log #日志保存在mod_jk.log文件中
# Set the jk log level [debug/error/info] 
JkLogLevel info 
# Select the log format 
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " 
# JkOptions indicate to send SSL KEY SIZE, 
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories 
# JkRequestLogFormat set the request format 
JkRequestLogFormat "%w %V %T" 
JkMount /* loadbalancerJkMount /xajob/* loadbalancer#apache will serve the static picture.
#以下命令意味着所有的图片将由APACHE解析
JkUnMount /*.jpg loadbalancer  
JkUnMount /*.gif loadbalancer
JkUnMount /*.swf loadbalancer
JkUnMount /*.bmp loadbalancer
JkUnMount /*.png loadbalancer
 
系统日志
The Apache service named  reported the following error:
>>> httpd.exe: Syntax error on line 485 of D:/apache2.2.4/conf/httpd.conf: LoadModule takes two arguments, a module name and the name of a shared object file to load it from     .#以下为workers.propertie的内容
worker.list=loadbalancer,server105,server106
# Define the first node... 
worker.server105.port=8009 
worker.server105.host=127.0.0.1
worker.server105.type=ajp13
worker.server105.lbfactor=1 #worker.server105.local_worker=1 
worker.server105.cachesize=100 # Define the 2nd node... 
worker.server106.port=8009 
worker.server106.host=127.0.0.1
worker.server106.type=ajp13 
worker.server106.lbfactor=1 #worker.server106.local_worker=1 
worker.server106.cachesize=100 # Now we define the load-balancing behaviour