Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7D65B10562 for ; Wed, 19 Nov 2014 23:12:34 +0000 (UTC) Received: (qmail 48519 invoked by uid 500); 19 Nov 2014 23:12:34 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 48497 invoked by uid 500); 19 Nov 2014 23:12:34 -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 48481 invoked by uid 99); 19 Nov 2014 23:12:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Nov 2014 23:12:34 +0000 Date: Wed, 19 Nov 2014 23:12:34 +0000 (UTC) From: "Myrna van Lunteren (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DERBY-600) Document that DB is booted in read-only mode if not able to create db.lck file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-600?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D14218= 689#comment-14218689 ]=20 Myrna van Lunteren commented on DERBY-600: ------------------------------------------ Thanks for the review and the tip re xref Kim. I'll upload a new patch... > Document that DB is booted in read-only mode if not able to create db.lck= file > -------------------------------------------------------------------------= ----- > > Key: DERBY-600 > URL: https://issues.apache.org/jira/browse/DERBY-600 > Project: Derby > Issue Type: Sub-task > Components: Documentation > Reporter: =C3=98ystein Gr=C3=B8vlen > Priority: Minor > Attachments: DERBY-600.diff, cdevdvlp20458.html > > > I suggest adding the following to the Developer's Guide after "Double-boo= ting system behavior": > Booting a database in read-only mode > If Derby is not able to create the db.lck file when booting a database, t= he database will be booted in read-only mode. This may happen due to lack = of disk space or access rights for the database directory. In this case, t= he boot message in the error log will look like the following: >
> 2005-10-04 12:12:30.835 GMT:
>  Booting Derby version The Apache Software Foundation - Apache Derby - 10=
.2.0.0 alpha - (293288M): instance c013800d-0106-bb8c-12e6-00001672f894
> on database directory sample in READ ONLY mode=20
> 
> See also "Creating Derby databases for read-only use" -- This message was sent by Atlassian JIRA (v6.3.4#6332)