Oops ... that was the mistake. I had made a class folder of all the
jackrabbit classes. The QueryTreeBuilder file went missing. It's working
now. Thanks.

On 2/7/07, Jukka Zitting <[EMAIL PROTECTED]> wrote:

Hi,

On 2/7/07, Sridhar Raman <[EMAIL PROTECTED]> wrote:
> I am confused as to why I get a null string for the
> qm.getSupportedQueryLanguages() call.

Check that the jackrabbit-core jar file you have contains the
META-INF/services/org.apache.jackrabbit.core.query.QueryTreeBuilder
file. The Jackrabbit query engine uses the
javax.imageio.spi.ServiceRegistry mechanism to load the parsers for
the supported query languages. It seems like Jackrabbit is not finding
the default query parsers in your installation.

Do you use the official 1.2.1 binaries? Is there something special
with your class loading setup?

BR,

Jukka Zitting

Reply via email to