From derby-user-return-4362-apmail-db-derby-user-archive=db.apache.org@db.apache.org Thu Jun 08 17:09:21 2006 Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 85355 invoked from network); 8 Jun 2006 17:09:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Jun 2006 17:09:20 -0000 Received: (qmail 19504 invoked by uid 500); 8 Jun 2006 17:09:19 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 19463 invoked by uid 500); 8 Jun 2006 17:09:18 -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 19452 invoked by uid 99); 8 Jun 2006 17:09:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jun 2006 10:09:18 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 32.97.110.153 is neither permitted nor denied by domain of Stan.Bradbury@gmail.com) Received: from [32.97.110.153] (HELO e35.co.us.ibm.com) (32.97.110.153) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jun 2006 10:09:18 -0700 Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11]) by e35.co.us.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k58H8r3K016997 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 8 Jun 2006 13:08:54 -0400 Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by westrelay02.boulder.ibm.com (8.13.6/NCO/VER7.0) with ESMTP id k58H8lS1098308 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 8 Jun 2006 11:08:48 -0600 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id k58H8m82000385 for ; Thu, 8 Jun 2006 11:08:48 -0600 Received: from [127.0.0.1] (sig-9-48-50-22.mts.ibm.com [9.48.50.22]) by d03av04.boulder.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k58H8ZWV031684 for ; Thu, 8 Jun 2006 11:08:48 -0600 Message-ID: <44885990.6070901@gmail.com> Date: Thu, 08 Jun 2006 10:08:32 -0700 From: Stanley Bradbury User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Derby Discussion Subject: Re: Derby and Tomcat References: <0865CB5EEBB8B247A10D43052BA9DBC91A4D3C@emily.ion.erkrath> In-Reply-To: <0865CB5EEBB8B247A10D43052BA9DBC91A4D3C@emily.ion.erkrath> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Markus Krueger wrote: > Hello, > I have a running tomcat server and installed the derby.war file. That works great. > Now, my problem is that a can not find a derby.property file to set properties like the following: > > derby.connection.requireAuthentication=true > derby.authentication.provider=BUILTIN > derby.user.XXX=XXX > > Can you tell me where and how to set these properties, so that i can only create a derby database with some > root user? > > Thanx, > > Markus Krüger > IOn AG > Tel: 0211/92495-151 > http://www.ion.ag > > Hi - My Tomcat installation defaults derby.system.home to be the root directory of the Tomcat installation. You should find that the derby.log file is written to that location and if you create the file derby.properties there with the settings you need it should solve your problem.