You could use a JDBC store, but this of course requires that you have a RDBMS running. A simple solution would be to use a file store for the node descriptors as well.
In Domain.xml you might want to replace the definition section:


<definition>
 <store name="file">
 <nodestore classname="slidestore.file.XMLFileDescriptorsStore">
  <parameter name="rootpath">nodestore</parameter>
 </nodestore>
 <securitystore>
  <reference store="nodestore"/>
 </securitystore>
 <lockstore>
  <reference store="nodestore"/>
 </lockstore>
 <revisiondescriptorsstore>
  <reference store="nodestore"/>
 </revisiondescriptorsstore>
 <revisiondescriptorstore>
  <reference store="nodestore"/>
 </revisiondescriptorstore>
 <contentstore classname="slidestore.reference.FileContentStore">
  <parameter name="rootpath">contentstore</parameter>
  <parameter name="version">false</parameter>
  <parameter name="resetBeforeStarting">false</parameter>
 </contentstore>
 </store>
 <scope match="/" store="file"/>
</definition>

This will make all your changes persistent. You can also have a look at how the nodes are actually stored as XML (directories will be created relative to the dir where you started tomcat, e.g. /usr/local/tomcat/bin). Might be quite interesting...

Hope this helps,

Oliver



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



Reply via email to