Look at the mail which Jelle sent. made the changes to system.xml file in config directory and the problem was resolved.
___________________________________________________________________
Hi Phasant,
This is a something that has been addressed a couple of times already.
Here is an answer I gave before, it should help this time again. The most important thing: it is in the manual....
The warning just tells you it is putting the database in the default
location, which is probably not where you want it.
I found a solution, and other hints in http://www.waldhor.com/xindice.htm
But of course it is also in the manual:
http://xml.apache.org/xindice/faq.html#faq-N100AD
See below, I hope it helps.
Jelle
-------waldhor-----8<-------------
You can change the location of the db by modifying the system.xml in the
tomcat directory ../webapps/xindice/web-inf. I did the following change:
<?xml version="1.0"?>
<!--
- Version: $Revision: 1.8 $ $Date: 2002/11/02 06:23:50 $
- Author: Kimbro Staken ([EMAIL PROTECTED])
-->
<xindice>
<root-collection dbroot="c:/programme/xindice1.1/db/" name="db">
<queryengine>
<resolver autoindex="false"
class="org.apache.xindice.core.query.XPathQueryResolver" />
<resolver
class="org.apache.xindice.core.xupdate.XUpdateQueryResolver" />
</queryengine>
</root-collection>
</xindice>
Now the db should be created and used from the directory
c:/programme/xindice1.1/db/.
Rob Redmon <[EMAIL PROTECTED]> wrote:
Hi, my documents are also getting destroyed (and my database is not within the webapp). Before restarting Tomcat, I have the following collections/docs:
db/system
db/meta
db/spase-203/noaa/ngdc/203_xml_docs_here
After restarting Tomcat (4.1.27), I have left:
db/system
db/meta
db/spase-203/
"noaa/ngdc/203_xml_docs_here" is getting destroyed.
I am running with Xindice version 1.1b4 and Tomcat 4.1.27. I didn't see anything totally obvious in the log.
Thanks,
Rob
prashant sharma wrote:
Hi,I installed xindice 1.1b4 on jboss 3.2.3 and it gets installed fine. Then I created some collections and added some documents in them. This all works fine. The problem is when I restart my server, all the collections and the documents gets destroyed. When jboss server starts, I see a messageDatabase points to C:\jboss-3.2.3\server\default\tmp\deploy\tmp11484xindice.war\WEB-INF\dbI am imagining that since the database points to the tmp directory, its getting destroyed when I reatart my server.Is there a setting I can change to prevent this.thanks
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger-- Rob Redmon NOAA/NGDC 325 Broadway E/GC2 Boulder, Colorado 80305 Tel: (303) 497-4331 Fax: (303) 497-6513 [EMAIL PROTECTED]
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger
