Return-Path: X-Original-To: apmail-db-derby-user-archive@www.apache.org Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3735ED765 for ; Wed, 14 Nov 2012 00:08:03 +0000 (UTC) Received: (qmail 11863 invoked by uid 500); 14 Nov 2012 00:08:02 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 11843 invoked by uid 500); 14 Nov 2012 00:08:02 -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 11835 invoked by uid 99); 14 Nov 2012 00:08:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2012 00:08:02 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [98.139.44.141] (HELO nm14.access.bullet.mail.sp2.yahoo.com) (98.139.44.141) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2012 00:07:53 +0000 Received: from [98.139.44.107] by nm14.access.bullet.mail.sp2.yahoo.com with NNFMP; 14 Nov 2012 00:07:33 -0000 Received: from [67.195.22.118] by tm12.access.bullet.mail.sp2.yahoo.com with NNFMP; 14 Nov 2012 00:07:33 -0000 Received: from [127.0.0.1] by smtp113.sbc.mail.gq1.yahoo.com with NNFMP; 14 Nov 2012 00:07:33 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1352851653; bh=IYMDSmDDdSkf5OZwQDrPGPPKxV64ExIzKCgmLZRhAUM=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=b4p8Bl74E6KTq6dmQQi1C92g7xevKfH3MjFOq7hA4QLJFTKz7AMBdgsdZWr9vydk2wBi1PP+xb0g5xhq5GzeANOLYY1vA1RXWZhb1BiG/Fv6JI/xnDNA7QVu/OFbI7H5dLVEJ2uwrtB/7Uhsl621xyTyTdZ6MGQfnZIAyUG3fyE= X-Yahoo-Newman-Id: 244653.69720.bm@smtp113.sbc.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: xSXOn6UVM1l62p2xTocgPqmutTE.La4QGzMXBA476R026Mh FrVu_donJ4.QNWQANMN8MdLUTidHMhGZumvWLjpX3V857G.KcMGqsxg7pSKD 1fhsn0JXYB3m7StBionqc_I6_nOVv80_ldVfZnAhdh1iD75zPTGlKX8O..a9 1YJ7202W9ZVwLBTxe5H5iKJmV8Rz1rl_XztHImBujmilAa0d1ik2cRY0zAe. YEjXEBQaV3imkKQId6h1TXsWWrcNjjIHJQpbEZzMS8JR_a0aZ.1FHyUBMbNb LNk5VjDcvW4go8Tesc7_tzq_6vCC3kJ1Xi6XA5txfETZ_HD.1d9utKU2p2zQ dDi71HwTMOjcvCORohMs9PBzfCyLB3B.U9t8XfMW4NA09ZuSqTOi1g84ZFjm 0bppXOoWQh6Gu5pXJx.qgZ8COz0uv.qsyJnHEiSuLJzbnYb10yzEYhzpug_V Rpw8GeQ6i9JyaaaFkQ3QiSmy9BC3zrXbFFg7UASZOQ3KLZjQ_5SGx3bobUwh cr0aP9qqBuJXWCw_lY0POayJl4ngETI4rgzqEEXst6_pr1zLBTrz5wWs4hTg j226u5yNgFXcZhGTCqzS2mnXkc3Vhu28- X-Yahoo-SMTP: fBd8VESswBBwVkX.d9lIdXduzED_6kJxUAzIjM21tL._95FbORG0yg-- Received: from [192.168.1.71] (kmarsdenderby@108.231.78.45 with plain) by smtp113.sbc.mail.gq1.yahoo.com with SMTP; 13 Nov 2012 16:07:33 -0800 PST Message-ID: <50A2E0B6.2080503@sbcglobal.net> Date: Tue, 13 Nov 2012 16:07:18 -0800 From: Katherine Marsden User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Derby Discussion Subject: Re: How to reset Derby Database in JVM References: <1349919328.3013.YahooMailNeo@web162802.mail.bf1.yahoo.com> <5076B913.2090803@oracle.com> <34676336.post@talk.nabble.com> In-Reply-To: <34676336.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 11/13/2012 3:27 PM, Oskar Zinger wrote: > Hi Rick, > > Thank you for the pointers to the right places in the documentation. > > Here is what I used: > Shutting down the system: > http://db.apache.org/derby/docs/10.8/devguide/tdevdvlp20349.html > Shutting down Derby or an individual database: > http://db.apache.org/derby/docs/10.8/devguide/tdevdvlp40464.html > > I am using Derby Network Server... and I think it would have helped if the > documentation mentioned somewhere that this same approach would work for > Client / Server deployment of Derby. Somehow it seemed to me this would have > only worked for an Embedded deployment of Derby. I think that it will only work really well for Embedded. Shutting down remotely can lead to protocol errors and also prevent you from getting the nested exception for the SQLException returned because the system is shutdown. If you are using embedded Server I would recommend using the embedded URL if you can.