Bug 34286

Summary: Export from TX XML/file stores to non-TX versions
Product: Slide Reporter: Darren Hartford <dhartford>
Component: StoresAssignee: Slide Developer List <slide-dev>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: Nightly   
Target Milestone: ---   
Hardware: All   
OS: other   

Description Darren Hartford 2005-04-04 15:32:20 UTC
TxXMLFileDescriptorsStore
TxFileContentStore

The above are useful in a production environment to generate and continue to add
data to a Slide Store. However, once a Slide Store is 'closed' (i.e. Slide Store
for only one year, like 2004) no way to access this Slide Store from a read-only
medium like CD/DVD.

Recommend a new RoXMLFileDescriptorsStore and RoFileContentStore optimized for
read-only access that the above Tx* versions can easily be exported or swapped
to use.

Also reference Bug # 31756 related to Scope/URI binding seperation directly
related to moving stores to CD/DVD, but not a dependency.


Sample error accessing a TxXMLFileDescriptorStore from a read-only CD that
should be corrected by this bug. Note FileOutputStream error where the Tx* store
is trying to write to the files.def.xml file:

01 Apr 2005 16:52:23 - org.apache.slide.common.Namespace - INFO - Finish init
namespace slide configuration
01 Apr 2005 16:52:23 -
org.apache.commons.transaction.file.FileResourceManager - EMERGENCY - Fatal
error during critical commit/rollback of transaction main-111 2392342717-1,
setting database to dirty.
01 Apr 2005 16:52:23 -
org.apache.commons.transaction.file.FileResourceManager - EMERGENCY -
org.apache.commons.transaction.file.ResourceManagerSystemException:
main-1112392342717-1: Commit failed (ERR_SYSTEM) Caused by:
java.io.FileNotFoundException:
e:\mycdstore\metadata\files.def.xml (Access is denied)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)