cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: Strange db directory
Date Fri, 12 Dec 2003 18:01:59 GMT
Sylvain Wallez wrote:

> 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? 
>>
>
> 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?


Hmmm... There is setProperty() on Database... I guess I'll have to make 
use of it...

Vadim



Mime
View raw message