jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gustavo Henrique Orair <gustavo.or...@gmail.com>
Subject Index corrupted after a crash
Date Thu, 03 Nov 2011 15:46:31 GMT
I have a JackRabbit 2.3.0 JCA Managed repository with multiple workspaces.

After a crash on Glassfish, it seems the repository files were
corrupted and I cannot access them anymore.

I tried to open the repository using Jackrabbit Standalone and
consistency Check (<param name="consistencyCheck" value="true"/>)

I got the following stack trace:

2011-11-03 13:38:04.951 ERROR [main] RepositoryImpl.java:383
failed to start Repository: Unable to initialize query handler:
org.apache.jackrabbit.core.query.lucene.SearchIndex@1fdbb27d
javax.jcr.RepositoryException: Unable to initialize query handler:
org.apache.jackrabbit.core.query.lucene.SearchIndex@1fdbb27d
        at org.apache.jackrabbit.core.config.RepositoryConfigurationParser$1.getQueryHandler(RepositoryConfigurationParser.java:637)
~[jackrabbit-standalone-2.2.9.jar:na]
        at org.apache.jackrabbit.core.config.RepositoryConfig.getQueryHandler(RepositoryConfig.java:1032)
~[jackrabbit-standalone-2.2.9.jar:na]
        at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:174)
~[jackrabbit-standalone-2.2.9.jar:na]
        at org.apache.jackrabbit.core.RepositoryImpl.getSystemSearchManager(RepositoryImpl.java:630)
[jackrabbit-standalone-2.2.9.jar:na]
        at org.apache.jackrabbit.core.RepositoryImpl.access$100(RepositoryImpl.java:124)
[jackrabbit-standalone-2.2.9.jar:na]
        at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1860)
~[jackrabbit-standalone-2.2.9.jar:na]
        at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doPostInitialize(RepositoryImpl.java:2095)
~[jackrabbit-standalone-2.2.9.jar:na]
        at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:2000)
~[jackrabbit-standalone-2.2.9.jar:na]
        at org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:533)
[jackrabbit-standalone-2.2.9.jar:na]
        at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:342)
[jackrabbit-standalone-2.2.9.jar:na]
        at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:605)
[jackrabbit-standalone-2.2.9.jar:na]
        at org.apache.jackrabbit.servlet.jackrabbit.JackrabbitRepositoryServlet.init(JackrabbitRepositoryServlet.java:103)
[jackrabbit-standalone-2.2.9.jar:na]
        at javax.servlet.GenericServlet.init(GenericServlet.java:241)
[jackrabbit-standalone-2.2.9.jar:na]
        at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
[jackrabbit-standalone-2.2.9.jar:na]
        at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
[jackrabbit-standalone-2.2.9.jar:na]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
[jackrabbit-standalone-2.2.9.jar:na]
        at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:685)
[jackrabbit-standalone-2.2.9.jar:na]
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
[jackrabbit-standalone-2.2.9.jar:na]
        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1250)
[jackrabbit-standalone-2.2.9.jar:na]
        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
[jackrabbit-standalone-2.2.9.jar:na]
        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
[jackrabbit-standalone-2.2.9.jar:na]
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)


What can I do to recover my repository? Is there any option to remove
the index and check if just the index were corrupted and them can be
reconstructed?

Ps: I do not use index features in any explicit way.

Best regards,
---------------------------------------------------------------------------------------------------------------------
                               Gustavo Henrique Orair
------------------------------------------------------------------------------------------------------------------

Mime
View raw message