jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shane Preater" <shane.prea...@googlemail.com>
Subject Re: re-indexing problem
Date Wed, 20 Jun 2007 12:01:09 GMT
Hi Marcel,
Thanks for getting back to me.

Thankfully we rolled back to our last data back up and this has fixed our
problem.

I am using the simpleDBPersistence manager to talk to postgres so I will set
those parameters now and, fingers crossed, we won't see this issue again.

Regards,
Shane.

On 20/06/07, Marcel Reutegger <marcel.reutegger@gmx.net> wrote:
>
> Hi Shane,
>
> this probably indicates that the workspace is somehow inconsistent. e.g.
> there
> might be a missing node for a child node entry in the database.
>
> what kind of persistence manager do you use?
>
> if you are using a bundle persistence manager you can set the parameter
> 'consistenceCheck' and 'consistencyFix'.
>
> regards
>   marcel
>
> Shane Preater wrote:
> > HI all,
> > I am having a problem with our staging server we had to re-index it
> > yesterday after tailoring our indexes.xml to make our repository more
> > efficient now it keeps fully re-indexing and then failing with the
> > following
> > stack trace:
> >
> > 19.06.2007 11:25:42 *ERROR* RepositoryImpl: Failed to initialize
> workspace
> > 'default' (RepositoryImpl.java, line 382)
> > javax.jcr.RepositoryException: Error indexing root node:
> > 10022d38-c449-4751-b8f0-9d07ac45ead5:
> > Error indexing root node: 10022d38-c449-4751-b8f0-9d07ac45ead5: Error
> > indexing root node: 10022d38-c449-4751-b8f0-9d07ac45ead5
> > at org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(
> > SearchManager.java:476)
> > at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java
> :231)
> > at
> > org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager
> (
> > RepositoryImpl.java:1580)
> > at org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(
> > RepositoryImpl.java:570)
> > at org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(
> > RepositoryImpl.java:379)
> > at
> > org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java
> :286)
> > at
> > org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java
> :521)
> > at org.apache.jackrabbit.j2ee.RepositoryStartupServlet.createRepository(
> > RepositoryStartupServlet.java:419)
> > at org.apache.jackrabbit.j2ee.RepositoryStartupServlet.initRepository(
> > RepositoryStartupServlet.java:387)
> > at org.apache.jackrabbit.j2ee.RepositoryStartupServlet.startup(
> > RepositoryStartupServlet.java:237)
> > at org.apache.jackrabbit.j2ee.RepositoryStartupServlet.init(
> > RepositoryStartupServlet.java:210)
> > at javax.servlet.GenericServlet.init(GenericServlet.java:211)
> > at
> > org.apache.catalina.core.StandardWrapper.loadServlet(
> StandardWrapper.java
> > :1105)
> > at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java
> :932)
> > at org.apache.catalina.core.StandardContext.loadOnStartup(
> > StandardContext.java:3951)
> > at
> > org.apache.catalina.core.StandardContext.start(StandardContext.java
> :4225)
> > at org.apache.catalina.core.ContainerBase.addChildInternal(
> > ContainerBase.java:759)
> > at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java
> :739)
> > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
> > at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:809)
> > at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java
> :698)
> > at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java
> :472)
> > at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
> > at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
> > :310)
> > at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
> > LifecycleSupport.java:119)
> > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
> > at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
> > at org.apache.catalina.core.StandardEngine.start(StandardEngine.java
> :442)
> > at org.apache.catalina.core.StandardService.start(StandardService.java
> :450)
> > at org.apache.catalina.core.StandardServer.start(StandardServer.java
> :709)
> > at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> > sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java
> > :39)
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:585)
> > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at
> > sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java
> > :39)
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:585)
> > at org.apache.commons.daemon.support.DaemonLoader.start(
> DaemonLoader.java
> > :177)
> >
> > Caused by: java.io.IOException: Error indexing root node:
> > 10022d38-c449-4751-b8f0-9d07ac45ead5
> > at
> > org.apache.jackrabbit.core.query.lucene.MultiIndex.<init>(
> MultiIndex.java
> > :323)
> > at org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(
> > SearchIndex.java:344)
> > at org.apache.jackrabbit.core.query.AbstractQueryHandler.init(
> > AbstractQueryHandler.java:44)
> > at org.apache.jackrabbit.core.SearchManager.initializeQueryHandler(
> > SearchManager.java:474)
> > ... 41 more
> >
> > Our system is:
> > Tomcat 5.5
> > Jackrabbit 1.3 (unclustered)
> > Postgresql 8.1
> >
> > Any help on this would be greatly appreciated.
> >
> > Thanks,
> > Shane Preater
> >
>
>

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