incubator-empire-db-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francis De Brabandere" <franci...@gmail.com>
Subject Re: [jira] Commented: (EMPIREDB-31) advanced sample throws SQLException (wrong db user)
Date Fri, 02 Jan 2009 12:53:01 GMT
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öbele <doebele@esteam.de> 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 merge 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 that by default the config.xml
can be found in the current directory which is the project's root directory in Eclipse.
>
> We should however give a hint if the config.xml cannot be found and the thus the hard
coded default are being used, which was the problem in your case. 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 reply 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öbele
>>
>> running the advanced example gives me:
>> java.lang.RuntimeException: java.sql.SQLException: User not found: JDBC:HSQLDB:FILE:HSQLDB/SAMPLE;SHUTDOWN=TRUE
>> this is because SampleAdvConfig has the wrong value as user:
>> is:
>> private String jdbcUser = "jdbc:hsqldb:file:hsqldb/sample;shutdown=true";
>> should be:
>> private String jdbcUser = "sa";
>> (I filed this issue before for the main example project, but it seems the 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.
>
>
>



-- 
http://www.somatik.be
Microsoft gives you windows, Linux gives you the whole house.

Mime
View raw message