Vadim wrote:
>
>Do you mean commented out file tag with TODO? :-)
>

Yes, I "uncommented" the filer tag and filled it in like this:

<filer>class="org.apache.xindice.core.filer.BTreeFiler"></filer>

Note: I removed pagesize and maxkeysize as you suggested.

I will also try removing the old db directory.

Thanks again for your assistance.

Paul Willis
NGIT

-----Original Message-----
From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 20, 2004 4:24 PM
To: [email protected]
Subject: Re: Config File Questions


Willis, Paul A. wrote:

>Vadim,
>
>Thanks for the reply.  I checked the system.xml file where I found the
>"filer" tag.
>

Do you mean commented out file tag with TODO? :-)


>I changed the entry in the file to the following: <filer
>class="org.apache.xindice.core.filer.BTreeFiler" pagesize=""
>maxkeysize=""></filer>
>
>Was that the correct thing to do??
>  
>

pagesize and maxkeysize parameters should not be empty, but they might 
be missing. Try this one:
...
    <root-collection dbroot="./db/" name="db" use-metadata="on">
        <filer class="org.apache.xindice.core.filer.BTreeFiler"/>
...


>After making the above change. I ran my application again.  An error was
>generated when trying to build the symbol table.  I am not sure how to
>resolve this new problem.
>
>DEBUG OUTPUT
>
>Jan 20, 2004 2:22:28 PM org.apache.xindice.client.xmldb.embed.DatabaseImpl
>loadConfiguration
>INFO: Specified configuration file:
>'/home/willipa5/xindice-1.1b3/config/system.xml'
>Jan 20, 2004 2:22:32 PM org.apache.xindice.core.Collection setConfig
>WARNING: [main] '/db' setConfig: Error building symbol table from system
>collection
>java.lang.NullPointerException
>       at
>org.apache.xindice.core.Collection.setConfig(Collection.java:1458)
>  
>

Try also deleting old db folder after changing the config. I think you 
can't do such configuration change on the existing database.

Vadim

<snip/>

Reply via email to