jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: Jackrabbit fails to start if database user is not schema owner
Date Thu, 12 Mar 2009 23:47:29 GMT
On Thu, Mar 12, 2009 at 2:40 PM, Martijn Hendriks <martijnh@gx.nl> wrote:
> The tables already existed. The testcase is this:
> * Start Jackrabbit the regular way which you describe (Jackrabbit autocreates the tables).
> * Stop Jackrabbit
> * Change the user credentials in the repository.xml to those of a user with only data
manipulation rights.
> * Start Jackrabbit again -> this does not work.
>
> The check whether the tables exist in the checkSchema method in this case finds that
the schema does not yet exist and it tries to create it which fails.

Then it seems that the user has no rights to look at the metadata (in
jdbc terms) and "see" that the table exists. Maybe you can give him
those rights.

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message