jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Wurbs" <Christian.Wu...@itemic.com>
Subject persistence.bundle vs. persistence.db PM
Date Thu, 19 Nov 2009 10:15:51 GMT
Hello all,

 

I'm using JackRabbit 1.5.6

 

Somehow I created an inconsistency that becomes visible when re-indexing the
workspace.

 

Caused by: org.apache.jackrabbit.core.state.NoSuchItemStateException:
bcef5b9c-c991-464b-9251-83890a264a19

      at
org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedI
temStateManager.java:270)

      at
org.apache.jackrabbit.core.query.lucene.MultiIndex.createIndex(MultiIndex.ja
va:1081)

      at
org.apache.jackrabbit.core.query.lucene.MultiIndex.createIndex(MultiIndex.ja
va:1087)

      at
org.apache.jackrabbit.core.query.lucene.MultiIndex.createIndex(MultiIndex.ja
va:1087)

      at
org.apache.jackrabbit.core.query.lucene.MultiIndex.createInitialIndex(MultiI
ndex.java:395)

      ... 17 more

 

My searches led me to the following thread:
http://n4.nabble.com/Need-Help-tt536634.html#a536634

 

It seems there is an option to check and fix consistency: But this feature
is only available for the Bundle-PMs

 

Until now I used the
org.apache.jackrabbit.core.persistence.db.OraclePersistenceManager class

For the consistency check and fix I will need to switch to the
org.apache.jackrabbit.core.persistence.bundle.OraclePersistenceManager
class.

 

The persistence.bundle.OraclePersistenceManager now tries to create some new
db-tables on initialization.

 

Now my questions:

 

1.       What tables need to be created? (The user running Jackrabbit has
not the privilege to create tables at runtime.) 

2.       What happens to the data already stored using the
persistence.db.OraclePersistenceManager ?

3.       Is there a Migration needed before using the
persistence.bundle.OraclePersistenceManager ?

4.       Which PM strategy should be used: persistence.bundle or
persistence.db  PM ?

 

Thank you for any information

 

Christian Wurbs

 

 


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