jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <nick_stolw...@planet.nl>
Subject RE: DataSource enabled in org.apache.jackrabbit.core.fs.db.DbFileSystem ?
Date Wed, 01 Aug 2007 15:43:06 GMT
As far as I know the default database filesystems cannot do this. However, the JNDIDatabaseFilesystem
accepts a DataSource through JNDI to get a Connection. (No pooling however) 

For the PersistenceManager we have used the PooledJNDIDatabasePersistenceManager from Iorga
group, which takes advantage of a Datasource and thus connectionpooling. I don't know whether
they have written a filesystem. Their code is found at [1]. However, the version currently
online has a bug and soon they will provide a new one. For the solution, see the message of
Raymond Brandon earlier this day.

I guess to implement a Pooled Filesystem you would have to rewrite the classes from Jackrabbit,
because they use Prepared statements. If you would find or program such a FileSystem I would
be interested.


Nick Stolwijk

[1] http://www.iorga.com/downloads/PooledJNDIDatabasePersistenceManager.jar

-----Original Message-----
From: Stephen More [mailto:stephen.more@gmail.com]
Sent: Wed 8/1/2007 5:31 PM
To: users@jackrabbit.apache.org
Subject: DataSource enabled in org.apache.jackrabbit.core.fs.db.DbFileSystem ?
I was looking at the javadocs for DbFileSystem and I do not see a way
to utilize a DataSource.
Is there a way to configure a DataSource for a DbFileSystem that I am
just not seeing ?

(DataSources can take advantage of ConnectionPooling.)

Steve More

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message