jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Klimetschek <aklim...@day.com>
Subject Re: Change the PM to DbDataStore.
Date Tue, 10 Feb 2009 13:20:04 GMT
On Mon, Feb 9, 2009 at 7:53 PM, hsp_ <piccinatto@ibest.com.br> wrote:
> 2009-02-09 16:51:59,732 ERROR
> [org.apache.jackrabbit.core.fs.db.DbFileSystem] failed to initialize file
> system
> java.sql.SQLException: No suitable driver found for java:jdbc/DesenvDS

This means you need to configure the jdbc url and the driver for your
DbFileSystem (see [1] for a description).

And please note: if you change the persistence manager, Jackrabbit
won't migrate automatically. It will only use the persistence manager
configured in the workspace.xml and access whatever is configured, eg.
a certain database and certain tables within. However, if you only
change from using JNDI to direct database persistence managers, you
just have to get the jdbc config right.

[1] http://jackrabbit.apache.org/api/1.5/org/apache/jackrabbit/core/fs/db/DbFileSystem.html
[2] http://jackrabbit.apache.org/api/1.5/org/apache/jackrabbit/core/persistence/bundle/PostgreSQLPersistenceManager.html


Alexander Klimetschek

View raw message