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 4F8F6EF70 for ; Mon, 26 Nov 2012 03:29:04 +0000 (UTC) Received: (qmail 76305 invoked by uid 500); 26 Nov 2012 03:29:00 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 75900 invoked by uid 500); 26 Nov 2012 03:28:59 -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 75845 invoked by uid 99); 26 Nov 2012 03:28:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2012 03:28:57 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of otnateos@gmail.com designates 209.85.219.45 as permitted sender) Received: from [209.85.219.45] (HELO mail-oa0-f45.google.com) (209.85.219.45) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2012 03:28:49 +0000 Received: by mail-oa0-f45.google.com with SMTP id i18so13675354oag.18 for ; Sun, 25 Nov 2012 19:28:28 -0800 (PST) Received: by 10.60.32.67 with SMTP id g3mr7074063oei.77.1353900508522; Sun, 25 Nov 2012 19:28:28 -0800 (PST) Received: from mail-ob0-f173.google.com (mail-ob0-f173.google.com [209.85.214.173]) by mx.google.com with ESMTPS id z7sm7203556oed.10.2012.11.25.19.28.27 (version=SSLv3 cipher=OTHER); Sun, 25 Nov 2012 19:28:28 -0800 (PST) Received: by mail-ob0-f173.google.com with SMTP id x4so13768895obh.18 for ; Sun, 25 Nov 2012 19:28:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=hn5TGfdBuXXjaZQrSvaRC8m0M+B/CUqGhpuLbUg+19k=; b=y6e5PZ5WLCluCAMYhBRmAXEuJJXuQk5obKpKe+JyQa0UNdiuCK2SHWjnTMojlNjXx8 K2J3HlzHiXMFNsN1nHwZMzrYt0Q46XbWBwcTVFhRSpi4AZnFRVL8W3tsDY5SFqlDuZSt JP7W/hdilbw+C4rrMVoJt28jPSpHrOTy+ZAHKWJP+aD5W0w0umJOeDTCkukToc4b67C0 vyxxrYHYDy01isgfsWQAL9AM4UtOf2kuUBwiLlBPwKdbks/dYmAPYPvEAXm+N2v/9Jfr xPfxR79dr8VSRRfE2Q2SdDtvWm+I4BvkPPHnSwcigttzMwHT5jQFWRGlthb2IULemfJZ 6kcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type :x-gm-message-state; bh=hn5TGfdBuXXjaZQrSvaRC8m0M+B/CUqGhpuLbUg+19k=; b=fSo8IU0cIfOGMMPnYsx+SMOCtrHtfu4uEri7l9UqdXKY//RmlscW48HLqp2Kls4DX7 ruUekbACq5HEKnpKQIccrlU4YgZL6hxtDlxP/F/XYkW3wIEzehRlTssJhMj+c8IyMhlT Zwxji/9PIk7iGz47CeVH+Mv7yK+MSSPbKz27sFUJd06m6tqIthpeZx1uBbmRLe04HsB2 dUVfWVJ+1mJ3qXFWmeDsda8JTi2C3xg5Evpv+qde8j0F4N5o/6mYYcMKF1WSN2dObejg cFqTZnICmRqL+LkjHdixDdYk+2zO+xEpXDeE3ZJWEQbedPqQikD1hc7wYjlxmaVdDU1o DEFQ== Received: by 10.60.28.201 with SMTP id d9mr2493013oeh.18.1353900507476; Sun, 25 Nov 2012 19:28:27 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.41.168 with HTTP; Sun, 25 Nov 2012 19:28:07 -0800 (PST) From: Johanes Soetanto Date: Mon, 26 Nov 2012 14:28:07 +1100 Message-ID: Subject: tomcat 6.0.35 with java 7 ssl proxy request body failed To: users@tomcat.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkYbqydxcvxex8EU0pDQ71oEujX/mqdQ/VyB234mbNUStUF3jKpxvEUFqHO/CRgkZThghPt X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I am wondering whether there is a known issue with running Tomcat 6.0.35 with Java 7 ? I see lots of "(502)Unknown error 502: proxy: pass request body failed.." error in our Apache log after running our Tomcat with Java 7. Once I change back Tomcat to use Java 6, I see no error at all. The error appears when I use Apache to proxy to a backend Tomcat server through port 8443. No other configuration changed apart changing Java from version 1.6.0_26-b03 to Java 1.7.0_09-b05 (both SUN/Oracle). Example of error message [Sun Nov 25 23:05:25 2012] [error] (502)Unknown error 502: proxy: pass request body failed to 127.0.0.1:8443 (127.0.0.1) [Sun Nov 25 23:05:25 2012] [error] proxy: pass request body failed to 127.0.0.1:8443 (127.0.0.1) from X.X.X.X () Other configuration information: --- Apache: v2.2.14 (Ubuntu) Apache Virtual Host: ... ProxyPreserveHost On ProxyRequests Off SSLEngine On SSLCertificateFile /etc/apache2/ssl/2012/ myserver.crt SSLCertificateKeyFile /etc/apache2/ssl/2012/myserver.key SSLCertificateChainFile /etc/apache2/ssl/2012/gd_bundle.crt SSLOptions +StrictRequire SSLProxyEngine On SSLProxyVerify none SSLProxyProtocol all RewriteEngine On RewriteRule ^/$ /app/ [R] RewriteRule /app(.*)$ https://127.0.0.1:8443/app$1 [P,L] Tomcat Connector setting: /etc/init.d/tomcat $JAVA_OPTS configuration: $JAVA_OPTS = "-server -Xms512m -Xmx1024m -XX:MaxPermSize=256M -XX:+UseParallelGC" Thanks beforehand for any help or assistance. Johanes Soetanto --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org