hi martjin,
i'm aware of some of those bugs. and will shortly fix them. i tested
with derby and H2 and those seem to work.
however, i would be happy if we could contribute the pms and fix the
bugs afterwards, once the code is committed to jackrabbit. otherwise
we would have to create a new patch and probably have a new vote.
regards, toby
On 2/21/07, Martijn Hendriks <[EMAIL PROTECTED]> wrote:
Hi,
These bundle PMs look great! They indeed offer a very significant
performance improvement. I have encountered, however, some minor issues:
Using some configuration options in the repository.xml fails (at least
externalBLOBs, minBlobSize). It seems that these are not considered bean
properties because the getter and setter methods do not completely match
(setter uses String while the getter returns boolean or int respectively).
I first tried the MySQL PM. This did not work because an abstract method is
called:
Caused by: java.lang.AbstractMethodError:
com.inet.tds.e.prepareStatement(Ljava/lang/String;I)Ljava/sql/PreparedStatem
ent;
at
org.apache.jackrabbit.core.persistence.bundle.util.DbNameIndex.init(DbNameIn
dex.java:72)
at
org.apache.jackrabbit.core.persistence.bundle.util.DbNameIndex.<init>(DbName
Index.java:58)
at
org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.cre
ateDbNameIndex(BundleDbPersistenceManager.java:566)
at
org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.get
NameIndex(BundleDbPersistenceManager.java:551)
at
org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.ini
t(BundleDbPersistenceManager.java:515)
at
org.apache.jackrabbit.core.persistence.bundle.MSSqlPersistenceManager.init(M
SSqlPersistenceManager.java:60)
at
org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(Repositor
yImpl.java:1190)
at
org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(RepositoryImp
l.java:369)
at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:282)
at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:588)
I used the Una JDBC driver; should I use the Microsoft driver instead?
Then I tried the Oracle PM. This also failed because the methods
"store(NodeReferences)" and "store(NodePropBundle)" (both in the
BundleDbPersistenceManager) failed (the serialized data does not fit into
the column). The solution to this seems to override these methods in the
OraclePersistenceManager (for bundles) using the same blob-handling code as
used in the regular OraclePersistenceManager. I tried that, and it worked
fine.
Regards,
Martijn Hendriks
<GX> creative online development B.V.
t: 024 - 3888 261
f: 024 - 3888 621
e: [EMAIL PROTECTED]
Wijchenseweg 111
6538 SW Nijmegen
http://www.gx.nl/
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Tobias Bocanegra
> Sent: Tuesday, February 20, 2007 3:32 PM
> To: [email protected]
> Subject: Bundle Persistence Manager
>
> hi,
> we (day software) offer our set of bundle persistence
> managers to the jackrabbit project. those pms combine the
> node and property states into a single bundle and store them
> together. this improves performance and reduces
> storage-memory overhead (no exact numbers available). The
> bundle pms also have a "bundle-cache" that does a memory
> sensitive caching of the bundles and a negative cache for
> non-existent bundles. small binary properties are inlined
> into the bundle rather than stored in the blob store.
>
> i created a jira issue for this [JCR-755] regards, toby
>
> [JCR-755] http://issues.apache.org/jira/browse/JCR-755
> --
> -----------------------------------------<
> [EMAIL PROTECTED] >--- Tobias Bocanegra, Day
> Management AG, Barfuesserplatz 6, CH - 4001 Basel T +41 61
> 226 98 98, F +41 61 226 98 97
> -----------------------------------------------<
> http://www.day.com >---
--
-----------------------------------------< [EMAIL PROTECTED] >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---
--
-----------------------------------------< [EMAIL PROTECTED] >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---