Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 65583 invoked from network); 4 May 2010 01:50:26 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 May 2010 01:50:26 -0000 Received: (qmail 84303 invoked by uid 500); 4 May 2010 01:50:25 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 84268 invoked by uid 500); 4 May 2010 01:50:25 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 84261 invoked by uid 99); 4 May 2010 01:50:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 01:50:25 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bpendleton.derby@gmail.com designates 209.85.221.173 as permitted sender) Received: from [209.85.221.173] (HELO mail-qy0-f173.google.com) (209.85.221.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 01:50:16 +0000 Received: by qyk4 with SMTP id 4so4617048qyk.17 for ; Mon, 03 May 2010 18:49:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=JVZ7xfWOdRi55a8mma6xvBrXB3IxuKDawSYxabSXfxI=; b=iAInXO6zR6hvrdwJ46slqRLSga6xBjGE/H29vhA2l7nmyU5IMVV+GDMflWCnvmx9lh s9soqmobKfVoEvzQdGRavjinyxpbq3ubV47uO/rtdDx6Inl6L2IcbqGNDLmIPguIaEkk EnumowRJpv3enb70zkyHNG0Dwb4ytvjICZ3QM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=oE0QdpBAiV/R60k1xx53mlI4WGBUv71NRerw2HfIpCFsldcr8Vfo6cYE+lI5m5Z8Id 0tqhVoqniEUNqab8kqbajX/ICe9LsS8+CrRRPjU1PNnsyKiqCVacET0zn9zIRUMHv8mH u0ui63otU8eoJQD5f9LMGflKJn+kKtVqkSobY= Received: by 10.229.230.65 with SMTP id jl1mr2415750qcb.7.1272937795184; Mon, 03 May 2010 18:49:55 -0700 (PDT) Received: from [192.168.0.103] (c-67-170-231-73.hsd1.ca.comcast.net [67.170.231.73]) by mx.google.com with ESMTPS id g19sm1154625qcq.23.2010.05.03.18.49.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 03 May 2010 18:49:54 -0700 (PDT) Message-ID: <4BDF7D3B.4040806@gmail.com> Date: Mon, 03 May 2010 18:49:47 -0700 From: Bryan Pendleton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4 MIME-Version: 1.0 To: Derby Discussion Subject: Re: Intermittent "Connection closed by unknown interrupt." errors References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org > I've been experiencing intermittent errors in derby.log that look like this: > Caused by: java.lang.InterruptedException > at java.lang.Object.wait(Native Method) > at java.lang.Object.wait(Object.java:485) > at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source) > at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source) Do you call Thread.interrupt() anywhere in your application? http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Thread.html#interrupt() This API is, unfortunately, unsafe to call in a Derby-based application, as the Derby code does not protect itself from these interrupt() calls. thanks, bryan