jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Fromm ...@inubit.com>
Subject H2 Persistence Manager problem
Date Mon, 19 Oct 2009 11:41:22 GMT
Hi,

today I configured H2 for both persistence managers (versioning and 
workspace), but at startup I get:

Cannot instantiate persistence manager org.apache.jackra
bbit.core.persistence.bundle.H2PersistenceManager: 
{http://www.jcp.org/jcr/mix/1.0}referenceable
javax.jcr.RepositoryException: Cannot instantiate persistence manager 
org.apache.jackrabbit.core.persistence.bundle.H2PersistenceManager: 
{http://www.j
cp.org/jcr/mix/1.0}referenceable: 
{http://www.jcp.org/jcr/mix/1.0}referenceable
        at 
org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1328)
        at 
org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:459)
        at 
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:319)
...

Caused by: javax.jcr.nodetype.NoSuchNodeTypeException: 
{http://www.jcp.org/jcr/mix/1.0}referenceable
        at 
org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.getEffectiveNodeType(NodeTypeRegistry.java:1024)
        at 
org.apache.jackrabbit.core.nodetype.NodeTypeRegistry.getEffectiveNodeType(NodeTypeRegistry.java:471)
        at 
org.apache.jackrabbit.core.persistence.bundle.AbstractBundlePersistenceManager.init(AbstractBundlePersistenceManager.java:416)
        at 
org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager.init(BundleDbPersistenceManager.java:598)
        at 
org.apache.jackrabbit.core.persistence.bundle.H2PersistenceManager.init(H2PersistenceManager.java:91)
        at 
org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1324)
        ... 33 more


The configuration e.g. for versioning looks like this:

 <PersistenceManager 
class="org.apache.jackrabbit.core.persistence.bundle.H2PersistenceManager">
     <param name="bundleCacheSize" value="8"/>
     <param name="consistencyCheck" value="true"/>
        <param name="consistencyFix" value="true"/>
     <param name="minBlobSize" value="16384"/>
     <param name="driver" value="org.h2.Driver"/>
     <param name="url" value="jdbc:h2:file:${rep.home}/version/database"/>
     <param name="user" value="sa"/>
     <param name="password" value=""/>
     <param name="schema" value="h2"/>
     <param name="schemaObjectPrefix" value=""/>
     <param name="errorHandling" value=""/>
     <param name="lockTimeout" value="10000"/>
 </PersistenceManager>

Any ideas how to fix the problem?

--tf

Mime
View raw message