首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > Apache >

Apache + Tomcat :重复转发请求有关问题解决

2012-06-30 
Apache + Tomcat :重复转发请求问题解决参考:http://tomcat.apache.org/connectors-doc/reference/workers

Apache + Tomcat :重复转发请求问题解决

参考:http://tomcat.apache.org/connectors-doc/reference/workers.html

?

配置:Apache 2.2\conf\workers.properties

worker.worker1.socket_timeout=300worker.worker1.retries=1

?

解释:

?

retriesAJP,SUB2

This directive also exists for load balancer workers. For those it has a different meaning.

The maximum number of times that the worker will send a request to Tomcat in case of a communication error. Each retry will be done over another connection. The first time already gets counted, so retries=2 means one retry after error. Before a retry, the worker waits for a configurable sleeping time.

See also the attribute recovery_options for a more fine-grained control of retries and retry_interval for the sleep time configuration.

Until version 1.2.16 the default value was 3.

热点排行