Hi Claus,
if you are using a bundle DB persistence manager you can do the following:
- stop jackrabbit
- add two parameters to the persistence manager configuration of your
workspace.xml:
<param name="consistencyCheck" value="true" />
<param name="consistencyFix" value="true" />
- start jackrabbit
- watch the log file, which should print info messages about the consistency
check
once the inconsistency is fixed you can remove the two parameters again.
regards
marcel
KÖLL Claus wrote:
Hi marcel,
can you explain me how can i fix a inconsistency ?
BR,
claus
-----Ursprüngliche Nachricht-----
Von: Marcel Reutegger [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 14. Juli 2008 10:27
An: [email protected]
Betreff: Re: Need Help !
Hi Claus,
the query handler implementation will refuse to re-index a workspace that is
inconsistent. you need to fix the inconsistency first before you can re-index
the workspace.
regards
marcel
KÖLL Claus wrote:
hi,
i have aproblem with one of our workspaces. There are some folders inside that
are not delete able.
the folder structure looks like
myroot -> 2008 -> month(7) -> week(2) -> day(3)
i dont know how but i got some inconsistency to the workspace
if i try to delete a folder i get always a ItemNotFoundException.
So i thought to reindex the whole workspace, but then i get this exception
javax.jcr.RepositoryException: Error indexing workspace: Error indexing
workspace: Error indexing workspace
at
org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:584)
.....
Caused by: java.io.IOException: Error indexing workspace
at
org.apache.jackrabbit.core.query.lucene.MultiIndex.createInitialIndex(MultiIndex.java:393)
at
org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:456)
at
org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:53)
at
org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(SearchManager.java:582)
... 50 more
Caused by: org.apache.jackrabbit.core.state.NoSuchItemStateException:
a9137dec-2d7a-46c4-8fb6-e70b960d47a7
at
org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java(Compiled
Code))
thanks fou any help,
claus