Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D235764C5 for ; Sun, 10 Jul 2011 20:05:59 +0000 (UTC) Received: (qmail 33093 invoked by uid 500); 10 Jul 2011 20:05:56 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 32927 invoked by uid 500); 10 Jul 2011 20:05:55 -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 32918 invoked by uid 99); 10 Jul 2011 20:05:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Jul 2011 20:05:55 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=MSGID_MULTIPLE_AT,RCVD_IN_DNSWL_NONE,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [194.25.134.18] (HELO mailout04.t-online.de) (194.25.134.18) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Jul 2011 20:05:46 +0000 Received: from fwd03.aul.t-online.de (fwd03.aul.t-online.de ) by mailout04.t-online.de with smtp id 1Qg0Fp-0004jm-Ux; Sun, 10 Jul 2011 22:05:25 +0200 Received: from Preissa (GWqIeTZdghaLkiLLO-B5zAzK+lg8WvgkUs3tQU21SuDwjb1NwTWcp7o1gCtGOYkQjl@[217.95.71.18]) by fwd03.t-online.de with esmtp id 1Qg0Fl-0UPpPE0; Sun, 10 Jul 2011 22:05:21 +0200 From: "eurotrans-Verlag" To: Subject: AJP-APR failures on Tomcat 7.0.16 with ISAPI Redirector 1.2.32 Date: Sun, 10 Jul 2011 22:05:19 +0200 Message-ID: <002d01cc3f3c$b1e208b0$15a61a10$@preisser@t-online.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acw/PLFvAEyqxIHEQD6LvHVyI0jHUA== Content-Language: de X-ID: GWqIeTZdghaLkiLLO-B5zAzK+lg8WvgkUs3tQU21SuDwjb1NwTWcp7o1gCtGOYkQjl X-TOI-MSGID: b9d6428f-da71-4e45-a0bd-92bf2c379a86 X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I have a system with Windows Server 2008 (32 bit), Sun/Oracle JDK = 1.6.0_26 and I=92m using Tomcat 7.0.16 with Tomcat Native 1.1.20, and IIS 7.0 = with ISAPI Redirector 1.2.32. For AJP, I use the AJP-APR connector. Sometimes, when many requests are sent to a webapp in short time, some requests fail, and the ISAPI log (log_level=3Derror) says: [Sun Jul 10 21:35:55.061 2011] [580:5032] [error] ajp_get_reply::jk_ajp_common.c (2187): (worker1) Tomcat already send = headers [Sun Jul 10 21:35:55.071 2011] [580:5032] [error] ajp_service::jk_ajp_common.c (2600): (worker1) sending request to tomcat failed (unrecoverable), (attempt=3D1) [Sun Jul 10 21:35:55.080 2011] [580:5032] [error] HttpExtensionProc::jk_isapi_plugin.c (2261): service() failed with http error 502 [Sun Jul 10 21:35:55.087 2011] [580:4776] [error] ajp_get_reply::jk_ajp_common.c (2187): (worker1) Tomcat already send = headers [Sun Jul 10 21:35:55.097 2011] [580:4776] [error] ajp_service::jk_ajp_common.c (2600): (worker1) sending request to tomcat failed (unrecoverable), (attempt=3D1) [Sun Jul 10 21:35:55.104 2011] [580:4776] [error] HttpExtensionProc::jk_isapi_plugin.c (2261): service() failed with http error 502 [Sun Jul 10 21:37:20.662 2011] [5696:3220] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (1296): wrong message = format 0x3000 from 127.0.0.1:8019 [Sun Jul 10 21:37:20.679 2011] [5696:3220] [error] ajp_get_reply::jk_ajp_common.c (2118): (worker1) Tomcat is down or = refused connection. No response has been sent to the client (yet) [Sun Jul 10 21:42:56.105 2011] [580:5032] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (1296): wrong message = format 0x3000 from 127.0.0.1:8019 [Sun Jul 10 21:42:56.135 2011] [580:5032] [error] ajp_get_reply::jk_ajp_common.c (2118): (worker1) Tomcat is down or = refused connection. No response has been sent to the client (yet) [Sun Jul 10 21:42:56.149 2011] [580:3100] [error] ajp_get_reply::jk_ajp_common.c (2187): (worker1) Tomcat already send = headers [Sun Jul 10 21:42:56.160 2011] [580:3100] [error] ajp_service::jk_ajp_common.c (2600): (worker1) sending request to tomcat failed (unrecoverable), (attempt=3D1) [Sun Jul 10 21:42:56.168 2011] [580:3100] [error] HttpExtensionProc::jk_isapi_plugin.c (2261): service() failed with http error 502 [Sun Jul 10 21:45:49.849 2011] [580:4532] [error] ajp_connection_tcp_get_message::jk_ajp_common.c (1296): wrong message = format 0x3000 from 127.0.0.1:8019 [Sun Jul 10 21:45:49.867 2011] [580:4532] [error] ajp_get_reply::jk_ajp_common.c (2118): (worker1) Tomcat is down or = refused connection. No response has been sent to the client (yet) However I didn't see any errors in the Tomcat logs. I could reproduce the errors by pressing F5 in Firefox several seconds, = so that FF makes a lot of requests in a short time. However, when I switch to AJP BIO, it seems that the errors go away. Please note that I'm also using the Java ImageIO to produce and serve = images with some servlets. I think somewhere I read that using the ImageIO with = APR connectors could cause problems. Is this correct? If yes, does that mean that I have to stick with the AJP BIO (or NIO?) connector, instead of = AJP APR; or does anybody know why there are these errors? Thanks. Regards, Konstantin Prei=DFer --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org