Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 60633 invoked from network); 14 Feb 2011 19:38:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Feb 2011 19:38:22 -0000 Received: (qmail 65802 invoked by uid 500); 14 Feb 2011 19:38:22 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 65272 invoked by uid 500); 14 Feb 2011 19:38:19 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 65225 invoked by uid 99); 14 Feb 2011 19:38:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Feb 2011 19:38:18 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tranier@gmail.com designates 209.85.214.42 as permitted sender) Received: from [209.85.214.42] (HELO mail-bw0-f42.google.com) (209.85.214.42) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Feb 2011 19:38:12 +0000 Received: by bwz13 with SMTP id 13so5339475bwz.1 for ; Mon, 14 Feb 2011 11:37:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=tL8TxCa0AtWXfWDFfcA9fPXArkKYzkU+XkI2S6jGhCA=; b=WF0pwYPGXW5ZwF7UpiBltYRZbPKJzA56J1qQpybYstGfFrRM83U1v/JcbjTmOoOhiC QQa5WWZ45W8TFqdS08U99NkRfr6yyY4LibBuwVgOySqJh5clHSiikc3v1j/gyVOCwsy6 TquQ7Edngy6w2p4M6ZgW7zwbT4XA8mbQb2DMo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=o6M+3pJF2QiMBFHgFrOwwqvaf+cUTlsK5ykd0Ms9YMdQiFtuvqbUJsk515j8zlxD33 EXsWz+/8uOZlH0AL+v0dqylNkpfAVf3rebPp46wJnUdNKznEY93/rwzgpJWVus2Iedvu zWW1HTDVN11ePGrOyekeBMnOAhPYQfIgwimsw= Received: by 10.204.72.148 with SMTP id m20mr3767814bkj.69.1297712271096; Mon, 14 Feb 2011 11:37:51 -0800 (PST) Received: from [192.168.1.53] ([93.23.140.209]) by mx.google.com with ESMTPS id 12sm2034532bki.19.2011.02.14.11.37.48 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Feb 2011 11:37:49 -0800 (PST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1082) Subject: Re: Disable lucene in jackrabbit From: John Tranier In-Reply-To: Date: Mon, 14 Feb 2011 20:37:47 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4D53F79B.2080203@maisis.pt> To: users@jackrabbit.apache.org X-Mailer: Apple Mail (2.1082) Hi, I had the same experience : comment out the searchIndex section leads to = errors in the log. I asked about it on the list, and I've been told the kernel uses the = searchIndex to support its internal queries. So I'm a bit confused about the last update of documentation. We've faced a severe issue on our application using Jackrabbit as = repository : users was complaining about random lost of documents. We did several actions, including reactivation of the searchIndex, and = the problem disappeared.=20 I cannot tell for sure if the searchIndex was the the cause of the = problem, but I'm not very likely to disable it now.=20 Regards, John Le 14 f=E9vr. 2011 =E0 05:49, Kevin Jansz a =E9crit : > with SearchIndex commented out I've found you get the following logged > as "ERROR" when logging in: >=20 > ERROR [main] [14 Feb 2011 15:40:58,693 > = org.apache.jackrabbit.core.security.user.AuthorizableImpl:getMembershipRef= erences@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.getMembershipRef= erences(AuthorizableImpl.java:369) > at = org.apache.jackrabbit.core.security.user.AuthorizableImpl.collectMembershi= p(AuthorizableImpl.java:312) > at = org.apache.jackrabbit.core.security.user.AuthorizableImpl.memberOf(Authori= zableImpl.java:100) > at = org.apache.jackrabbit.core.security.user.UserImpl.memberOf(UserImpl.java:3= 6) > at = org.apache.jackrabbit.core.security.principal.DefaultPrincipalProvider.col= lectGroupMembership(DefaultPrincipalProvider.java:290) > at = org.apache.jackrabbit.core.security.principal.DefaultPrincipalProvider.get= GroupMembership(DefaultPrincipalProvider.java:194) > at = org.apache.jackrabbit.core.security.authentication.AbstractLoginModule.get= Principals(AbstractLoginModule.java:676) > at = org.apache.jackrabbit.core.security.authentication.AbstractLoginModule.com= mit(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) > ... > Caused by: javax.jcr.RepositoryException: no search manager configured > for this workspace > at = org.apache.jackrabbit.core.WorkspaceImpl.getQueryManager(WorkspaceImpl.jav= a:778) > at = org.apache.jackrabbit.core.NodeImpl.getWeakReferences(NodeImpl.java:3445) > ... 33 more >=20 >=20 > This is in jackrabbit 2.1.0, possibly to do with the "Default" > security config in place: > > class=3D"org.apache.jackrabbit.core.DefaultSecurityManager" > workspaceName=3D"security"/> > class=3D"org.apache.jackrabbit.core.security.DefaultAccessManager"/> > class=3D"org.apache.jackrabbit.core.security.simple.SimpleLoginModule"> > > > > >=20 > ... because there's no alternative QueryManager when no (lucene) > SearchIndexes are configured? It doesn't seem to stop the repository > from responding >=20 > -- > Kevin Jansz > kevin.jansz@exari.com > Level 7, 10-16 Queen Street, Melbourne 3000 Australia > Tel +61 3 9621 2773 | Fax +61 3 9621 2776 > Exari Systems > Boston | London | Melbourne | Munich > www.exari.com >=20 > Test drive our software online - www.exari.com/demo-trial.html > Read our blog on document assembly - blog.exari.com >=20 >=20 >=20 >=20 > On 11 February 2011 01:43, Thomas Mueller wrote: >> Hi, >>=20 >> I have updated the documentation at: >> http://wiki.apache.org/jackrabbit/Search#Search_Configuration >>=20 >>=20 >> "To disable the search index, disable (comment out) the index >> configuration in the file repository.xml and workspace.xml file(s)." >>=20 >> Regards, >> Thomas >>=20 >>=20 >> On 2/10/11 3:35 PM, "Pedro Saraiva" wrote: >>=20 >>> Hello, >>>=20 >>> It's possible to disable the lucene indexing/searching in = jackrabbit? >>>=20 >>> Kind regards, >>>=20 >>> Pedro Saraiva >>=20 >>=20