jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cech. Ulrich" <Ulrich.C...@aeb.de>
Subject AW: How to disable Lucene in Jackrabbit2.0.0?
Date Tue, 03 Aug 2010 10:29:38 GMT
I tried the solution to remove the SearchIndex-Tags from the repository.xml and wanted to create
a new repository (so no problem with overseen workspace.xml files).
If I start the repository, I retrieve the following stacktrace.

If I activate the SearchIndex in the workspace-configuration-part again, everything works
fine.

So I think, disabling of the search index is not supported. Is there another way (some hidden
parameter ;-)) of not starting any lucene indexing?

[I tried with JackRabbit 2.1]

Thanks in advance,
Ulrich


2010-08-03 12:20:51,313 ERROR (AuthorizableImpl.java:371) - Failed to retrieve membership
references of User 'admin'.
javax.jcr.RepositoryException: Unable to retrieve WEAKREFERENCE properties that refer to 21232f29-7a57-35a7-8389-4a0e4a801fc3
        at org.apache.jackrabbit.core.NodeImpl.getWeakReferences(NodeImpl.java:3461)
        at org.apache.jackrabbit.core.security.user.AuthorizableImpl.getMembershipReferences(AuthorizableImpl.java:369)
        at org.apache.jackrabbit.core.security.user.AuthorizableImpl.collectMembership(AuthorizableImpl.java:312)
        at org.apache.jackrabbit.core.security.user.AuthorizableImpl.memberOf(AuthorizableImpl.java:100)
        at org.apache.jackrabbit.core.security.principal.DefaultPrincipalProvider.collectGroupMembership(DefaultPrincipalProvider.java:290)
        at org.apache.jackrabbit.core.security.principal.DefaultPrincipalProvider.getGroupMembership(DefaultPrincipalProvider.java:194)
        at org.apache.jackrabbit.core.security.authentication.AbstractLoginModule.getPrincipals(AbstractLoginModule.java:676)
        at org.apache.jackrabbit.core.security.authentication.AbstractLoginModule.commit(AbstractLoginModule.java:369)
        at org.apache.jackrabbit.core.security.authentication.LocalAuthContext.login(LocalAuthContext.java:86)
        at org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java:1497)
        at org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:380)
        at org.apache.jackrabbit.commons.AbstractRepository.login(AbstractRepository.java:123)
        at de.aeb.xnsg.archive.cr.jackrabbit.JRRepositoryManager.login(JRRepositoryManager.java:129)
        at de.aeb.xnsg.cr.jackrabbit.concurrency.ConcurrencyScenario01Test.initializeRepositoy(ConcurrencyScenario01Test.java:85)
        at de.aeb.xnsg.cr.jackrabbit.concurrency.ConcurrencyScenario01Test.testNoIndex(ConcurrencyScenario01Test.java:64)
        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 junit.framework.TestCase.runTest(TestCase.java:164)
        at junit.framework.TestCase.runBare(TestCase.java:130)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:120)
        at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
        at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
Caused by: javax.jcr.RepositoryException: no search manager configured for this workspace
        at org.apache.jackrabbit.core.WorkspaceImpl.getQueryManager(WorkspaceImpl.java:778)
        at org.apache.jackrabbit.core.NodeImpl.getWeakReferences(NodeImpl.java:3445)
        ... 30 more





-----Ursprüngliche Nachricht-----
Von: Thomas Müller [mailto:thomas.mueller@day.com]
Gesendet: Freitag, 12. März 2010 15:23
An: users@jackrabbit.apache.org
Betreff: Re: How to disable Lucene in Jackrabbit2.0.0?

Hi,

> Could you tell which parts in repositoey.xml should be changed?

The parts that contain "SearchIndex".

Regards,
Thomas

AEB-Fachforum am 3. November 2010
Logistik zum Anfassen. Außenwirtschaft zum Erleben. AEB lädt Sie ein zu Fachvorträgen,
Workshops, Führungen und zum Networken am Flughafen Stuttgart. www.aeb-event.de

Mime
View raw message