Vadim, Thanks for the reply. I checked the system.xml file where I found the "filer" tag. 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?? 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) at org.apache.xindice.core.Database.setConfig(Database.java:302) at org.apache.xindice.core.Database.getDatabase(Database.java:130) at org.apache.xindice.client.xmldb.embed.DatabaseImpl.init(DatabaseImpl.java:14 7) at org.apache.xindice.client.xmldb.embed.DatabaseImpl.<init>(DatabaseImpl.java: 113) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces sorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc torAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at java.lang.Class.newInstance0(Class.java:306) at java.lang.Class.newInstance(Class.java:259) at nxdperftest.DBWrapper.<init>(DBWrapper.java:37) at nxdperftest.TestDriver.<init>(TestDriver.java:44) at nxdperftest.TestDriver.main(TestDriver.java:191) Jan 20, 2004 2:22:32 PM org.apache.xindice.core.Database setConfig INFO: Database points to /home/willipa5/xindice-1.1b3/config/./db Again thanks so much for your help. Paul Willis NGIT -----Original Message----- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 20, 2004 1:41 PM To: xindice-users@xml.apache.org Subject: Re: Config File Questions Willis, Paul A. wrote: >INFO: [main] '/db' Insert document: Message_0 >Unable to add message: Unable to add item do database: Invalid resource: >Message_0: This Collection 'db' cannot store Documents > > <snip/> >It looks like the debug output is saying that I cannot store documents. I >am very confused about how to "prepare" the collection for use and how to >tell xindice where the collection is located?!? > > Paul, Collection can store documents only when collection has filer. By default, root "/db" collection does not have filer (and can not store documents), and all collections you create underneath have a filer and can store documents. You can either create your own collection instead of storing documents in the "/db", or you should change configuration of the "/db" and add filer in there: <collection name="db" ...> <filer class="org.apache.xindice.core.filer.BTreeFiler"/> ... </collection> Hope this helps. Vadim