jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sudheer (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-3794) Not able to store or retrieve documents from the jackrabbit.
Date Wed, 09 Jul 2014 14:31:05 GMT
sudheer created JCR-3794:
----------------------------

             Summary: Not able to store or retrieve documents from the jackrabbit.
                 Key: JCR-3794
                 URL: https://issues.apache.org/jira/browse/JCR-3794
             Project: Jackrabbit Content Repository
          Issue Type: Bug
          Components: jackrabbit-core
    Affects Versions: 2.2.12
         Environment: AIX/Unix/windows
            Reporter: sudheer
            Priority: Critical


I am getting this issue in our applicaiton
===================================
Caused by: javax.jcr.RepositoryException: Unable to initialize query handler: org.apache.jackrabbit.core.query.lucene.SearchIndex@11898b3
	at org.apache.jackrabbit.core.config.RepositoryConfigurationParser$1.getQueryHandler(RepositoryConfigurationParser.java:637)
~[jackrabbit-core.jar:2.2.12]
	at org.apache.jackrabbit.core.config.WorkspaceConfig.getQueryHandler(WorkspaceConfig.java:215)
~[jackrabbit-core.jar:2.2.12]
	at org.apache.jackrabbit.core.SearchManager.<init>(SearchManager.java:173) ~[jackrabbit-core.jar:2.2.12]
	at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.getSearchManager(RepositoryImpl.java:1832)
~[jackrabbit-core.jar:2.2.12]
	at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.doPostInitialize(RepositoryImpl.java:2067)
~[jackrabbit-core.jar:2.2.12]
	at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.initialize(RepositoryImpl.java:1973)
~[jackrabbit-core.jar:2.2.12]
	at org.apache.jackrabbit.core.RepositoryImpl.initStartupWorkspaces(RepositoryImpl.java:505)
~[jackrabbit-core.jar:2.2.12]
	at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:313) ~[jackrabbit-core.jar:2.2.12]
	at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:577) ~[jackrabbit-core.jar:2.2.12]
	at org.apache.jackrabbit.core.TransientRepository$3.getRepository(TransientRepository.java:250)
~[jackrabbit-core.jar:2.2.12]
	at org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:280)
~[jackrabbit-core.jar:2.2.12]
	at org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:376) ~[jackrabbit-core.jar:2.2.12]
	at org.apache.jackrabbit.commons.AbstractRepository.login(AbstractRepository.java:123) ~[jackrabbit-jcr-commons.jar:na]
	at com.odcgroup.repository.service.JCRContentRepositoryService.openSession(JCRContentRepositoryService.java:448)
~[JCRContentRepositoryService.class:na]
	at com.odcgroup.repository.service.JCRContentRepositoryService.openReadWriteSession(JCRContentRepositoryService.java:491)
~[JCRContentRepositoryService.class:na]
	at com.odcgroup.repository.service.JCRContentRepositoryService.removeContent(JCRContentRepositoryService.java:213)
~[JCRContentRepositoryService.class:na]
	at com.odcgroup.repository.service.JCRContentRepositoryService.removeContent(JCRContentRepositoryService.java:207)
~[JCRContentRepositoryService.class:na]
	at com.odcgroup.repository.service.ContentRepositoryService.removeReport(ContentRepositoryService.java:157)
~[ContentRepositoryService.class:na]
	... 49 common frames omitted
Caused by: java.io.IOException: Directory was previously created with a different LockFactory
instance; please pass null as the lockFactory instance and use setLockFactory to change it
	at org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java:192) ~[lucene-core.jar:2.4.1
750176 - 2009-03-04 21:56:52]
	at org.apache.jackrabbit.core.query.lucene.directory.FSDirectoryManager$FSDir.<init>(FSDirectoryManager.java:144)
~[jackrabbit-core.jar:2.2.12]
	at org.apache.jackrabbit.core.query.lucene.directory.FSDirectoryManager.getDirectory(FSDirectoryManager.java:69)
~[jackrabbit-core.jar:2.2.12]
	at org.apache.jackrabbit.core.query.lucene.MultiIndex.<init>(MultiIndex.java:247) ~[jackrabbit-core.jar:2.2.12]
	at org.apache.jackrabbit.core.query.lucene.SearchIndex.doInit(SearchIndex.java:516) ~[jackrabbit-core.jar:2.2.12]
	at org.apache.jackrabbit.core.query.AbstractQueryHandler.init(AbstractQueryHandler.java:78)
~[jackrabbit-core.jar:2.2.12]
	at org.apache.jackrabbit.core.config.RepositoryConfigurationParser$1.getQueryHandler(RepositoryConfigurationParser.java:634)
~[jackrabbit-core.jar:2.2.12]
=====================================================

We are using following package versions. I read this issue has been fixed in 1.5 version .
But we are using 2.2.12 but still we are facing this issue. please suggest us. do we need
to upgrade to higher versions?

We are using following package versions
jackrabbit-core.jar:2.2.12
jackrabbit-jcr-commons.jar
lucene-core.jar:2.4.1



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message