Vadim Gritsenko wrote:
Thanks Upayavira and Vadim for the answer!
See Upayavira's answer. BTW, I've not yet figured out how to move this ./db under WEB-INF/xdb. Problem is that the only way to pass root DB directory right now is by setting the system property. Now, where should be this system property set? XMLDBSourceFactory? But it is not xindice-specific. Other suggestions?Ehm, we not only start the hsqldb but also an xindice now? Puh!
Now, I think the source factory is wrong place because the db could
run on a different host/different jvm. So perhaps an on xindice server
component that gets this configuration?
I'm totally unaware of how xmldb works, but isn't there an equivalent as JDBC's DriverManager.getConnection(String, Properties) where the properties parameter could hold db-specific configurations?
Sylvain
-- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } Orixo, the opensource XML business alliance - http://www.orixo.com
