jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ijonas Kisselbach" <ijonas.kisselb...@gmail.com>
Subject looking for sample config for BundleDbPersistenceManager
Date Mon, 04 Jun 2007 14:40:18 GMT
Hi,

I'm trying to get the BundleDbPersistenceManager to work and I'm not getting
very far... Can someone tell me where I'm going wrong or post a sample
config ? Does the PM execute the DDL file, or do I have to run that manually
to create the underlying tables ?

Thanks,
Ijonas Kisselbach.

My setup:
Model-2 deployment of Jackrabbit via JCA on JBoss 4.0.5 and MySQL on Mac OS
X 10.4.9

My config:
        <PersistenceManager class="
org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager">
          <param name="driver" value="com.mysql.jdbc.Driver"/>
          <param name="url" value="jdbc:mysql://localhost/jackrabbit"/>
          <param name="user" value="jcr"/>
          <param name="password" value="jcr"/>
        </PersistenceManager>


My jboss stack trace:
15:22:22,679 INFO  [RepositoryImpl] Starting repository...
15:22:22,699 INFO  [LocalFileSystem] LocalFileSystem initialized at path
/Users/ijonas/java/jboss/jackrabbit/repository
15:22:22,823 INFO  [NodeTypeRegistry] no custom node type definitions found
15:22:22,831 INFO  [LocalFileSystem] LocalFileSystem initialized at path
/Users/ijonas/java/jboss/jackrabbit/version
15:22:22,889 INFO  [BundleDbPersistenceManager] JDBC driver created:
com.mysql.jdbc.Driver@fa5c30
15:22:23,222 INFO  [jcr/local] Failed to create repository
15:22:23,222 INFO  [jcr/local] javax.jcr.RepositoryException: Cannot
instantiate persistence manager
org.apache.jackrabbit.core.persistence.bundle.BundleDbPersistenceManager:
null: null
15:22:23,223 INFO  [jcr/local]  at
org.apache.jackrabbit.core.RepositoryImpl.createPersistenceManager(
RepositoryImpl.java:1184)
15:22:23,223 INFO  [jcr/local]  at
org.apache.jackrabbit.core.RepositoryImpl.createVersionManager(
RepositoryImpl.java:365)
15:22:23,223 INFO  [jcr/local]  at org.apache.jackrabbit.core.RepositoryImpl
.<init>(RepositoryImpl.java:282)
15:22:23,223 INFO  [jcr/local]  at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:584)
15:22:23,223 INFO  [jcr/local]  at
org.apache.jackrabbit.jca.JCARepositoryManager$Reference.create(
JCARepositoryManager.java:167)
15:22:23,223 INFO  [jcr/local]  at
org.apache.jackrabbit.jca.JCARepositoryManager.createRepository(
JCARepositoryManager.java:75)
15:22:23,223 INFO  [jcr/local]  at
org.apache.jackrabbit.jca.JCAManagedConnectionFactory.createRepository(
JCAManagedConnectionFactory.java:289)
15:22:23,223 INFO  [jcr/local]  at
org.apache.jackrabbit.jca.JCAManagedConnectionFactory.createConnectionFactory
(JCAManagedConnectionFactory.java:124)
15:22:23,223 INFO  [jcr/local]  at
org.jboss.resource.connectionmanager.ConnectionFactoryBindingService.createConnectionFactory
(ConnectionFactoryBindingService.java:128)
15:22:23,223 INFO  [jcr/local]  at
org.jboss.resource.connectionmanager.ConnectionFactoryBindingService.startService
(ConnectionFactoryBindingService.java:65)

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