Pergunta

I have apache http server in front of tomcat 7.0. I use mod_jk apache module to send an incoming http request to the servlet container. I would like to setup the apache server such that if I restart the tomcat server and it comes back within X seconds, then apache server should not produce any error for that request. I am wondering how to set the parameters in apache server so that it can hold the incoming http request for X seconds while tomcat restarts.

Foi útil?

Solução

it's possible to do this with the jkmanager .

see this topic :

How to programmatically adjust the disable directive in the mod_jk load balancer configuration?

bests regards

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top