Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D5E27200B23 for ; Sun, 5 Jun 2016 04:22:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D4845160A4E; Sun, 5 Jun 2016 02:22:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 298D9160A26 for ; Sun, 5 Jun 2016 04:22:22 +0200 (CEST) Received: (qmail 4344 invoked by uid 500); 5 Jun 2016 02:22:20 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 4333 invoked by uid 99); 5 Jun 2016 02:22:20 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 05 Jun 2016 02:22:20 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C6CEE180591 for ; Sun, 5 Jun 2016 02:22:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.199 X-Spam-Level: *** X-Spam-Status: No, score=3.199 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_BADIPHTTP=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=handll.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id R2H5WndvxrW4 for ; Sun, 5 Jun 2016 02:22:15 +0000 (UTC) Received: from mail-qg0-f41.google.com (mail-qg0-f41.google.com [209.85.192.41]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 19CE05F240 for ; Sun, 5 Jun 2016 02:22:15 +0000 (UTC) Received: by mail-qg0-f41.google.com with SMTP id q32so28381343qgq.3 for ; Sat, 04 Jun 2016 19:22:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=handll.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=62ZvAl0vYa0RcCv4lPbCTVCqIo0OCYXJN3JR+v3UHuQ=; b=GFUcEOIdM9dRi/YDwiyfCvBxcpxcd2E/d5522WoHOXAiLiwWnY+cBwApN63Vzsw3+h O9DQpgbSSAc3Bcj5g9VxZmSuMgISLQ8lKFt8Edwl2iMovPBAao0BwsQpx6UjdlmNguRg M+8MjhCTXn+c4/6TnnXTX9o+tWwct3DKPCVGU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=62ZvAl0vYa0RcCv4lPbCTVCqIo0OCYXJN3JR+v3UHuQ=; b=YjA5M70yITT5Gd4Iz8ttoV6WA86zFv8x2ZLB81BthrIsH6Mh6FUJIyjOnxKO9B+Pfs XuxIrxWVghBt6q+6MW+a61UTA42OBZ/eL+9aSwAlRxscKDT2yAbHonb+MIcvikcY0ke7 ZZ/JZs75oWdRb61AkDl1wDnvN+5eSYktUA6la/zjvyHpTwvaCLEHDgjlVu+LosfHLm7a CcnLu3LaeSug26F+4Mk7W0owHFjDB2J3h35AMXoG+r0m/GUz0cytt8xltaodk/LT6SZV uPHr7sTXsCTOBruxhdZpcAEMWO92mmEdzYxP9SR6yKkSq4ib7lJC4UQZc65TRy7RPS8U bmFA== X-Gm-Message-State: ALyK8tK5BlV0RU2f/jaYZ9c52tethEAC1odQ0qYixdBvybJH1N62U1KYH2+IH5f4tQLroWP6eDjoTvybKMiOSP0F MIME-Version: 1.0 X-Received: by 10.140.36.167 with SMTP id p36mr9801036qgp.38.1465093327596; Sat, 04 Jun 2016 19:22:07 -0700 (PDT) Received: by 10.55.18.198 with HTTP; Sat, 4 Jun 2016 19:22:07 -0700 (PDT) In-Reply-To: <1d8e74b3-8421-ad91-422a-c5f086c3d317@malcolms.com> References: <1d8e74b3-8421-ad91-422a-c5f086c3d317@malcolms.com> Date: Sat, 4 Jun 2016 20:22:07 -0600 Message-ID: Subject: Re: mod_jk resubmitting request to Tomcat From: Anthony Biacco To: Tomcat Users List Content-Type: multipart/alternative; boundary=001a11c11f885aca1c05347e9f15 archived-at: Sun, 05 Jun 2016 02:22:23 -0000 --001a11c11f885aca1c05347e9f15 Content-Type: text/plain; charset=UTF-8 On Sat, Jun 4, 2016 at 12:00 PM, Jerry Malcolm 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 > > --001a11c11f885aca1c05347e9f15--