On 10.12.2010 04:43, Yu Kikuchi wrote:
Hello All.

My Environment:
  RHEL 5.3
  Apache 2.2.11
  mod_jk 1.2.30
  JBoss 5.0.0 GA

I have used mod_proxy_ajp to connect Apache and Tomcat(in JBoss).
But I decided to use not mod_proxy_ajp but mod_jk 1.2.30.

In the default setting of "mod_proxy_xxx", it would be set "retry=60" option.
How do I set "workers.properties" if want to make it the same setting?

It's my guess that follow setting makes it possible...
---------------------------------------
worker.node1.retries=2
worker.node1.retry_interval=60000
---------------------------------------

First: there are lots of interesting options to change. The retry attributes are normally not of the kind that should be adjusted.

If you take a fresh download of the 1.2.31 sources, you can find a well commented example configuration in the tarball, including all the important timeouts etc. Setting those right is much more important!

Finally: the attribute you are looking for is "recover_time". Have a look at

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

Note that the attribute belongs to the load balancer, not to the individual nodes. The attribute "retry_interval" is for something very different and there should be no need to adjust.

Regards,

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to