Andrew Thornton wrote:
Upayavira wrote:
Andrew Thornton wrote:
Hi. I'm trying to get the embedded Xindice working with Cocoon 2.1.5
on Jetty. All works fine when starting up the servlet engine, and
I'm able to create and drop collections and resources. However when
I shutdown the servlet engine and restart it I find that I have lost
data from the collections tree. Has anyone got any ideas as to how
to fix this?
(I'm using the standard configuration that comes with Cocoon 2.1.5
for this.)
(a) Make sure you'e not using the Xindice command line tools to
access the same database. That will not work, and you'll find
collections disappearing
Definitely not doing this.
(b) Make sure you don't store the database within Jetty's work
directory. That gets removed each time jetty restarts. Store it
instead, say, in WEB-INF/db
How do you mean? I've tried using the db-home to set it to
/var/xindice/db.
And is that where your DB is? If that is the case, then my guesses are
wrong, and I'm out of ideas :-(
Regards, Upayavira