jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torgeir Veimo <torg...@pobox.com>
Subject Re: Apache Jackrabbit 1.5.0 build 1
Date Mon, 13 Oct 2008 10:21:24 GMT

On 13 Oct 2008, at 18:12, Jukka Zitting wrote:

> You can find pre-built binaries inside the staged Maven repository  
> in the "repository" subdirectory


I tried running with these binaries with a jackrabbit repository  
created with jackrabbit 1.4.6, but am getting persistence manager  
exceptions. Is this not supported?

Log output;

20:16:12,940 ERROR RepositoryImpl  - failed to start Repository:  
Cannot instantiate persistence manager  
org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager:  
Schema generation error: Issuing statement: create table VERSION_REFS  
(NODE_ID_HI bigint not null, NODE_ID_LO bigint not null, REFS_DATA  
blob(2G) not null, PRIMARY KEY (NODE_ID_HI, NODE_ID_LO))
javax.jcr.RepositoryException: Cannot instantiate persistence manager  
org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager:  
Schema generation error: Issuing statement: create table VERSION_REFS  
(NODE_ID_HI bigint not null, NODE_ID_LO bigint not null, REFS_DATA  
blob(2G) not null, PRIMARY KEY (NODE_ID_HI, NODE_ID_LO)): Schema  
generation error: Issuing statement: create table VERSION_REFS  
(NODE_ID_HI bigint not null, NODE_ID_LO bigint not null, REFS_DATA  
blob(2G) not null, PRIMARY KEY (NODE_ID_HI, NODE_ID_LO))
	at  
org 
.apache 
.jackrabbit 
.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1277)
	at  
org 
.apache 
.jackrabbit 
.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:433)
	at  
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java: 
297)
	at  
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java: 
597)
	at  
com 
.netenviron 
.content 
.jndi 
.BindableWebRepository.createRepository(BindableWebRepository.java:99)
	at  
org 
.apache 
.jackrabbit.core.jndi.BindableRepository.init(BindableRepository.java: 
116)
[..]
Caused by: java.sql.SQLException: Schema generation error: Issuing  
statement: create table VERSION_REFS (NODE_ID_HI bigint not null,  
NODE_ID_LO bigint not null, REFS_DATA blob(2G) not null, PRIMARY KEY  
(NODE_ID_HI, NODE_ID_LO))
	at  
org 
.apache 
.jackrabbit 
.core 
.persistence 
.bundle 
.BundleDbPersistenceManager 
.checkSchema(BundleDbPersistenceManager.java:449)
	at  
org 
.apache 
.jackrabbit 
.core 
.persistence 
.bundle 
.DerbyPersistenceManager.checkSchema(DerbyPersistenceManager.java:280)
	at  
org 
.apache 
.jackrabbit 
.core 
.persistence 
.bundle 
.BundleDbPersistenceManager.init(BundleDbPersistenceManager.java:565)
	at  
org 
.apache 
.jackrabbit 
.core 
.persistence 
.bundle.DerbyPersistenceManager.init(DerbyPersistenceManager.java:254)
	at  
org 
.apache 
.jackrabbit 
.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1273)
	... 53 more
Caused by: java.sql.SQLException: Table/View 'VERSION_REFS' already  
exists in Schema 'APP'.
	at  
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown  
Source)
	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown  
Source)
	at  
org 
.apache 
.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown  
Source)
	at  
org 
.apache 
.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown  
Source)
	at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown  
Source)
	at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown  
Source)
	at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedStatement.executeUpdate(Unknown  
Source)
	at  
org 
.apache 
.jackrabbit 
.core 
.persistence 
.bundle 
.BundleDbPersistenceManager 
.checkSchema(BundleDbPersistenceManager.java:438)
	... 57 more
java.sql.SQLException: Schema generation error: Issuing statement:  
create table VERSION_REFS (NODE_ID_HI bigint not null, NODE_ID_LO  
bigint not null, REFS_DATA blob(2G) not null, PRIMARY KEY (NODE_ID_HI,  
NODE_ID_LO))
	at  
org 
.apache 
.jackrabbit 
.core 
.persistence 
.bundle 
.BundleDbPersistenceManager 
.checkSchema(BundleDbPersistenceManager.java:449)
	at  
org 
.apache 
.jackrabbit 
.core 
.persistence 
.bundle 
.DerbyPersistenceManager.checkSchema(DerbyPersistenceManager.java:280)
	at  
org 
.apache 
.jackrabbit 
.core 
.persistence 
.bundle 
.BundleDbPersistenceManager.init(BundleDbPersistenceManager.java:565)
	at  
org 
.apache 
.jackrabbit 
.core 
.persistence 
.bundle.DerbyPersistenceManager.init(DerbyPersistenceManager.java:254)
	at  
org 
.apache 
.jackrabbit 
.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1273)
	at  
org 
.apache 
.jackrabbit 
.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:433)
[...]
Caused by: java.sql.SQLException: Table/View 'VERSION_REFS' already  
exists in Schema 'APP'.
	at  
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown  
Source)
	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown  
Source)
	at  
org 
.apache 
.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown  
Source)
	at  
org 
.apache 
.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown  
Source)
	at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown  
