Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 43630 invoked from network); 7 Nov 2005 12:11:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Nov 2005 12:11:12 -0000 Received: (qmail 4359 invoked by uid 500); 7 Nov 2005 12:11:10 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 4324 invoked by uid 500); 7 Nov 2005 12:11:09 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 4315 invoked by uid 99); 7 Nov 2005 12:11:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Nov 2005 04:11:09 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [32.97.110.151] (HELO e33.co.us.ibm.com) (32.97.110.151) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Nov 2005 04:11:01 -0800 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e33.co.us.ibm.com (8.12.11/8.12.11) with ESMTP id jA7CAjd5007546 for ; Mon, 7 Nov 2005 07:10:45 -0500 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d03relay04.boulder.ibm.com (8.12.10/NCO/VERS6.8) with ESMTP id jA7CBrqf064228 for ; Mon, 7 Nov 2005 05:11:53 -0700 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id jA7CAiu1004929 for ; Mon, 7 Nov 2005 05:10:44 -0700 Received: from [127.0.0.1] (sig-9-48-111-29.mts.ibm.com [9.48.111.29]) by d03av01.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id jA7CADpV003657; Mon, 7 Nov 2005 05:10:43 -0700 Message-ID: <436F4423.4060104@debrunners.com> Date: Mon, 07 Nov 2005 04:10:11 -0800 From: Daniel John Debrunner User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en MIME-Version: 1.0 To: derby-dev@db.apache.org CC: roy_mylchreest@triangle-group.com Subject: Re: [jira] Created: (DERBY-685) Unexpected SQL Error References: <990669888.1131357440004.JavaMail.jira@ajax.apache.org> In-Reply-To: <990669888.1131357440004.JavaMail.jira@ajax.apache.org> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N roy mylchreest (JIRA) wrote: > Unexpected SQL Error > -------------------- > > Key: DERBY-685 > URL: http://issues.apache.org/jira/browse/DERBY-685 > Project: Derby > Type: Bug > Versions: 10.0.2.1 > Environment: Windows XP Embedded > Reporter: roy mylchreest > > > We are running Derby on over 20 IBM Revelation shop tills and about once a day we get the message. > > ERROR XSLA4: Cannot write to the log, most likely the log is full. Please > delete unnecessary files. It is also possible that the file system is read > only, or the disk has failed, or some other problems with the media > > This results in the till having to be re-booted, much to the frustration of the cashier and the customer. > > However on investigation everything seems fine, the log is not full and there is plenty of room on the disk. > > Could anybody give me some advice on this please as it is becoming a major issue for our retail operations. Is it possible to get the stack trace for this exception and the exception it nests? This SQLException should have a nested (chained) exception that represents the original IOException from the file system. Something like catch (SQLException sqle) { do { System.out.println("ERROR " + sqle.getSQLState() + " -- " + sqle.getMessage()); sqle.printStackTrace(System.out); sqle = sqle.getNextException(); } while (sqle != null) } Derby does retry some writes multiple times when it hits an IOException, to try and ensure it it's not some transient error. The stack trace would tell if it was one of these multiple write on failure situation. Thanks, Dan.