tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michele Mase'" <michele.m...@gmail.com>
Subject proxy_ajp behind a firewall
Date Thu, 03 Jul 2008 08:26:04 GMT
Under mod_jk a "best pratics" (10 minutes session timeout 4 example) was:

Adding the value connectionTimeout="600000" in the connector field in
server.xml
for example
<Connector port="8009" enableLookups="false" redirectPort="8443"
protocol="AJP/1.3"
connectionTimeout="600000"/>

And in workers.properties:
...
worker.node1.connect_timeout=10000
worker.node1.prepost_timeout=10000
worker.node1.socket_timeout=10
#This value must equal server.xml's connectionTimeout of 10 minutes
worker.node1.connection_pool_timeout=600
...

Which parameters should I use with proxy_ajp?
I've found that:

mod_jk               proxy_ajp

connect_timeout  ping
socket_timeout    timeout
timeout              ttl

Is it Correct????
ProxySet balancer://ajpCluster stickysession=JSESSIONID nofailover=On ping=1
timeout=10 ttl=60

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message