jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mats Nordgren (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-3071) (re-) Indexing repository fails with NoSuchItemStateException
Date Tue, 13 Sep 2011 15:05:09 GMT
(re-) Indexing repository fails with NoSuchItemStateException
-------------------------------------------------------------

                 Key: JCR-3071
                 URL: https://issues.apache.org/jira/browse/JCR-3071
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: indexing, jackrabbit-core
    Affects Versions: 2.2.8
         Environment: RHEL 5, Jboss 4.2.3 GA
            Reporter: Mats Nordgren
            Priority: Critical


When starting up the repository instance, index rebuild starts but fails after 10+ minutes
with the stacktrace below. This is a production CMS and we really need to find out what is
going on.

2011-09-19 10:32:58.071 WARN  [main] Slf4jLog.java:89                  unavailable
javax.jcr.RepositoryException: Unable to initialize query handler: org.apache.jackrabbit.core.query.lucene.SearchIndex@380c380c
   at org.apache.jackrabbit.core.config.RepositoryConfigurationParser$1.getQueryHandler(RepositoryConfigurationParser.java:637)
~[jackrabbit-standalone-2.2.8.jar:na]
   at org.apache.jackrabbit.core.config.WorkspaceConfig.getQueryHandler(WorkspaceConfig.java:215)
~[jackrabbit-standalone-2.2.8.jar:na]
   at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:174) ~[jackrabbit-standalone-2.2.8.jar:na]
   at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1860)
~[jackrabbit-standalone-2.2.8.jar:na]
   at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doPostInitialize(RepositoryImpl.java:2095)
~[jackrabbit-standalone-2.2.8.jar:na]
   at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:2000)
~[jackrabbit-standalone-2.2.8.jar:na]
   at org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:533)
~[jackrabbit-standalone-2.2.8.jar:na]
   at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:342) ~[jackrabbit-standalone-2.2.8.jar:na]
   at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:605) ~[jackrabbit-standalone-2.2.8.jar:na]
   at org.apache.jackrabbit.servlet.jackrabbit.JackrabbitRepositoryServlet.init(JackrabbitRepositoryServlet.java:103)
~[jackrabbit-standalone-2.2.8.jar:na]
   at javax.servlet.GenericServlet.init(GenericServlet.java:241) ~[jackrabbit-standalone-2.2.8.jar:na]
   at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440) [jackrabbit-standalone-2.2.8.jar:na]
   at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263) [jackrabbit-standalone-2.2.8.jar:na]
   at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jackrabbit-standalone-2.2.8.jar:na]
   at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:685) [jackrabbit-standalone-2.2.8.jar:na]
   at org.mortbay.jetty.servlet.Context.startContext(Context.java:140) [jackrabbit-standalone-2.2.8.jar:na]
   at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250) [jackrabbit-standalone-2.2.8.jar:na]
   at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517) [jackrabbit-standalone-2.2.8.jar:na]
   at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467) [jackrabbit-standalone-2.2.8.jar:na]
   at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jackrabbit-standalone-2.2.8.jar:na]
   at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jackrabbit-standalone-2.2.8.jar:na]
   at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:115) [jackrabbit-standalone-2.2.8.jar:na]
   at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jackrabbit-standalone-2.2.8.jar:na]
   at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) [jackrabbit-standalone-2.2.8.jar:na]
   at org.mortbay.jetty.Server.doStart(Server.java:224) [jackrabbit-standalone-2.2.8.jar:na]
   at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50) [jackrabbit-standalone-2.2.8.jar:na]
   at org.apache.jackrabbit.standalone.Main.run(Main.java:173) [jackrabbit-standalone-2.2.8.jar:na]
   at org.apache.jackrabbit.standalone.Main.main(Main.java:60) [jackrabbit-standalone-2.2.8.jar:na]
Caused by: java.io.IOException: Error indexing workspace
   at org.apache.jackrabbit.core.query.lucene.MultiIndex.createInitialIndex(MultiIndex.java:402)
~[jackrabbit-standalone-2.2.8.jar:na]
   at org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:525) ~[jackrabbit-standalone-2.2.8.jar:na]
   at org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:78)
~[jackrabbit-standalone-2.2.8.jar:na]
   at org.apache.jackrabbit.core.config.RepositoryConfigurationParser$1.getQueryHandler(RepositoryConfigurationParser.java:634)
~[jackrabbit-standalone-2.2.8.jar:na]
   ... 27 common frames omitted
Caused by: org.apache.jackrabbit.core.state.NoSuchItemStateException: 0ed4e29a-5b84-4ba4-a480-27b80515ff66
   at org.apache.jackrabbit.core.state.ItemStateException.<init>(ItemStateException.java:32)
~[jackrabbit-standalone-2.2.8.jar:na]
   at org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:252)
~[jackrabbit-standalone-2.2.8.jar:na]
   at org.apache.jackrabbit.core.query.lucene.MultiIndex.createIndex(MultiIndex.java:1215)
~[jackrabbit-standalone-2.2.8.jar:na]
   at org.apache.jackrabbit.core.query.lucene.MultiIndex.createIndex(MultiIndex.java:1221)
~[jackrabbit-standalone-2.2.8.jar:na]
   at org.apache.jackrabbit.core.query.lucene.MultiIndex.createIndex(MultiIndex.java:1221)
~[jackrabbit-standalone-2.2.8.jar:na]
   at org.apache.jackrabbit.core.query.lucene.MultiIndex.createInitialIndex(MultiIndex.java:395)
~[jackrabbit-standalone-2.2.8.jar:na]
   ... 30 common frames omitted

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message