Carsten Ziegeler wrote:

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?



That's what I tried to avoid - one more component... And for this component, we will have to create another block, "xindice", right?
...nice thing about embedded driver is that you just call it and it creates DB...


Vadim


Reply via email to