Hi,

Glad that I could helkp you.

We also found that the db seems to be created in c:/Windows/system32 if
we did not modify the system.xml file specified and start tomcat as a
service.

Klemens

-----Urspr�ngliche Nachricht-----
Von: Lixin Meng [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 25. November 2002 08:13
An: [EMAIL PROTECTED]
Betreff: RE: database root directory of Xindice 1.1b


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