By the way... thanks to everybody for their contributions, they have all
been very helpful in getting me to understand the situation I have got
myself into!!

I (and also the classloader) can't find XMLDescriptorsStore... although
there is a XAFileContentStore class file...  but nothing that specifically
mentions XML, especially with regard to Descriptors.  I have version 1.0.16,
and I know there are newer versions available in CVS etc., is this something
that has been added to one of these, but not the version I have?

There is a FileDescriptorsStoreNoVersioning class... could I conceivably use
that?  Pre-empting the next question, no I don't need versioning!

Cheers guys


-----Original Message-----
From: Oliver Zeigermann [mailto:[EMAIL PROTECTED] 
Sent: 13 August 2003 14:41
To: Slide Users Mailing List
Subject: Re: weird error on file PUT

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]




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

Reply via email to