Return-Path: Delivered-To: apmail-incubator-jackrabbit-dev-archive@www.apache.org Received: (qmail 60283 invoked from network); 18 Oct 2005 08:01:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Oct 2005 08:01:06 -0000 Received: (qmail 95746 invoked by uid 500); 18 Oct 2005 08:01:00 -0000 Mailing-List: contact jackrabbit-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jackrabbit-dev@incubator.apache.org Delivered-To: mailing list jackrabbit-dev@incubator.apache.org Received: (qmail 95683 invoked by uid 99); 18 Oct 2005 08:01:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Oct 2005 01:01:00 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of marcel.reutegger@gmx.net designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 18 Oct 2005 01:01:00 -0700 Received: (qmail invoked by alias); 18 Oct 2005 08:00:38 -0000 Received: from bsl-rtr.day.com (EHLO [10.0.0.106]) [212.249.34.130] by mail.gmx.net (mp034) with SMTP; 18 Oct 2005 10:00:38 +0200 X-Authenticated: #894343 Message-ID: <4354ABA5.9000401@gmx.net> Date: Tue, 18 Oct 2005 10:00:37 +0200 From: Marcel Reutegger User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jackrabbit-dev@incubator.apache.org Subject: Re: Unknown language: XPath References: <8fa1023f0510140953h18ff7caao3afad67ca6cebda8@mail.gmail.com> <435362FF.3010706@gmail.com> <8fa1023f0510171035q67d28a3chfac8bb2f6afa73dc@mail.gmail.com> In-Reply-To: <8fa1023f0510171035q67d28a3chfac8bb2f6afa73dc@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Martin, Martin Perez wrote: > I have looked inside the jar file and it contains: > > META-INF > META-INF/services > META-INF/services/org.apache.jackrabbit.core.query.QueryTreeBuilder > META-INF/services/org.apache.jackrabbit.core.query.TextFilterService > > The contents of QueryTreeBuilder file lists: > > # > # This file lists all available query language implementations that are > shipped > # with Jackrabbit. > # > org.apache.jackrabbit.core.query.xpath.QueryBuilder > org.apache.jackrabbit.core.query.sql.QueryBuilder > > So it seems that all is ok. > > I don't know where can be the bug. Maybe it could be that I'm developing an > Eclipse RCP application and Eclipse has its own custom classloader, so it > could be some classloader related issue. > > Any suggestions? Is there any other way to specify the languages without > using that ServiceRegistry? Anyone knows why I can't search? using the service registry is the only way to register query languages. Some time ago, I had a similar problem when I deployed two jackrabbit instances in the same jvm. A fix for the QueryTreeBuilderRegistry solved the issue. the svn revision for that change is: 312874 Your initial mail indicates that you are using an older version, though. If you know you are using a more recent revision to build your jar file then I probably have to change the dynamic loading of QueryBuilder (again) :-/ regards marcel