You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Darren Hartford <dh...@ghsinc.com> on 2005/04/02 00:02:09 UTC

Optical/RO Stores with Slide?

Hey all,
I have been utilizing the TxXMLFileDescriptorsStore, TxFileContentStore
to save my files.

Now, I want to safely save a store and burn it to CD/DVD, so I do not
need to worry about viruses/corruption.

How do I do this?  When I burn the 'content' and 'metadata' files to CD,
and point the domain.xml store to the new location of 'content' and
'metadata', it comes back with the following error:

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)


Any recommendations please?

-D

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


RE: Optical/RO Stores with Slide?

Posted by Miguel Figueiredo <mf...@maisis.pt>.
Hello Darren,

 I believe you are having read-only problems. First of all, stores should
have read-write access or strange things might happen. In your case, I bet
that the domain.xml file is pointing to the transient files (like
transaction information) also know as the 'work' directory, to the same base
directory of the 'store' directory. This would explain the error you
describe.
 The solution is to define very well these store parameters (presented here
is the default conf of domain.xml):

                    <parameter name="rootpath">store/metadata</parameter>
                    <parameter name="workpath">work/metadata</parameter>

 I don't know how you could do it but: what you want is the rootpath in the
DVD, but you need the workpath with write access for accessing the roothpath
through slide.

 I believe there are also simpler file stores, that don't need to store
transient files (SimpleStore rings me a bell). Perhaps is good spot for you
to search also.

 Hope this helps,
 Miguel Figueiredo

-----Original Message-----
From: Darren Hartford [mailto:dhartford@ghsinc.com] 
Sent: sexta-feira, 1 de Abril de 2005 23:02
To: Slide Users Mailing List
Subject: Optical/RO Stores with Slide?

Hey all,
I have been utilizing the TxXMLFileDescriptorsStore, TxFileContentStore
to save my files.

Now, I want to safely save a store and burn it to CD/DVD, so I do not
need to worry about viruses/corruption.

How do I do this?  When I burn the 'content' and 'metadata' files to CD,
and point the domain.xml store to the new location of 'content' and
'metadata', it comes back with the following error:

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)


Any recommendations please?

-D

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org