Source)
	at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown  
Source)
	at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedStatement.executeUpdate(Unknown  
Source)
	at  
org 
.apache 
.jackrabbit 
.core 
.persistence 
.bundle 
.BundleDbPersistenceManager 
.checkSchema(BundleDbPersistenceManager.java:438)
	... 57 more
20:16:12,959 ERROR SessionManager  - unable to configure Jackrabbit  
repository;
javax.jcr.RepositoryException: Cannot instantiate persistence manager  
org.apache.jackrabbit.core.persistence.bundle.DerbyPersistenceManager:  
Schema generation error: Issuing statement: create table VERSION_REFS  
(NODE_ID_HI bigint not null, NODE_ID_LO bigint not null, REFS_DATA  
blob(2G) not null, PRIMARY KEY (NODE_ID_HI, NODE_ID_LO)): Schema  
generation error: Issuing statement: create table VERSION_REFS  
(NODE_ID_HI bigint not null, NODE_ID_LO bigint not null, REFS_DATA  
blob(2G) not null, PRIMARY KEY (NODE_ID_HI, NODE_ID_LO))
	at  
org 
.apache 
.jackrabbit 
.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1277)
	at  
org 
.apache 
.jackrabbit 
.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:433)
	at  
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java: 
297)
	at  
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java: 
597)
	at  
com 
.netenviron 
.content 
.jndi 
.BindableWebRepository.createRepository(BindableWebRepository.java:99)
[...]
Caused by: java.sql.SQLException: Schema generation error: Issuing  
statement: create table VERSION_REFS (NODE_ID_HI bigint not null,  
NODE_ID_LO bigint not null, REFS_DATA blob(2G) not null, PRIMARY KEY  
(NODE_ID_HI, NODE_ID_LO))
	at  
org 
.apache 
.jackrabbit 
.core 
.persistence 
.bundle 
.BundleDbPersistenceManager 
.checkSchema(BundleDbPersistenceManager.java:449)
	at  
org 
.apache 
.jackrabbit 
.core 
.persistence 
.bundle 
.DerbyPersistenceManager.checkSchema(DerbyPersistenceManager.java:280)
	at  
org 
.apache 
.jackrabbit 
.core 
.persistence 
.bundle 
.BundleDbPersistenceManager.init(BundleDbPersistenceManager.java:565)
	at  
org 
.apache 
.jackrabbit 
.core 
.persistence 
.bundle.DerbyPersistenceManager.init(DerbyPersistenceManager.java:254)
	at  
org 
.apache 
.jackrabbit 
.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1273)
	... 53 more
Caused by: java.sql.SQLException: Table/View 'VERSION_REFS' already  
exists in Schema 'APP'.
	at  
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown  
Source)
	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown  
Source)
	at  
org 
.apache 
.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown  
Source)
	at  
org 
.apache 
.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown  
Source)
	at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown  
Source)
	at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown  
Source)
	at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedStatement.executeUpdate(Unknown  
Source)
	at  
org 
.apache 
.jackrabbit 
.core 
.persistence 
.bundle 
.BundleDbPersistenceManager 
.checkSchema(BundleDbPersistenceManager.java:438)
	... 57 more
java.sql.SQLException: Schema generation error: Issuing statement:  
create table VERSION_REFS (NODE_ID_HI bigint not null, NODE_ID_LO  
bigint not null, REFS_DATA blob(2G) not null, PRIMARY KEY (NODE_ID_HI,  
NODE_ID_LO))
	at  
org 
.apache 
.jackrabbit 
.core 
.persistence 
.bundle 
.BundleDbPersistenceManager 
.checkSchema(BundleDbPersistenceManager.java:449)
	at  
org 
.apache 
.jackrabbit 
.core 
.persistence 
.bundle 
.DerbyPersistenceManager.checkSchema(DerbyPersistenceManager.java:280)
	at  
org 
.apache 
.jackrabbit 
.core 
.persistence 
.bundle 
.BundleDbPersistenceManager.init(BundleDbPersistenceManager.java:565)
	at  
org 
.apache 
.jackrabbit 
.core 
.persistence 
.bundle.DerbyPersistenceManager.init(DerbyPersistenceManager.java:254)
	at  
org 
.apache 
.jackrabbit 
.core.RepositoryImpl.createPersistenceManager(RepositoryImpl.java:1273)
	at  
org 
.apache 
.jackrabbit 
.core.RepositoryImpl.createVersionManager(RepositoryImpl.java:433)
[...]
Caused by: java.sql.SQLException: Table/View 'VERSION_REFS' already  
exists in Schema 'APP'.
	at  
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown  
Source)
	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown  
Source)
	at  
org 
.apache 
.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown  
Source)
	at  
org 
.apache 
.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown  
Source)
	at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown  
Source)
	at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown  
Source)
	at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)
	at org.apache.derby.impl.jdbc.EmbedStatement.executeUpdate(Unknown  
Source)
	at  
org 
.apache 
.jackrabbit 
.core 
.persistence 
.bundle 
.BundleDbPersistenceManager 
.checkSchema(BundleDbPersistenceManager.java:438)
	... 57 more

-- 
Torgeir Veimo
torgeir@pobox.com





Mime
View raw message