Return-Path: Delivered-To: apmail-incubator-empire-db-dev-archive@locus.apache.org Received: (qmail 79939 invoked from network); 2 Jan 2009 12:53:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jan 2009 12:53:31 -0000 Received: (qmail 28455 invoked by uid 500); 2 Jan 2009 12:53:31 -0000 Delivered-To: apmail-incubator-empire-db-dev-archive@incubator.apache.org Received: (qmail 28436 invoked by uid 500); 2 Jan 2009 12:53:31 -0000 Mailing-List: contact empire-db-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: empire-db-dev@incubator.apache.org Delivered-To: mailing list empire-db-dev@incubator.apache.org Received: (qmail 28425 invoked by uid 99); 2 Jan 2009 12:53:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jan 2009 04:53:31 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of francisdb@gmail.com designates 209.85.128.186 as permitted sender) Received: from [209.85.128.186] (HELO fk-out-0910.google.com) (209.85.128.186) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Jan 2009 12:53:23 +0000 Received: by fk-out-0910.google.com with SMTP id 19so2950959fkr.12 for ; Fri, 02 Jan 2009 04:53:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=LzAHDTbUCz2xj/cMHuvTbvxSbFCay5DJCmfWBB2saCU=; b=pOy6c7HTlK7J+CMcWGfXgmcVfLW2apxHNg5/ekLGpyAYL4OXjpBwA/bAEl9U0L8qAs YYMe0xQTQOlh4lipf2JFvM7+QL6zgec0+futCRZlNRtu8ItgL+aY/n2a731L0G7NYkv3 j6U+3zBMSHePybOOzpwX0VmqUp4Wr5Alpanjk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=RKx+lYa3Gu1FRx6fYPA7wqSyC6L8uxJOlkCkm3Zg5smsiYWAi2cNtCLMNOgmpXwOiQ SHDdCS8ptqHqQdCXMq7Fv8SozkhIL15DFgtEyoUu7Lr2nSGN6ju7k5TopsmxZKrPLkgq 3OaK/MXMGUfFtciYUxab6Ux4saEn1rfbPg4ok= Received: by 10.86.59.18 with SMTP id h18mr8997079fga.45.1230900781492; Fri, 02 Jan 2009 04:53:01 -0800 (PST) Received: by 10.86.1.16 with HTTP; Fri, 2 Jan 2009 04:53:01 -0800 (PST) Message-ID: <3ab983230901020453o3b7b05d0ufde746579b63090b@mail.gmail.com> Date: Fri, 2 Jan 2009 13:53:01 +0100 From: "Francis De Brabandere" To: empire-db-dev@incubator.apache.org Subject: Re: [jira] Commented: (EMPIREDB-31) advanced sample throws SQLException (wrong db user) In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1257324713.1230375344409.JavaMail.jira@brutus> X-Virus-Checked: Checked by ClamAV on apache.org Merging branches will be hard, as I'll have to move a lot of files, I'll just do the same thing on trunk when everybody is ready to use maven... and when I can reproduce the distribution file correctly. I'm waiting for my apache login to be activated. After that I'll set up the branch so that other committers can check it out and test the mavenized project source. On Fri, Jan 2, 2009 at 1:43 PM, Rainer D=F6bele wrote: > Hi Francis, > > first of all we're happy that we have you now on the project and to find = you so keen on improving the project. > > Creating a branch is certainly a good idea. There are (as far as I know) = currently only minor bugfixes going on and it should be fairly simple to me= rge the branches later on. > > As far as your problem with loading the config.xml is concerned, it is no= problem to change the Sample Application's code. Currently it is assumed t= hat by default the config.xml can be found in the current directory which i= s the project's root directory in Eclipse. > > We should however give a hint if the config.xml cannot be found and the t= hus the hard coded default are being used, which was the problem in your ca= se. I have now corrected the SampleAdvConfig defaults as a first step. > > Since I am a little busy at the moment I might not always be able to repl= y straight away, but I will try my best. > > Regards, > Rainer > > > francisdb commented on EMPIREDB-31: > ----------------------------------- > > it's the defaults in SampleAdvConfig.java that are wrong, I suppose I was= not using the config.xml > >> advanced sample throws SQLException (wrong db user) >> --------------------------------------------------- >> >> Key: EMPIREDB-31 >> URL: https://issues.apache.org/jira/browse/EMPIREDB-31 >> Project: Empire-DB >> Issue Type: Bug >> Components: Core >> Reporter: francisdb >> Assignee: Rainer D=F6bele >> >> running the advanced example gives me: >> java.lang.RuntimeException: java.sql.SQLException: User not found: JDBC:= HSQLDB:FILE:HSQLDB/SAMPLE;SHUTDOWN=3DTRUE >> this is because SampleAdvConfig has the wrong value as user: >> is: >> private String jdbcUser =3D "jdbc:hsqldb:file:hsqldb/sample;shutdown=3Dt= rue"; >> should be: >> private String jdbcUser =3D "sa"; >> (I filed this issue before for the main example project, but it seems th= e advanced example has the same problem) > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > > > --=20 http://www.somatik.be Microsoft gives you windows, Linux gives you the whole house.