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/>