I have searched the archives and have not found a solid example of how
to have multiple stores (separate stores) defined in the Domain.xml
file.
Here is what I am trying to do. I want to create a duplicate "tx" store
that is called "accounting". So I added this
<definition>
<store name="tx">
<nodestore
classname="org.apache.slide.store.txfile.TxXMLFileDescriptorsStore">
<parameter name="rootpath">store/metadata</parameter>
<parameter name="workpath">work/metadata</parameter>
</nodestore>
<securitystore>
<reference store="nodestore"/>
</securitystore>
<lockstore>
<reference store="nodestore"/>
</lockstore>
<revisiondescriptorsstore>
<reference store="nodestore"/>
</revisiondescriptorsstore>
<revisiondescriptorstore>
<reference store="nodestore"/>
</revisiondescriptorstore>
<contentstore
classname="org.apache.slide.store.txfile.TxFileContentStore">
<parameter name="rootpath">store/content</parameter>
<parameter name="workpath">work/content</parameter>
</contentstore>
</store>
<store name="account">
<nodestore
classname="org.apache.slide.store.txfile.TxXMLFileDescriptorsStore">
<parameter name="rootpath">account/store/metadata</parameter>
<parameter name="workpath">account/work/metadata</parameter>
</nodestore>
<securitystore>
<reference store="nodestore"/>
</securitystore>
<lockstore>
<reference store="nodestore"/>
</lockstore>
<revisiondescriptorsstore>
<reference store="nodestore"/>
</revisiondescriptorsstore>
<revisiondescriptorstore>
<reference store="nodestore"/>
</revisiondescriptorstore>
<contentstore
classname="org.apache.slide.store.txfile.TxFileContentStore">
<parameter name="rootpath">account/store/content</parameter>
<parameter name="workpath">account/work/content</parameter>
</contentstore>
</store>
<scope match="/" store="tx"/>
<scope match="/account" store="account"/>
</definition>
not sure what I am missing here. Is there any documentation that address
what I am trying to accomplish.
Thanks,
Ray
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]