Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 69460 invoked from network); 18 Nov 2005 15:44:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Nov 2005 15:44:59 -0000 Received: (qmail 15049 invoked by uid 500); 18 Nov 2005 15:44:58 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 15038 invoked by uid 99); 18 Nov 2005 15:44:58 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2005 07:44:58 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of bcm@osafoundation.org designates 204.152.186.98 as permitted sender) Received: from [204.152.186.98] (HELO laweleka.osafoundation.org) (204.152.186.98) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2005 07:46:31 -0800 Received: from localhost (localhost [127.0.0.1]) by laweleka.osafoundation.org (Postfix) with ESMTP id 15EDF142298 for ; Fri, 18 Nov 2005 07:44:37 -0800 (PST) Received: from laweleka.osafoundation.org ([127.0.0.1]) by localhost (laweleka.osafoundation.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03531-02 for ; Fri, 18 Nov 2005 07:44:36 -0800 (PST) Received: from [10.0.1.9] (c-67-188-209-63.hsd1.ca.comcast.net [67.188.209.63]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by laweleka.osafoundation.org (Postfix) with ESMTP id CAA6C142296 for ; Fri, 18 Nov 2005 07:44:36 -0800 (PST) Message-ID: <437DF6DB.3080509@osafoundation.org> Date: Fri, 18 Nov 2005 07:44:27 -0800 From: Brian Moseley User-Agent: Thunderbird 1.5 (Macintosh/20051025) MIME-Version: 1.0 To: jackrabbit-dev@incubator.apache.org Subject: Re: "failed to spool stream to internal storage" exception References: <437D352C.3050105@osafoundation.org> <90a8d1c00511180030n30439082oe6384593000ac5d4@mail.gmail.com> In-Reply-To: <90a8d1c00511180030n30439082oe6384593000ac5d4@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new and clamav at osafoundation.org X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Stefan Guggisberg wrote: > if you're calling prop.setValue(someInputStream) the stream is read and > either kept in a byte[] or spooled to a temporary file, depending on its size. > > i assume that a read method of the passed input stream throws > an IOException while it is being spooled to internal storage. ah, that makes sense. > "Connection reset" seems to indicate that the socket the stream > reads from has been prematurely closed. > > looks like you have to review the shutdown sequence of your server ;) heh, yeah. i think what must have happened is that i tried to shut down the server while it was under load, trying to store a bunch of webdav resources, and something got screwed up. i don't think tomcat normally shuts down its http connector or closes open connections before shutting down its webapps, but i could be mistaken. anyway, i've only seen this error in the context of a badly misbehaving server that needed to be killed, so i'm not too worried about it. but i'm glad you were able to explain the error message, and i'll keep an eye on things to make sure this isn't a more common occurrence. thanks!