tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Biacco <abia...@handll.com>
Subject Re: mod_jk resubmitting request to Tomcat
Date Sun, 05 Jun 2016 02:22:07 GMT
On Sat, Jun 4, 2016 at 12:00 PM, Jerry Malcolm <techstuff@malcolms.com>
wrote:

> I am calling a JSP to start a fairly long-running process in Tomcat.  I'm
> not using the page response data.  The JSP is simply a way to initiate the
> process.  The JSP simply returns "OK" or "RC=". However, mod_jk gets
> impatient, and after about 5 minutes, it decides to send the request to
> Tomcat again, which kicks off another instance of the back-end process
> (obviously not what I want).  Following is from the mod_jk log:
>
> >>> can't receive the response message from tomcat, network problems or
> tomcat is down (127.0.0.1:8009), err=-60
> >>> Tomcat is down or refused connection. No response has been sent to the
> client (yet)
> >>> receiving from tomcat failed, recoverable operation attempt=0
> >>> sending request to tomcat failed,  recoverable operation attempt=1
>
> How can I tell mod_jk to be more patient for this request and not to
> resubmit it?
>

you probably have the reply_timeout on the worker set too low.

https://tomcat.apache.org/connectors-doc/common_howto/timeouts.html


-Tony



> Thanks.
>
> Jerry
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

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