Umm, that's a good question actually. I based this domain.xml on someone elses so am not actually all that sure.

I'll try and investiagte for you if I get a moment (I'm quite bust today), and nobody else has answered by then.


Cheers

Luke.
-----

Stefan Burkard wrote:

great - that's exactly what i meant!

may i ask what you're doing for the revision-stores? if i understand this config right you store it into the database, but with a class that uses/generates xml-files???

that looks interesting because i will receive xml-files each containing metadata to a pdf-file

greetings
stefan



Luke Noel-Storr wrote:

If I understand you correctly - then yes, as this is what I have set up. With my set-up all the content is stored in files, everything else is stored in a database.

Here is the relevant part of my domain.xml:

<definition>
<store name="MySqlStore">
<nodestore classname="org.apache.slide.store.impl.rdbms.JDBCStore">
<parameter name="adapter">org.apache.slide.store.impl.rdbms.MySqlRDBMSAdapter</parameter>


<parameter name="driver">com.mysql.jdbc.Driver</parameter>
<parameter name="url">jdbc:mysql://localhost/slide</parameter>
<parameter name="user">admin</parameter>
<parameter name="dbcpPooling">false</parameter>
<parameter name="maxPooledConnections">10</parameter>
<parameter name="isolation">SERIALIZABLE</parameter>
<parameter name="compress">false</parameter>
</nodestore>
<contentstore classname="org.apache.slide.store.txfile.TxFileContentStore">
<parameter name="rootpath">store2/content</parameter>
<parameter name="workpath">work2/content</parameter>
<!--<reference store="nodestore" />-->
</contentstore>
<securitystore>
<reference store="nodestore" />
</securitystore>
<lockstore>
<reference store="nodestore" />
</lockstore>
<revisiondescriptorsstore classname="org.apache.slide.store.txfile.TxXMLFileDescriptorsStore">
<reference store="nodestore" />
</revisiondescriptorsstore>
<revisiondescriptorstore classname="org.apache.slide.store.txfile.TxXMLFileDescriptorsStore">
<reference store="nodestore" />
</revisiondescriptorstore>
</store>
<scope match="/" store="MySqlStore"/>
</definition>




Stefan Burkard wrote:

hi slide-users

can i define ONE store that has a jdbc-store for the nodestore, a filesystem-store for the content-store and a reference to the jdbc-store on all other substores?

i've seen some examples using jdbc OR filesystem for all substores of ONE store, but no mixed example (just mixed in the term of using two stores - one with all substores as filesystem, one with all substores as jdbc)

thanks and greetings
stefan


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to