tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rainer Jung" <>
Subject RE: mod_jk & tomcat
Date Fri, 21 Oct 2005 16:05:15 GMT
A list of options with default values for version 1.2.14 is given in

You should check documentation about the meaning of the params. The one
you are looking for is the attribute recover_time for the load balancer
worker. Unfortunately the attribute does not help in your case, because
you can't set it to lower than 60 (seconds). If you try to set it lower,
your values will be ignored.

If your apache does not respond longer than "availability time of tomcat +
max(60seconds,recover_time)", then there is something wrong. I mention
that, because you write "a few minutes".

As a workaround you could gracefully restart apache. Or better: use the
status worker of 1.2.14 (maybe already available for 1.2.13) where you can
temporarily disable a worker, so that it does not go into error state and
then reenable after you did your updates. If you are going that way, I
strongly advise you to first upgrade to 1.2.15 (which is in the course of
being voted at and should be available in very few days. The code did not
change the last few weeks).

> I've seem that too after new redeploys.
> Constantin
>>From: Andrew Marcum <>
>>Reply-To: "Tomcat Users List" <>
>>Subject: mod_jk & tomcat
>>Date: Thu, 20 Oct 2005 13:58:11 -0700 (PDT)
>>We are running mod_jk-1.2.13 and apache-2.0.54-r30 on a Gentoo
>>box running the 2.6.10 kernel and when Tomcat is restarted,
>>if a request is made to the Tomcat URL soon after the restart
>>(within 10 seconds), Apache responds with Service Temporarily
>>Unavailable and will continue to so for a few minutes.
>>However, if a request is made 30 - 40 seconds after the
>>restart, Tomcat responds immediately.
>>My question is how do I get mod_jk (which I think is the
>>problem) to check the service quicker? I have changed
>>worker.maintain to a lower value in the
>>file, but that did not fix the problem.
>>I am hoping that there is some time out setting that I can
>>set to force mod_jk to recheck that Tomcat is back up.
>>Thanks in advance,
>>Andrew Marcum
>>To unsubscribe, e-mail:
>>For additional commands, e-mail:
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message