Hi Antonio! You can specify a JNDI data source in the url parameter, but that is only available for DB persistence managers. See
http://jackrabbit.apache.org/api/1.4/org/apache/jackrabbit/core/persistence/bundle/BundleDbPersistenceManager.html#setUrl(java.lang.String) The usage of a DbFileSystem is not required if you use a DB persistence manager. It only stores the workspace.xml config file and the lucene indexes, which need random access anyway, which you typically don't have with data stored in a database. The "real" data is stored via the persistence manager. Hence the recommended configuration is the combination of a org.apache.jackrabbit.core.fs.local.LocalFileSystem (storing files in a normal file system) and a bundle db persistence manager. Regards, Alex On Fri, Jun 27, 2008 at 9:26 PM, MARTINEZ Antonio <[EMAIL PROTECTED]> wrote: > Hello, > > I'm using JackRabbit with MySql. Currently I configure the db connection > in repository.xml as > > <FileSystem > class="org.apache.jackrabbit.core.fs.db.DbFileSystem"> > <param name="driver" value="com.mysql.jdbc.Driver"/> > <param name="url" > value="jdbc:mysql://localhost:3307/emlplatform?useUnicode=true&chara > cterEncoding=UTF-8" /> > <param name="user" value="root" /> > <param name="password" value="mysql" /> > <param name="schema" value="mysql"/> > <param name="schemaObjectPrefix" value="J_R_FS_"/> > </FileSystem> > > However, in my case I need to obtain the url at deployment time. That > information in my case is in data source mysql-ds.xml of the Jboss > "deploy" directory. > > Is there a way to do a lookup. If I need to modify the persistence > manager could someone point where to do it? > > Thank-you, > Antonio > -- Alexander Klimetschek [EMAIL PROTECTED]
