You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Jukka Zitting <ju...@gmail.com> on 2008/10/13 09:30:07 UTC

Apache Jackrabbit 1.5.0 build 1

Hi,

I have created the Jackrabbit 1.5 branch and rolled the first preview
build of the upcoming 1.5.0 release. This build is for testing and
preview purposes, and should only be discussed here on dev@. You can
find the 1.5.0-b1 sources and binaries as a source archive and a
staged maven repository at:

    http://people.apache.org/~jukka/jackrabbit/

The source of this preview build are also recorded as the 1.5.0-b1 tag in svn.

BR,

Jukka Zitting

Re: Apache Jackrabbit 1.5.0 build 1

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Mon, Oct 13, 2008 at 12:21 PM, Torgeir Veimo <to...@pobox.com> wrote:
> 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?

It certainly should be supported! Can you file a blocker bug for that?

I guess we really should have some integration tests that verify that
repositories created with previous Jackrabbit versions still work.

BR,

Jukka Zitting

Re: Apache Jackrabbit 1.5.0 build 1

Posted by Torgeir Veimo <to...@pobox.com>.
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





Re: Apache Jackrabbit 1.5.0 build 1

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On Mon, Oct 13, 2008 at 10:05 AM, Torgeir Veimo <to...@pobox.com> wrote:
> On 13 Oct 2008, at 17:30, Jukka Zitting wrote:
>> You can
>> find the 1.5.0-b1 sources and binaries as a source archive and a
>> staged maven repository at:
>>
>>   http://people.apache.org/~jukka/jackrabbit/
>
> Can't see any binaries there, will they be made available later?

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

BR,

Jukka Zitting

Re: Apache Jackrabbit 1.5.0 build 1

Posted by Torgeir Veimo <to...@pobox.com>.
On 13 Oct 2008, at 17:30, Jukka Zitting wrote:

> You can
> find the 1.5.0-b1 sources and binaries as a source archive and a
> staged maven repository at:
>
>    http://people.apache.org/~jukka/jackrabbit/


Can't see any binaries there, will they be made available later?

-- 
Torgeir Veimo
torgeir@pobox.com