Willis, Paul A. wrote:

Hello Everyone,

When I try to start my java application, which tries to connect to
xindice-1.1b3 I get the following debug output:

Jan 20, 2004 9:29:11 AM org.apache.xindice.client.xmldb.embed.DatabaseImpl
loadConfiguration
INFO: No configuration file specified, going with the default configuration
Jan 20, 2004 9:29:13 AM org.apache.xindice.client.xmldb.embed.DatabaseImpl
loadConfiguration
WARNING: The database configuration file is not specified and there was no
xindice.db.home property set, so Xindice was unable to determine a database
location. Database will be created relative to the current directory.
Jan 20, 2004 9:29:14 AM org.apache.xindice.core.Database setConfig
INFO: Database points to /export/home/willipa5/nxdperftest/db


I do know where the database configuration file is located or what info it requires. Any help would be greatly appreciated

Paul Willis
NGIT


There should be a sample file in xml-xindice/config/system.xml. You should refer to that with a system property:
-dxindice.configuration=<path to system.xml>
or, in your code, before you initialise your database: System.setProperty("xindice.configuration", "path-to-system.xml");


In that file is the path to your database. You can also specify the database path with a system property of "xindice.db.home", although I've never used it.

Regards, Upayavira




Reply via email to