Just to try and integrate it with much older discussions:
https://jira.duraspace.org/browse/FCREPO-796
I'm trying to figure out a way to fix it. Like I said before, if I can sort
out how to do it the utility will have to recalculate any checksums of the
content, so this probably also entails adding a 'force' option to the
migration tool.
On Thu, Jul 18, 2013 at 4:25 PM, Benjamin Armintor <[email protected]>wrote:
> This sounds like an issue I vaguely remember in which namespace prefixes
> were defined on the foxml root element, and this was causing some chaos
> down the line when inline XML was parsed in a different context. I'm
> rooting around old commits and JIRA issues trying to track it down- I think
> there was a fix for DC, but I'm wondering if older versions of FCRepo might
> have done the same thing with the rdfs and audit namespaces.
>
> If I'm right, fixing this also means that the akubra migration utility
> will have to recalculate checksums- not much to be done there, the content
> is materially different.
>
> - Ben
>
>
> On Thu, Jul 18, 2013 at 12:21 PM, Benjamin Armintor <[email protected]>wrote:
>
>> Javier:
>> Thanks for your report. I've stubbed out an issue to track this problem
>> at https://jira.duraspace.org/browse/FCREPO-1195. If we can confirm it,
>> we'll try to get a fix into the 3.7 release (expected by the end of July).
>>
>> - Ben
>>
>>
>> On Wed, Jul 17, 2013 at 3:11 AM, Javier Molina <
>> [email protected]> wrote:
>>
>>> Hi all,
>>>
>>> I am working with fscu to try to migrate from legacy to akubra low level
>>> storage.
>>>
>>> I configured both lls appropriately and run the command below.
>>>
>>> /opt/fedora/fedora-3.6/fcrepo-store-util-0.1.0-SNAPSHOT/bin$ ./fcsu copy
>>> legacy akubra
>>>
>>>
>>> Then after sometime (I think it uses a DB to stage the file names to
>>> transfer) I can see messages about the transfer progress, however I see
>>> messages, like the one at the end of the e-mail, very often after some
>>> examination it seems that objects that contain an xml entry for
>>> audit:auditTrail won't work and just be ignored by fscu.
>>>
>>> Has anyone have some advice on how to make fscu work properly with those
>>> entries?
>>>
>>> Thanks,
>>> Javier
>>>
>>>
>>>
>>> WARN Error parsing Fedora object; ignoring: 2009/0325/16/31/changeme_70
>>> java.io.IOException: Error parsing foxml:xmlContent
>>> at
>>> com.github.cwilper.fcrepo.dto.foxml.FOXMLReader.readXMLContent(FOXMLReader.java:220)
>>> ~[fcrepo-dto-foxml-1.1.0-SNAPSHOT.jar:na]
>>> at
>>> com.github.cwilper.fcrepo.dto.foxml.FOXMLReader.readDatastreamVersion(FOXMLReader.java:158)
>>> ~[fcrepo-dto-foxml-1.1.0-SNAPSHOT.jar:na]
>>> at
>>> com.github.cwilper.fcrepo.dto.foxml.FOXMLReader.readDatastream(FOXMLReader.java:128)
>>> ~[fcrepo-dto-foxml-1.1.0-SNAPSHOT.jar:na]
>>> at
>>> com.github.cwilper.fcrepo.dto.foxml.FOXMLReader.readObject(FOXMLReader.java:86)
>>> ~[fcrepo-dto-foxml-1.1.0-SNAPSHOT.jar:na]
>>> at
>>> com.github.cwilper.fcrepo.dto.foxml.FOXMLReader.readObject(FOXMLReader.java:70)
>>> ~[fcrepo-dto-foxml-1.1.0-SNAPSHOT.jar:na]
>>> at
>>> com.github.cwilper.fcrepo.store.legacy.Util.readObject(Util.java:37)
>>> ~[fcrepo-store-legacy-0.1.0-SNAPSHOT.jar:na]
>>> at
>>> com.github.cwilper.fcrepo.store.legacy.LegacyFedoraStore$1.computeNext(LegacyFedoraStore.java:188)
>>> [fcrepo-store-legacy-0.1.0-SNAPSHOT.jar:na]
>>> at
>>> com.github.cwilper.fcrepo.store.legacy.LegacyFedoraStore$1.computeNext(LegacyFedoraStore.java:182)
>>> [fcrepo-store-legacy-0.1.0-SNAPSHOT.jar:na]
>>> at
>>> com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:136)
>>> [guava-collections-r03.jar:na]
>>> at
>>> com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:131)
>>> [guava-collections-r03.jar:na]
>>> at
>>> com.github.cwilper.fcrepo.store.util.commands.BatchObjectCommand.execute(BatchObjectCommand.java:29)
>>> [fcrepo-store-util-0.1.0-SNAPSHOT.jar:na]
>>> at
>>> com.github.cwilper.fcrepo.store.util.StoreUtil.execute(StoreUtil.java:43)
>>> [fcrepo-store-util-0.1.0-SNAPSHOT.jar:na]
>>> at
>>> com.github.cwilper.fcrepo.store.util.StoreUtil.main(StoreUtil.java:51)
>>> [fcrepo-store-util-0.1.0-SNAPSHOT.jar:na]
>>> Caused by: java.io.IOException:
>>> javax.xml.transform.TransformerException:
>>> javax.xml.transform.TransformerException:
>>> com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The prefix
>>> "audit" for element "audit:auditTrail" is not bound.
>>> at
>>> com.github.cwilper.fcrepo.dto.core.io.XMLUtil.prettyPrint(XMLUtil.java:124)
>>> ~[fcrepo-dto-core-1.1.0-SNAPSHOT.jar:na]
>>> at
>>> com.github.cwilper.fcrepo.dto.core.io.XMLUtil.prettyPrint(XMLUtil.java:102)
>>> ~[fcrepo-dto-core-1.1.0-SNAPSHOT.jar:na]
>>> at
>>> com.github.cwilper.fcrepo.dto.core.InlineXML.<init>(InlineXML.java:66)
>>> ~[fcrepo-dto-core-1.1.0-SNAPSHOT.jar:na]
>>> at
>>> com.github.cwilper.fcrepo.dto.foxml.FOXMLReader.readXMLContent(FOXMLReader.java:218)
>>> ~[fcrepo-dto-foxml-1.1.0-SNAPSHOT.jar:na]
>>> ... 12 common frames omitted
>>> Caused by: javax.xml.transform.TransformerException:
>>> javax.xml.transform.TransformerException:
>>> com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The prefix
>>> "audit" for element "audit:auditTrail" is not bound.
>>> at
>>> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:723)
>>> ~[na:1.6.0_27]
>>> at
>>> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:317)
>>> ~[na:1.6.0_27]
>>> at
>>> com.github.cwilper.fcrepo.dto.core.io.XMLUtil.prettyPrint(XMLUtil.java:119)
>>> ~[fcrepo-dto-core-1.1.0-SNAPSHOT.jar:na]
>>> ... 15 common frames omitted
>>> Caused by: javax.xml.transform.TransformerException:
>>> com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The prefix
>>> "audit" for element "audit:auditTrail" is not bound.
>>> at
>>> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getDOM(TransformerImpl.java:550)
>>> ~[na:1.6.0_27]
>>> at
>>> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:713)
>>> ~[na:1.6.0_27]
>>> ... 17 common frames omitted
>>> Caused by:
>>> com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The prefix
>>> "audit" for element "audit:auditTrail" is not bound.
>>> at
>>> com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager.getDTM(XSLTCDTMManager.java:450)
>>> ~[na:1.6.0_27]
>>> at
>>> com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager.getDTM(XSLTCDTMManager.java:238)
>>> ~[na:1.6.0_27]
>>> at
>>> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getDOM(TransformerImpl.java:528)
>>> ~[na:1.6.0_27]
>>> ... 18 common frames omitted
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> See everything from the browser to the database with AppDynamics
>>> Get end-to-end visibility with application monitoring from AppDynamics
>>> Isolate bottlenecks and diagnose root cause in seconds.
>>> Start your free trial of AppDynamics Pro today!
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Fedora-commons-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>>>
>>>
>>
>
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users