Return-Path: X-Original-To: apmail-httpd-users-archive@www.apache.org Delivered-To: apmail-httpd-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 CA28475BF for ; Tue, 15 Nov 2011 16:24:55 +0000 (UTC) Received: (qmail 69752 invoked by uid 500); 15 Nov 2011 16:24:52 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 69718 invoked by uid 500); 15 Nov 2011 16:24:52 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 69710 invoked by uid 99); 15 Nov 2011 16:24:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2011 16:24:52 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of prvs=5300FC507F=forums@lode.is designates 75.151.145.250 as permitted sender) Received: from [75.151.145.250] (HELO shelley4.webville.net) (75.151.145.250) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2011 16:24:44 +0000 Received: from shelley5.webville.net (65.115.231.155) by shelley4.webville.net (65.115.231.154) with Microsoft SMTP Server (TLS) id 14.1.355.2; Tue, 15 Nov 2011 11:24:24 -0500 Received: from MB10.webville.net ([fe80::971:dbfc:f5f4:82f7]) by shelley5.webville.net ([2002:4173:e79b::4173:e79b]) with mapi id 14.01.0355.002; Tue, 15 Nov 2011 11:24:22 -0500 From: =?iso-8859-1?Q?=D8yvind_Lode_-_Forums?= To: "Apache Users List (users@httpd.apache.org)" Thread-Topic: Apache, mod_proxy and Glassfish Thread-Index: AcyjrydEMc/YdSlPSz+BjLgzqQka/w== Date: Tue, 15 Nov 2011 16:24:22 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [81.166.42.2] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: [users@httpd] Apache, mod_proxy and Glassfish Hi: I'm struggling with some Apache error messages. I'm not 100% sure it's Apache which is faulty but it looks like it. I'm using mod_proxy / mod_proxy_http to forward requests to Glassfish. In apache's ssl error log I can see the following: [Tue Nov 15 04:38:02 2011] [error] (103)Software caused connection abort: p= roxy: pass request body failed to 127.0.0.1:8181 (localhost) [Tue Nov 15 04:38:02 2011] [error] proxy: pass request body failed to 127.0= .0.1:8181 (localhost) from x.x.x.x () I have removed the client ip from the error message above. I'm using ip-based virtual hosts in apache and here's the config: ... SSLEngine on # certificates ... # SSL Engine Options: # Set various options for the SSL engine. # o FakeBasicAuth: # Translate the client X.509 into a Basic Authorisation. This means th= at # the standard Auth/DBMAuth methods can be used for access control. Th= e # user name is the `one line' version of the client's X.509 certificate= . # Note that no password is obtained from the user. Every entry in the u= ser # file needs this password: `xxj31ZMTZzkVA'. # o ExportCertData: # This exports two additional environment variables: SSL_CLIENT_CERT an= d # SSL_SERVER_CERT. These contain the PEM-encoded certificates of the # server (always existing) and the client (only existing when client # authentication is used). This can be used to import the certificates # into CGI scripts. # o StdEnvVars: # This exports the standard SSL/TLS related `SSL_*' environment variabl= es. # Per default this exportation is switched off for performance reasons, # because the extraction step is an expensive operation and is usually # useless for serving static content. So one usually enables the # exportation for CGI and SSI requests only. # o StrictRequire: # This denies access when "SSLRequireSSL" or "SSLRequire" applied even # under a "Satisfy any" situation, i.e. when it applies access is denie= d # and no other module can change it. # o OptRenegotiate: # This enables optimized SSL connection renegotiation handling when SSL # directives are used in per-directory context. #SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire SSLOptions +StdEnvVars SSLOptions +StdEnvVars # SSL Protocol Adjustments: # The safe and default but still SSL/TLS standard compliant shutdown # approach is that mod_ssl sends the close notify alert but doesn't wait = for # the close notify alert from client. When you need a different shutdown # approach you can use one of the following variables: # o ssl-unclean-shutdown: # This forces an unclean shutdown when the connection is closed, i.e. n= o # SSL close notify alert is send or allowed to received. This violates # the SSL/TLS standard but is needed for some brain-dead browsers. Use # this when you receive I/O errors because of the standard approach whe= re # mod_ssl sends the close notify alert. # o ssl-accurate-shutdown: # This forces an accurate shutdown when the connection is closed, i.e. = a # SSL close notify alert is send and mod_ssl waits for the close notify # alert of the client. This is 100% SSL/TLS standard compliant, but in # practice often causes hanging connections with brain-dead browsers. U= se # this only for browsers where you know that their SSL implementation # works correctly. # Notice: Most problems of broken clients are also related to the HTTP # keep-alive facility, so you usually additionally want to disable # keep-alive for those clients, too. Use variable "nokeepalive" for this. # Similarly, one has to force some clients to use HTTP/1.0 to workaround # their broken HTTP/1.1 implementation. Use variables "downgrade-1.0" and # "force-response-1.0" for this. BrowserMatch "MSIE [2-6]" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 # MSIE 7 and newer should be able to use keepalive BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown # forward requests to Glassfish ProxyRequests Off ProxyPreserveHost On SSLProxyEngine on Order deny,allow Allow from all ProxyPass / https://localhost:8181/ ProxyPassReverse / https://localhost:8181/ Order allow,deny Allow from all =20 OS =3D Ubuntu Linux 10.04 LTS Apache version =3D 2.2.14 I tried Google to search for the proxy error but couldn't find anything par= ticularly helpful. Please help! --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org