Hello,

I am using Xindice 1.1, Tomcat 4.1.27, Red Hat Linux 9.0.

I did not change the default xindice configuration in the system.xml as

root-collection dbroot="./db/" name="db" use-metadata="on">

However, I get the following output in my logs

5644 [main] WARN  org.apache.xindice.server.XindiceServlet  - The database 
'db' root directory has been set to 
/opt/jakarta-tomcat-4.1.27/webapps/xindice/WEB-INF/db. Keep in mind that if a 
war upgrade will take place the database will be lost.
5693 [main] INFO  org.apache.xindice.core.Database  - Database points to 
/opt/jakarta-tomcat-4.1.27/webapps/xindice/WEB-INF/db
5900 [main] INFO  org.apache.xindice.core.Database  - Meta information 
initialized
5900 [main] INFO  org.apache.xindice.server.XindiceServlet  - Database 'db' 
successfully opened
6037 [main] INFO  org.apache.xindice.server.XindiceServlet  - Xindice server 
successfully started
8250 [main] INFO  org.apache.xindice.client.xmldb.embed.DatabaseImpl  - No 
configuration file specified, going with the default configuration
8337 [main] WARN  org.apache.xindice.client.xmldb.embed.DatabaseImpl  - 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.
8411 [main] INFO  org.apache.xindice.core.Database  - Database points to 
/home/jm/db
10610 [main] INFO  org.apache.xindice.client.xmldb.embed.DatabaseImpl  - No 
configuration file specified, going with the default configuration
10615 [main] WARN  org.apache.xindice.client.xmldb.embed.DatabaseImpl  - 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.

Essentially, it creates a db directory in the directory from which I started 
Tomcat - I do not want this to happen and was wondering if there is a 
solution.  The db directory created contains system/SysConfig/SysConfig.tbl 
system/SysSymbols/SysSymbols.tbl - has anybody seen this behaviour before?

Thanks,
Julie.

Reply via email to