Did you change the setting on the system.xml file inside the war?  Since
it is constantly redeployed, it must be set in there.

Just a thought,

Kevin Ross

-----Original Message-----
From: Olivier RICHAUD [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 27, 2003 8:49 AM
To: xindice-users@xml.apache.org
Subject: Changing dbroot attributes in system.xml

Hi all!

I'am having a strange problem changing the dbroot property which is set
to ./b by default in WEB-INF/system.xml. All I want to do is to se this
dbroot attribute to something like d:/xindice/db to point to another
location.

My configuration :
Jboss/jetty 3.2.1 / windows 2003 server / java 1.4

I have installed xindice-1.1b.war in a dedicated Xindice.ear repository
to have the a webapp with /Xindice context root. I have created a dummy
application.xml file to set the context root.

With this configuration out of the box, I have no problem, but when I
restart Jboss, the war file is redeployed and I loose my database. I
decided to change the dbroot property to d:/xindice/db but now :
1. My webapp does not start without any explanation. In fact, it does
not seem to start. I tuned on the full debugging options and I have
nothing.
2. The command line tool crashes, when for example I add a new
collection with xindice -c /db -n xmi, saying:
        Fatal error parsing XML : org.xml.sax.SAXParserException: Open
quote is expected for attribute "BORDER".


Thanks in advance.

Olivier.

Reply via email to