Bug 34286 - Export from TX XML/file stores to non-TX versions
Summary: Export from TX XML/file stores to non-TX versions
Status: NEW
Alias: None
Product: Slide
Classification: Unclassified
Component: Stores (show other bugs)
Version: Nightly
Hardware: All other
: P3 normal (vote)
Target Milestone: ---
Assignee: Slide Developer List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-04 15:32 UTC by Darren Hartford
Modified: 2005-04-04 07:32 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)