Christian Mayrhuber wrote:
On Thursday 01 July 2004 10:03, Upayavira wrote:
Rui Alberto L. GonÃalves wrote:
Hi all, I'm trying to use xmldb cocoon block. Things are ok while tomcat is up, but after shutdown and restart tomcat, data inserted in the database is lost. Directories structure remains in the file system, but documents are no longer visible to Xindice.
I've already searched xindice mailing list and I found some posts related to this problem, but none of them helps to solve the problem.
Does anyone had a similar problem using xindice embed with cocoon?
Many thanks.
Are you using the Xindice command line tools too? Xindice databases must only be accessed by one JVM at a time. Thus if you use it in servlet mode, that is your one JVM - everything else talks to the servlet. If however you use embedded mode within Cocoon, that makes Cocoon your one JVM. If you start accessing a database with the command line tools while Cocoon is running, you will find symptoms like you describe - collections that you added disappearing, etc.
Hope that helps.
Upayavira
when in embedded mode must only
Xindice looks like a nearly dead project to me. There have been very few updates in the last half year. What about replacing xindice with generic support for XML databases?
I haven't watched Xindice for a while, although even then things were quiet.
Cocoon isn't Xindice specific. It uses the XMLDB api, which means that you should be able to configure it to work with Exist without too much trouble.
Upayavira
There is for instance eXist which is much more capable than xindice. http://www.exist-db.org/ It is a LGPL project containing some nice cocoon stuff, like http://www.exist-db.org/api/org/exist/cocoon/package-summary.html The most interesting one is the XQueryGenerator ;-)
www.xmldb.org has been substituted by http://xmldb.sourceforge.net/ , to get the development of the xmldb spec going again.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
