【正文】
info]JkLogLevel info Select the log formatJkLogStampFormat [%a %b %d %H:%M:%S %Y] JkOptions indicate to send SSL KEY SIZE,JkOptions +ForwardKeySize +ForwardURICompat ForwardDirectories JkRequestLogFormat set the request formatJkRequestLogFormat %w %V %T Send servlet for context /examples to worker named ajp13JkMount /servlet/* loadbalancer Send JSPs for context /examples to worker named ajp13JkMount /MEDICARE/*.* loadbalancer ,文件內(nèi)容如下: list the workers by name=tomcat1, tomcat2, loadbalancer First tomcat server =8019=localhost(實(shí)際部署時(shí)請(qǐng)修改為第一臺(tái)機(jī)器的IP)=ajp13 Specify the size of the open connection cache. Specifies the load balance factor when used with a load balancing worker. Note: lbfactor must be 0 Low lbfactor means less work done by the worker.=100 Second tomcat server =8029=lo