Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 20387 invoked from network); 28 Jul 2009 07:42:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Jul 2009 07:42:20 -0000 Received: (qmail 96054 invoked by uid 500); 28 Jul 2009 06:41:37 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 95986 invoked by uid 500); 28 Jul 2009 06:41:37 -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 95978 invoked by uid 99); 28 Jul 2009 06:41:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jul 2009 06:41:37 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.18.6.21] (HELO gmp-eb-inf-1.sun.com) (192.18.6.21) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jul 2009 06:41:25 +0000 Received: from fe-emea-09.sun.com (gmp-eb-lb-1-fe1.eu.sun.com [192.18.6.7] (may be forged)) by gmp-eb-inf-1.sun.com (8.13.7+Sun/8.12.9) with ESMTP id n6S6f3uE022126 for ; Tue, 28 Jul 2009 06:41:04 GMT MIME-version: 1.0 Content-transfer-encoding: 8BIT Content-type: text/plain; format=flowed; charset=windows-1252 Received: from conversion-daemon.fe-emea-09.sun.com by fe-emea-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)) id <0KNH00C00BP66R00@fe-emea-09.sun.com> for derby-user@db.apache.org; Tue, 28 Jul 2009 07:40:56 +0100 (BST) Received: from [129.159.139.223] ([unknown] [129.159.139.223]) by fe-emea-09.sun.com (Sun Java(tm) System Messaging Server 7u2-7.02 64bit (built Apr 16 2009)) with ESMTPSA id <0KNH00EWNBW8EG70@fe-emea-09.sun.com> for derby-user@db.apache.org; Tue, 28 Jul 2009 07:40:56 +0100 (BST) Date: Tue, 28 Jul 2009 08:39:10 +0200 From: Kristian Waagan Subject: Re: Embedded Derby multi-user In-reply-to: Sender: Kristian.Waagan@Sun.COM To: Derby Discussion Message-id: <4A6E9D0E.3000403@Sun.COM> References: User-Agent: Thunderbird 2.0.0.21 (X11/20090623) X-Virus-Checked: Checked by ClamAV on apache.org Clifton B. Sothoron Jr. wrote: > > I�m creating an application which receives various requests to insert, > update and query an Embedded Derby database. It works properly except > when one request does a lot of inserts. During this time query > requests are blocked. I get the message edules' not found. --- > �org.apache.derby.impl.jdbc.EmbedSQLException: Database > 'C:\rdScheduler\Schedules' not found.� Once the inserts are done then > queries work. I�ve been rooting around the derby.properties > documentation. It isn�t clear to me how to use this file to configure > Derby to allow concurrent access. How is this done? > Hello Clifton, Derby allows concurrent access by default, by using multiple connections to the database. Note that only one JVM can have the database booted at a time. If you need to access the database concurrently from several JVMs, you have to use the network server. The message you posted indicates that the database you are trying to connect to doesn't exist. Is there anything else printed to your logs, or maybe in the file derby.log? Just so we're on the same page here; - Are you accessing the database with several connections from a single JVM, using the embedded driver? - Are you sure you are not trying to boot the same database from different JVMs? - Where in your application does the error occur; during connect or during processing? - Which version of Derby are you using? The answers to these questions may bring us closer to finding the problem. Also, please post the stack trace for the error if you have it available. Regards, -- Kristian > > TIA, > > Clifton Sothoron > > LogiXML, Development Department > Clifton.SothoronJr@logixml.com | > http://www.logixml.com >