Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 25137 invoked from network); 12 Jan 2005 23:44:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 12 Jan 2005 23:44:37 -0000 Received: (qmail 27103 invoked by uid 500); 12 Jan 2005 23:44:36 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 27083 invoked by uid 500); 12 Jan 2005 23:44:36 -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 27069 invoked by uid 99); 12 Jan 2005 23:44:36 -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.203 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (64.233.170.203) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 12 Jan 2005 15:44:35 -0800 Received: by rproxy.gmail.com with SMTP id a36so180638rnf for ; Wed, 12 Jan 2005 15:44:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=fer7EoLUQR/cQVFAjux0tyC/cG246JZThXrvIeCNhJGWJOAFkzcAp0fjBvryYJCBjAc6vJ8p5b1kD+EIeWyMfscc54oeKiBFM/cUD4jpcQkwWJyeLYd8NS5ovH9qoslpxjhlLvTCEycaxpjzc+1og5R1k5WKc1w7eCsQA9g/nRE= Received: by 10.38.88.38 with SMTP id l38mr175705rnb; Wed, 12 Jan 2005 15:44:32 -0800 (PST) Received: by 10.38.89.73 with HTTP; Wed, 12 Jan 2005 15:44:32 -0800 (PST) Message-ID: <7b3355cb050112154461225fa2@mail.gmail.com> Date: Wed, 12 Jan 2005 16:44:32 -0700 From: Bruce Snyder Reply-To: ferret@frii.com To: derby-user@db.apache.org Subject: Unable to create database on Mac OS X (FileNotFoundException) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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