Klemens,

Thanks for the tip. However, in my installation (I used the tomcat default
windows installation shield), I found the 'system.xml' is actually in
directory (tomcat unzipped the Xindice.war file there)
        c:/.../tomcatdir/webapps/Xindice/WEB-INF

Anyway, after alerting the line
   <root-collection dbroot="./db/" name="db">
to
   <root-collection dbroot="C:/APPS/Tomcat 4.1/db/" name="db">
, the location of database can be specified properly.

To rationalize what happened before, I guess the reason is that I was using
the "start tomcat" shortcut (created by the installation program), which is
located in
        C:\Documents and Settings\Lixin Meng\Start Menu\Programs\Apache Tomcat
JRE or tomcat thought that's the working directory. Since the configuration
say './db/', it caused the confusion.

Again, thanks for helping me out, and I hope above explanation can provide
some hints to whoever can write a better FAQ.

Lixin


-----Original Message-----
From: Dr. Klemens Waldhör [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 24, 2002 10:07 PM
To: [EMAIL PROTECTED]
Subject: AW: database root directory of Xindice 1.1b


In my case the db is used from dbroot="c:/programme/xindice1.1/db/"

I configured this in
c:/.../tomcatdir/work/standalone/localhost/xindice/system.xml.

Klemens

-----Ursprüngliche Nachricht-----
Von: Lixin Meng [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 24. November 2002 00:53
An: [EMAIL PROTECTED]
Betreff: database root directory of Xindice 1.1b


When I run Xindice 1.1b with Tomcat 4.1.12, in Tomcate console, it
shows:

---------------
Nov 23, 2002 3:10:23 PM org.apache.xindice.core.Database setConfig
INFO: Database points to C:\apps\Tomcat 4.1\.\db
Nov 23, 2002 3:10:24 PM org.apache.xindice.server.XindiceServlet init
---------------

However, I found the '\db' is actually created under directory:

------------
C:\Documents and Settings\Lixin Meng\Start Menu\Programs\Apache Tomcat
4.1\
------------

This is the directory where all those Windows menus goes (i.e. [Starts]
-> [Programs] -> [Apache Tomcat 4.1].

Any idea how can change it to somewhere else?

Lixin

Reply via email to