Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 19722 invoked from network); 17 Jan 2005 17:20:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Jan 2005 17:20:31 -0000 Received: (qmail 67061 invoked by uid 500); 17 Jan 2005 17:20:29 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 67009 invoked by uid 500); 17 Jan 2005 17:20:29 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Delivered-To: moderator for derby-dev@db.apache.org Received: (qmail 80333 invoked by uid 99); 13 Jan 2005 17:03:52 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of bruce.snyder@gmail.com designates 64.233.170.193 as permitted sender) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=SvmMZSCxQ8HYrV0J7iOCotZgtzGyBiCwe6TuOcHz1FIctc+02dcmFmd0bsypMxeI9PlWcei3bue/+q2DbQZX+/gHrEmOlSI+t1RYfJNeJZ9sBzVi8ahF1DgmRKSLtabx4fadrbcgHXsff5+oesW3TtYcofI2GVTPHbFA24bszmE= Message-ID: <7b3355cb05011309036663390@mail.gmail.com> Date: Thu, 13 Jan 2005 10:03:49 -0700 From: Bruce Snyder Reply-To: ferret@frii.com To: derby-dev@db.apache.org Subject: Unable to create database on Mac OS X (FileNotFoundException) In-Reply-To: <7b3355cb050112154461225fa2@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <7b3355cb050112154461225fa2@mail.gmail.com> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I'm running Derby on Mac OS X (10.3.7) and experiencing the same *exact* trouble as noted in DERBY-1 (http://issues.apache.org/jira/browse/DERBY-1). The only difference is that I'm using the Network Server. I start up the Derby Network Server, connect with ij and everything is fine. I can even connect with DbVisualizer and all is well. However, upon trying to create a database like so from ij: ij> connect 'jdbc:derby:net://127.0.0.1/castor_tests;create=true;user=bruce;password=bruce;retrieveMessagesFromServerOnGetMessage=true;'; I received the following error: ERROR XJ041: DB2 SQL error: SQLCODE: -1, SQLSTATE: XJ041, SQLERRMC: castor_testsXJ041.CXBM01:XBM01.DXJ001:java.io.FileNotFoundException/Users/bsnyder/castor_tests/log/log1.dat (File exists)XJ001.UFailed to create database 'castor_tests', see the next exception for details.Startup failed due to an exception, see next exception for details.Java exception: '/Users/bsnyder/castor_tests/log/log1.dat (File exists): java.io.FileNotFoundException'.(server log:/Users/bsnyder/derby.log) When, in fact, the file /Users/bsnyder/castor_tests/log/log1.dat does *not* exist. I've tried this same exact operation on Linux and it succeeds without issue. I really need this to succeed on Mac OS X. Am I possibly doing something wrong here? Below is my sysinfo output: --------- Cloudscape Network Server Information -------- Version: CSS10000/10.0.2.0 Build: 30301 DRDA Product Id: CSS10000 -- listing properties -- derby.drda.host=localhost derby.drda.portNumber=1527 derby.drda.startNetworkServer=false derby.drda.minThreads=0 derby.drda.traceAll=false derby.drda.logConnections=false derby.drda.maxThreads=0 derby.drda.timeSlice=0 ------------------ Java Information ------------------ Java Version: 1.4.2_05 Java Vendor: Apple Computer, Inc. Java home: /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home Java classpath: /Applications/IBM/Cloudscape_10.0/lib/derby.jar:/Applications/IBM/Cloudscape_10.0/lib/derbytools.jar:/Applications/IBM/Cloudscape_10.0/lib/derbynet.jar: OS name: Mac OS X OS architecture: ppc OS version: 10.3.7 Java user name: bsnyder Java user home: /Users/bsnyder Java user dir: /Users/bsnyder/ --------- Derby Information -------- [/Applications/IBM/Cloudscape_10.0/lib/derby.jar] 10.0.2.0 - (30301) [/Applications/IBM/Cloudscape_10.0/lib/derbytools.jar] 10.0.2.0 - (30301) [/Applications/IBM/Cloudscape_10.0/lib/derbynet.jar] 10.0.2.0 - (30301) ------------------------------------------------------ ----------------- Locale Information ----------------- ------------------------------------------------------ Bruce -- perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E